directiveToken
fn
Token directiveToken(const Mark start, const Mark end, char[] value,
DirectiveType directive, const uint nameEnd) @safe pure nothrow @nogcConstruct a directive token.
Parameters
start | Start position of the token. |
end | End position of the token. |
value | Value of the token. |
directive | Directive type (YAML or TAG in YAML 1.1). |
nameEnd | Position of the end of the name |