scalarToken

fnToken scalarToken(const Mark start, const Mark end, char[] value, const ScalarStyle style) @safe pure nothrow @nogc

Construct a scalar token.

Parameters

startStart position of the token.
endEnd position of the token.
valueValue of the token.
styleStyle of the token.