Math 302, Differential Equations JHU


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


Field Summary
protected  char curChar
           
static java.lang.String[] jjstrLiteralImages
           
static java.lang.String[] lexStateNames
           
 
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
 
Constructor Summary
CalculatorTokenManager(com.rychlik.calculator.parser.ASCII_CharStream stream)
           
CalculatorTokenManager(com.rychlik.calculator.parser.ASCII_CharStream stream, int lexState)
           
 
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
 

Field Detail

jjstrLiteralImages

public static final java.lang.String[] jjstrLiteralImages

lexStateNames

public static final java.lang.String[] lexStateNames

curChar

protected char curChar
Constructor Detail

CalculatorTokenManager

public CalculatorTokenManager(com.rychlik.calculator.parser.ASCII_CharStream stream)

CalculatorTokenManager

public CalculatorTokenManager(com.rychlik.calculator.parser.ASCII_CharStream stream,
                              int lexState)
Method Detail

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()



This page last modified Sun Sep 12 12:29:17 2004
Questions? Comments? Please send feedback to jason howald