|
com.rychlik.calculator.parser
Class CalculatorTokenManager
java.lang.Object
|
+--com.rychlik.calculator.parser.CalculatorTokenManager
- All Implemented Interfaces:
- CalculatorConstants
- public class CalculatorTokenManager
- extends java.lang.Object
- implements CalculatorConstants
Fields inherited from interface com.rychlik.calculator.parser.CalculatorConstants |
AND, ASSIGN, BEGIN, BREAK, COMMA, CONSTANT, CONTINUE, DEFAULT, DEFINE, DIGIT, DIVIDE, ELSE, END, EOF, EOL, EQ, EXP, FLOAT, GE, GT, ID, IF, ILLEGAL, INTEGER, LE, LETTER, LPAREN, LT, MINUS, MULTIPLY, NE, OR, PLUS, PRINT, RETURN, RPAREN, SEPARATOR, tokenImage, WHILE |
Method Summary |
com.rychlik.calculator.parser.Token |
getNextToken()
|
void |
ReInit(com.rychlik.calculator.parser.ASCII_CharStream stream)
|
void |
ReInit(com.rychlik.calculator.parser.ASCII_CharStream stream,
int lexState)
|
void |
SwitchTo(int lexState)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jjstrLiteralImages
public static final java.lang.String[] jjstrLiteralImages
lexStateNames
public static final java.lang.String[] lexStateNames
curChar
protected char curChar
CalculatorTokenManager
public CalculatorTokenManager(com.rychlik.calculator.parser.ASCII_CharStream stream)
CalculatorTokenManager
public CalculatorTokenManager(com.rychlik.calculator.parser.ASCII_CharStream stream,
int lexState)
ReInit
public void ReInit(com.rychlik.calculator.parser.ASCII_CharStream stream)
ReInit
public void ReInit(com.rychlik.calculator.parser.ASCII_CharStream stream,
int lexState)
SwitchTo
public void SwitchTo(int lexState)
getNextToken
public final com.rychlik.calculator.parser.Token getNextToken()
|