ExpTokenManager

Token Manager. This class was automatically generated by JavaCC, only few manual fixes added.

Constructors

Link copied to clipboard
constructor(stream: SimpleCharStream)
Constructor.
constructor(stream: SimpleCharStream, lexState: Int)
Constructor.

Properties

Link copied to clipboard
val ADD: Int = 9
RegularExpression Id.
Link copied to clipboard
val COMP: Int = 12
RegularExpression Id.
Link copied to clipboard
Debug output.
Link copied to clipboard
val DEF: Int = 11
RegularExpression Id.
Link copied to clipboard
val DEFAULT: Int = 0
Lexical state.
Link copied to clipboard
val DEL: Int = 10
RegularExpression Id.
Link copied to clipboard
val EOF: Int = 0
End of File.
Link copied to clipboard
Token literal values.
Link copied to clipboard
Lexer state names.
Link copied to clipboard
val LISTCOMP: Int = 13
RegularExpression Id.
Link copied to clipboard
val LIT: Int = 17
RegularExpression Id.
Link copied to clipboard
val MAX: Int = 8
RegularExpression Id.
Link copied to clipboard
val MIN: Int = 7
RegularExpression Id.
Link copied to clipboard
val NUM: Int = 15
RegularExpression Id.
Link copied to clipboard
val RETURN: Int = 6
RegularExpression Id.
Link copied to clipboard
Literal token values.
Link copied to clipboard
val UNARYLISTCOMP: Int = 14
RegularExpression Id.
Link copied to clipboard
val VAR: Int = 16
RegularExpression Id.

Functions

Link copied to clipboard
open fun getNextToken(): Token
Get the next Token.
Link copied to clipboard
open fun ReInit(stream: SimpleCharStream)
open fun ReInit(stream: SimpleCharStream, lexState: Int)
Reinitialise parser.
Link copied to clipboard
Set debug output.
Link copied to clipboard
open fun SwitchTo(lexState: Int)
Switch to specified lex state.