simkin
Class ParserTokenManager

java.lang.Object
  |
  +--simkin.ParserTokenManager
All Implemented Interfaces:
ParserConstants

public class ParserTokenManager
extends java.lang.Object
implements ParserConstants


Field Summary
protected  char curChar
           
 java.io.PrintStream debugStream
           
static java.lang.String[] jjstrLiteralImages
           
static java.lang.String[] lexStateNames
           
 
Fields inherited from interface simkin.ParserConstants
AND, ASSIGN, BREAK, CASE, CHARACTER, COLON, COMMA, CONCAT, DEFAULT, DEFAULTCASE, DIGIT, DOT, EACH, ELSE, EOF, FLOAT, FOR, GE, GE_1, GT, GT_1, ID, IF, IN, INTEGER, LBRACE, LBRACKET, LE, LE_1, LETTER, LPAREN, LT, LT_1, MINUS, MOD, NOT, NOTEQUAL, OR, PLUS, RBRACE, RBRACKET, RETURN, RPAREN, SEMICOLON, SLASH, STAR, STEP, STRING, SWITCH, TO, tokenImage, WHILE
 
Constructor Summary
ParserTokenManager(JavaCharStream stream)
           
ParserTokenManager(JavaCharStream stream, int lexState)
           
 
Method Summary
 Token getNextToken()
           
 void ReInit(JavaCharStream stream)
           
 void ReInit(JavaCharStream stream, int lexState)
           
 void setDebugStream(java.io.PrintStream ds)
           
 void SwitchTo(int lexState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debugStream

public java.io.PrintStream debugStream

jjstrLiteralImages

public static final java.lang.String[] jjstrLiteralImages

lexStateNames

public static final java.lang.String[] lexStateNames

curChar

protected char curChar
Constructor Detail

ParserTokenManager

public ParserTokenManager(JavaCharStream stream)

ParserTokenManager

public ParserTokenManager(JavaCharStream stream,
                          int lexState)
Method Detail

setDebugStream

public void setDebugStream(java.io.PrintStream ds)

ReInit

public void ReInit(JavaCharStream stream)

ReInit

public void ReInit(JavaCharStream stream,
                   int lexState)

SwitchTo

public void SwitchTo(int lexState)

getNextToken

public final Token getNextToken()