dyaml.hacks

Functionality that may sometimes be needed but allows unsafe or unstandard behavior, and should only be used in specific cases.

Members

Functions

collectionStyleHack
CollectionStyle collectionStyleHack(ref const(Node) node)

Get the collection style a YAML node had in the file it was loaded from.

collectionStyleHack
void collectionStyleHack(ref Node node, const CollectionStyle rhs)

Set the collection style node should have when written to a file.

scalarStyleHack
ScalarStyle scalarStyleHack(ref const(Node) node)

Get the scalar style a node had in the file it was loaded from.

scalarStyleHack
void scalarStyleHack(ref Node node, const ScalarStyle rhs)

Set the scalar style node should have when written to a file.

Meta