dyaml.composer

Composes nodes from YAML events provided by parser. Code based on PyYAML: http://www.pyyaml.org

struct Composer

Types 1

structComposer

Composes YAML documents from events provided by a Parser.

Methods
bool checkNode() @safeDetermine if there are any nodes left.
Node getNode() @safeGet a YAML document as a node (the root of the document).
inout(string) name() ref inout @safe return pure nothrow @nogcSet file name.
Mark mark() const @safe pure nothrow @nogcGet a mark from the current reader position
Resolver resolver() ref @safe return pure nothrow @nogcGet resolver
Constructors
this(Parser parser, Resolver resolver)Construct a composer.