Updated docs.

This commit is contained in:
Ferdinand Majerech 2014-08-06 17:13:54 +02:00
parent 6ead027e51
commit d0ac642a6e
17 changed files with 19 additions and 16 deletions

View file

@ -40,9 +40,9 @@
<div id="content">
<h1>dyaml.constructor</h1>
<!-- Generated by Ddoc from dyaml/constructor.d -->
<p>Implements a class that processes YAML mappings, sequences and scalars into
nodes. This can be used to implement custom data types. A tutorial can be
found <a href="../tutorials/custom_types.html">here</a>.</p>
<p>Class that processes YAML mappings, sequences and scalars into nodes. This can be
used to add custom data types. A tutorial can be found
<a href="../tutorials/custom_types.html">here</a>.</p>
<dl><dt class="d_decl"><a name="Constructor"></a>class <a name="Constructor"></a><span class="ddoc_psymbol">Constructor</span>;
</dt>
@ -254,17 +254,17 @@ MyStruct constructMyStructMapping(<span class="d_keyword">ref</span> Node node)
</dd>
</dl>
</dd>
<dt class="d_decl"><a name="constructNull"></a>YAMLNull <a name="constructNull"></a><span class="ddoc_psymbol">constructNull</span>(ref Node <b>node</b>);
<dt class="d_decl"><a name="constructNull"></a>pure nothrow @nogc @safe YAMLNull <a name="constructNull"></a><span class="ddoc_psymbol">constructNull</span>(ref Node <b>node</b>);
</dt>
<dd><p>Construct a null node.</p>
</dd>
<dt class="d_decl"><a name="constructMerge"></a>YAMLMerge <a name="constructMerge"></a><span class="ddoc_psymbol">constructMerge</span>(ref Node <b>node</b>);
<dt class="d_decl"><a name="constructMerge"></a>pure nothrow @nogc @safe YAMLMerge <a name="constructMerge"></a><span class="ddoc_psymbol">constructMerge</span>(ref Node <b>node</b>);
</dt>
<dd><p>Construct a merge node - a node that merges another node into a mapping.</p>
</dd>
<dt class="d_decl"><a name="constructBool"></a>bool <a name="constructBool"></a><span class="ddoc_psymbol">constructBool</span>(ref Node <b>node</b>);
<dt class="d_decl"><a name="constructBool"></a>@safe bool <a name="constructBool"></a><span class="ddoc_psymbol">constructBool</span>(ref Node <b>node</b>);
</dt>
<dd><p>Construct a boolean node.</p>

View file

@ -153,8 +153,9 @@ loader.resolver = resolver;
loaded to memory or a string with YAML data. Note that
buffer <b>will</b> be overwritten, as D:YAML minimizes
memory allocations by reusing the input buffer.
<br>
<b>Must not be deleted or modified by the user as long
as nodes loaded by this Loader are in use!</b> - Nodes may
refer to data in this buffer.
<br>
Note that D:YAML looks for byte-order-marks YAML files encoded in