JSONLexerRange

* A lazy input range of JSON tokens. * * This range type takes an input string range and converts it into a range of * JSONToken values. * * See lexJSON for more information.

Constructors

this
this(Input input, string filename)

Constructs a new token stream.

Members

Aliases

CharType
alias CharType = dchar
Undocumented in source.
CharType
alias CharType = char
Undocumented in source.
InternalInput
alias InternalInput = typeof(Input.init.representation)
Undocumented in source.
InternalInput
alias InternalInput = Input
Undocumented in source.

Functions

popFront
void popFront()

Skips to the next token.

Properties

empty
bool empty [@property getter]

Determines if the token stream has been exhausted.

front
const(JSONToken!String) front [@property getter]

Returns the current token in the stream.

input
Input input [@property getter]

Returns a copy of the underlying input range.

location
Location location [@property getter]

The current location of the lexer.

Meta