Scanner

Generates tokens from data provided by a Reader.

Constructors

this
this(Reader reader)

Construct a Scanner using specified Reader.

Members

Functions

empty
bool empty()

Return whether there are any more tokens left.

front
const(Token) front()

Return the current token

name
void name(string name)

Set file name.

popFront
void popFront()

Advance to the next token

Meta