ua.gradsoft.termware.parsers.terms
Class TermReaderTokenManager

java.lang.Object
  extended by ua.gradsoft.termware.parsers.terms.TermReaderTokenManager
All Implemented Interfaces:
TermReaderConstants

public class TermReaderTokenManager
extends Object
implements TermReaderConstants


Field Summary
protected  char curChar
           
 PrintStream debugStream
           
protected  JavaCharStream input_stream
           
static String[] jjstrLiteralImages
           
static String[] lexStateNames
           
 
Fields inherited from interface ua.gradsoft.termware.parsers.terms.TermReaderConstants
ARGS_DOTS, BIT_AND, BIT_NEGATE, BIT_OR, COMMA, DEFAULT, DIVIDE, DOT, DOUBLE_LITERAL, EOF, EQ, EQ_GREATER, EXPONENT, FALSE, GREATER, GREATER_EQ, IDENT, IN, INTEGER_LITERAL, LEFT_ARROW, LEFT_SHIFT, LESS, LESS_EQ, LOGICAL_AND, LOGICAL_NOT, LOGICAL_OR, MINUS, MOD, MULTIPLY, NAMPERSAND, NEQ, NIL, PLUS, QUESTION, RIGHT_SHIFT, STRING_LITERAL, tokenImage, TRUE, TWO_DIVIDE, TWO_DOTS, TWO_TWO_DOTS, X_LITERAL
 
Constructor Summary
TermReaderTokenManager(JavaCharStream stream)
           
TermReaderTokenManager(JavaCharStream stream, int lexState)
           
 
Method Summary
 Token getNextToken()
           
protected  Token jjFillToken()
           
 void ReInit(JavaCharStream stream)
           
 void ReInit(JavaCharStream stream, int lexState)
           
 void setDebugStream(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 PrintStream debugStream

jjstrLiteralImages

public static final String[] jjstrLiteralImages

lexStateNames

public static final String[] lexStateNames

input_stream

protected JavaCharStream input_stream

curChar

protected char curChar
Constructor Detail

TermReaderTokenManager

public TermReaderTokenManager(JavaCharStream stream)

TermReaderTokenManager

public TermReaderTokenManager(JavaCharStream stream,
                              int lexState)
Method Detail

setDebugStream

public void setDebugStream(PrintStream ds)

ReInit

public void ReInit(JavaCharStream stream)

ReInit

public void ReInit(JavaCharStream stream,
                   int lexState)

SwitchTo

public void SwitchTo(int lexState)

jjFillToken

protected Token jjFillToken()

getNextToken

public Token getNextToken()