directiveToken

Construct a directive token.

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

Parameters

end Mark

End position of the token.

value char[]

Value of the token.

directive DirectiveType

Directive type (YAML or TAG in YAML 1.1).

nameEnd uint

Position of the end of the name

Meta