Package jason.asSyntax.parser
Class as2jTokenManager
java.lang.Object
jason.asSyntax.parser.as2jTokenManager
- All Implemented Interfaces:
as2jConstants
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.asSyntax.parser.as2jConstants
ATOM, CHAR, DEFAULT, DIGIT, EOF, LC_LETTER, LETTER, NUMBER, STRING, TK_BEGIN, TK_ELIF, TK_ELSE, TK_END, TK_FALSE, TK_FOR, TK_GOAL_CONDITION, TK_IF, TK_INTDIV, TK_INTMOD, TK_LABEL_AT, TK_LEFT_ARROW, TK_NEG, TK_NOT, TK_NS_SEP, TK_PAND, TK_POR, TK_RULE_SEP, TK_TRUE, TK_WHILE, tokenImage, UNNAMEDVAR, UNNAMEDVARID, UP_LETTER, VAR
-
Constructor Summary
ConstructorDescriptionas2jTokenManager
(SimpleCharStream stream) Constructor.as2jTokenManager
(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
-
as2jTokenManager
Constructor. -
as2jTokenManager
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.
-