Nodes now remember their scalar and collection style, although
these are not accessible by the user (as the spec says). This allows D:YAML to remember styles between loading and dumping.
This commit is contained in:
parent
c787531497
commit
5d35f44416
23 changed files with 218 additions and 68 deletions
|
@ -85,6 +85,16 @@
|
|||
|
||||
</dd>
|
||||
</dl>
|
||||
</dd>
|
||||
<dt class="d_decl">package ScalarStyle <a name="scalarStyle"></a><span class="ddoc_psymbol">scalarStyle</span>;
|
||||
</dt>
|
||||
<dd><p>Node scalar style. Used to remember style this node was loaded with.</p>
|
||||
|
||||
</dd>
|
||||
<dt class="d_decl">package CollectionStyle <a name="collectionStyle"></a><span class="ddoc_psymbol">collectionStyle</span>;
|
||||
</dt>
|
||||
<dd><p>Node collection style. Used to remember style this node was loaded with.</p>
|
||||
|
||||
</dd>
|
||||
<dt class="d_decl">auto this(T)(T <b>value</b>, in string <b>tag</b> = null);
|
||||
</dt>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue