directiveToken

Construct a directive token.

package @safe pure nothrow @nogc
directiveToken
(
const Mark start
,
const Mark end
,
char[] value
,,
const uint nameEnd
)

Parameters

end
Type: Mark

End position of the token.

value
Type: char[]

Value of the token.

directive

Directive type (YAML or TAG in YAML 1.1).

Meta