Class ExpTokenManager
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.sapere.dsl.parser.ExpConstants
public class ExpTokenManager implements ExpConstants
Token Manager. This class was automatically generated by JavaCC, only few manual fixes added.
-
-
Field Summary
Fields Modifier and Type Field Description public PrintStream
debugStream
public final static Array<String>
jjstrLiteralImages
public final static Array<String>
lexStateNames
public final static int
EOF
public final static int
RETURN
public final static int
MIN
public final static int
MAX
public final static int
ADD
public final static int
DEL
public final static int
DEF
public final static int
COMP
public final static int
LISTCOMP
public final static int
UNARYLISTCOMP
public final static int
NUM
public final static int
VAR
public final static int
LIT
public final static int
DEFAULT
public final static Array<String>
tokenImage
-
Constructor Summary
Constructors Constructor Description ExpTokenManager(SimpleCharStream stream)
Constructor. ExpTokenManager(SimpleCharStream stream, int lexState)
Constructor.
-
Method Summary
Modifier and Type Method Description void
setDebugStream(PrintStream ds)
Set debug output. void
ReInit(SimpleCharStream stream)
Reinitialise parser. void
ReInit(SimpleCharStream stream, int lexState)
Reinitialise parser. void
SwitchTo(int lexState)
Switch to specified lex state. Token
getNextToken()
Get the next Token. -
-
Constructor Detail
-
ExpTokenManager
ExpTokenManager(SimpleCharStream stream)
Constructor.
-
ExpTokenManager
ExpTokenManager(SimpleCharStream stream, int lexState)
Constructor.
-
-
Method Detail
-
setDebugStream
void setDebugStream(PrintStream ds)
Set debug output.
-
ReInit
void ReInit(SimpleCharStream stream)
Reinitialise parser.
-
ReInit
void ReInit(SimpleCharStream stream, int lexState)
Reinitialise parser.
-
SwitchTo
void SwitchTo(int lexState)
Switch to specified lex state.
-
getNextToken
Token getNextToken()
Get the next Token.
-
-
-
-