GrLexer

The lexer scans the entire file and all the imported files it references.

Members

Functions

getFile
string getFile(GrLexeme lex)
string getFile(size_t fileId)

Fetch the file where a lexeme is.

getLine
string getLine(GrLexeme lex)

Fetch the entire line where a lexeme is.

scanFile
void scanFile(string fileName)

Start scanning the root file and all its dependencies.

scanString
void scanString()

Scan a " delimited string.

Properties

lexemes
GrLexeme[] lexemes [@property getter]

Generated tokens.

Meta