Method | Description | |
---|---|---|
Lexer ( TextReader reader ) : System |
Constructs a new lexer instance
|
|
Next ( ) : |
Reads the next token from the lexer
|
Method | Description | |
---|---|---|
_eof ( ) : bool |
Determines whether the lexer is currently at the end of the input
|
|
_nextLine ( ) : void |
Moves the lexer to the next line
|
|
_peekChar ( ) : char |
Peeks at the next character
|
|
_readChar ( ) : char |
Consumes the next character
|
|
_readIdentifierString ( ) : string |
Reads an identifier string
|
|
_readInteger ( ) : string |
Reads an integer token
|
|
_readSymbolString ( ) : string |
Reads a symbol string
|
|
_resolve ( TokenType>.Dictionary |
Resolves a token
|
|
_skipWhiteSpace ( ) : void |
Skips a white space region
|
public Lexer ( TextReader reader ) : System | ||
reader | TextReader | The text reader to parse |
return | System |