Package jason.mas2j.parser
Class mas2jTokenManager
java.lang.Object
jason.mas2j.parser.mas2jTokenManager
- All Implemented Interfaces:
mas2jConstants
Token Manager.
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
Debug output.protected SimpleCharStream
static final String[]
Token literal values.static final String[]
Lexer state names.Fields inherited from interface jason.mas2j.parser.mas2jConstants
AGS, ASAGARCHCLASS, ASAGCLASS, ASID, ASOBOOL, ASOEE, ASOEEV, ASOIB, ASOIBV, ASONRC, ASOSYNC, ASOV, AT, BBCLASS, CLASSPATH, CONTROL, DEFAULT, DIGIT, DIRECTIVE, DRIVER, ENV, EOF, ID, INFRA, LC_LETTER, LETTER, MAS, NUMBER, PATH, SOURCEPATH, STRING, tokenImage, UP_LETTER
-
Constructor Summary
ConstructorDescriptionmas2jTokenManager
(SimpleCharStream stream) Constructor.mas2jTokenManager
(SimpleCharStream stream, int lexState) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the next Token.protected Token
void
ReInit
(SimpleCharStream stream) Reinitialise parser.void
ReInit
(SimpleCharStream stream, int lexState) Reinitialise parser.void
Set debug output.void
SwitchTo
(int lexState) Switch to specified lex state.
-
Field Details
-
debugStream
Debug output. -
jjstrLiteralImages
Token literal values. -
lexStateNames
Lexer state names. -
input_stream
-
curChar
protected int curChar
-
-
Constructor Details
-
mas2jTokenManager
Constructor. -
mas2jTokenManager
Constructor.
-
-
Method Details
-
setDebugStream
Set debug output. -
jjFillToken
-
getNextToken
Get the next Token. -
ReInit
Reinitialise parser. -
ReInit
Reinitialise parser. -
SwitchTo
public void SwitchTo(int lexState) Switch to specified lex state.
-