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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debugStream
public java.io.PrintStream debugStream
jjstrLiteralImages
public static final java.lang.String[] jjstrLiteralImages
lexStateNames
public static final java.lang.String[] lexStateNames
input_stream
protected SimpleCharStream input_stream
curChar
protected char curChar
CalculatorTokenManager
public CalculatorTokenManager(SimpleCharStream stream)
CalculatorTokenManager
public CalculatorTokenManager(SimpleCharStream stream,
int lexState)
setDebugStream
public void setDebugStream(java.io.PrintStream ds)
ReInit
public void ReInit(SimpleCharStream stream)
ReInit
public void ReInit(SimpleCharStream stream,
int lexState)
SwitchTo
public void SwitchTo(int lexState)
jjFillToken
protected Token jjFillToken()
getNextToken
public Token getNextToken()