Package org.openlca.expressions
Class FormulaParserTokenManager
java.lang.Object
org.openlca.expressions.FormulaParserTokenManager
- All Implemented Interfaces:
FormulaParserConstants
Token Manager.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected charDebug output.protected SimpleCharStreamstatic final String[]Token literal values.static final String[]Lexer state names. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.FormulaParserTokenManager(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
-
FormulaParserTokenManager
Constructor. -
FormulaParserTokenManager
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.
-