Class RtgParserTokenManager
java.lang.Object
de.saar.chorus.domgraph.chart.rtgparser.RtgParserTokenManager
- All Implemented Interfaces:
RtgParserConstants
Token Manager.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected charDebug output.protected SimpleCharStreamstatic final String[]Token literal values.static final String[]Lexer state names.Fields inherited from interface de.saar.chorus.domgraph.chart.rtgparser.RtgParserConstants
AUTOMATON, DEFAULT, EOF, FINAL, GOESTO, ID, NUMBER, OPS, STATES, tokenImage, TRANSITIONS -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.RtgParserTokenManager(SimpleCharStream stream, int lexState) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the next Token.protected TokenvoidReInit(SimpleCharStream stream) Reinitialise parser.voidReInit(SimpleCharStream stream, int lexState) Reinitialise parser.voidSet debug output.voidSwitchTo(int lexState) Switch to specified lex state.
-
Field Details
-
debugStream
Debug output. -
jjstrLiteralImages
Token literal values. -
lexStateNames
Lexer state names. -
input_stream
-
curChar
protected char curChar
-
-
Constructor Details
-
RtgParserTokenManager
Constructor. -
RtgParserTokenManager
Constructor.
-
-
Method Details
-
setDebugStream
Set debug output. -
ReInit
Reinitialise parser. -
ReInit
Reinitialise parser. -
SwitchTo
public void SwitchTo(int lexState) Switch to specified lex state. -
jjFillToken
-
getNextToken
Get the next Token.
-