directiveToken

Construct a directive token.

package
directiveToken
@safe pure nothrow @nogc
(
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).

nameEnd
Type: uint

Position of the end of the name

Meta