org.jscience.ml.sbml.jep
Class ParserTokenManager

java.lang.Object
  extended by org.jscience.ml.sbml.jep.ParserTokenManager
All Implemented Interfaces:
ParserConstants

public class ParserTokenManager
extends java.lang.Object
implements ParserConstants

DOCUMENT ME!


Field Summary
protected  char curChar
          DOCUMENT ME!
 java.io.PrintStream debugStream
          DOCUMENT ME!
static java.lang.String[] jjstrLiteralImages
          DOCUMENT ME!
static java.lang.String[] lexStateNames
          DOCUMENT ME!
 
Fields inherited from interface org.jscience.ml.sbml.jep.ParserConstants
AND, DECIMAL_LITERAL, DEFAULT, DIGIT, DIV, ELSE, ELSEIF, EOF, EQ, ESC, ESCAP, EXPONENT, FALSE, FLOATING_POINT_LITERAL, GE, GT, IDENTIFIER, IF, INTEGER_LITERAL, LE, LETTER, LT, MINUS, MUL, NE, NOT, OR, PLUS, POWER, THEN, tokenImage, TRUE, XOR
 
Constructor Summary
ParserTokenManager(JavaCharStream stream)
          Creates a new ParserTokenManager object.
ParserTokenManager(JavaCharStream stream, int lexState)
          Creates a new ParserTokenManager object.
 
Method Summary
 Token getNextToken()
          DOCUMENT ME!
 void ReInit(JavaCharStream stream)
          DOCUMENT ME!
 void ReInit(JavaCharStream stream, int lexState)
          DOCUMENT ME!
 void setDebugStream(java.io.PrintStream ds)
          DOCUMENT ME!
 void SwitchTo(int lexState)
          DOCUMENT ME!
 
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
DOCUMENT ME!


lexStateNames

public static final java.lang.String[] lexStateNames
DOCUMENT ME!


debugStream

public java.io.PrintStream debugStream
DOCUMENT ME!


curChar

protected char curChar
DOCUMENT ME!

Constructor Detail

ParserTokenManager

public ParserTokenManager(JavaCharStream stream)
Creates a new ParserTokenManager object.

Parameters:
stream - DOCUMENT ME!

ParserTokenManager

public ParserTokenManager(JavaCharStream stream,
                          int lexState)
Creates a new ParserTokenManager object.

Parameters:
stream - DOCUMENT ME!
lexState - DOCUMENT ME!
Method Detail

ReInit

public void ReInit(JavaCharStream stream)
DOCUMENT ME!

Parameters:
stream - DOCUMENT ME!

ReInit

public void ReInit(JavaCharStream stream,
                   int lexState)
DOCUMENT ME!

Parameters:
stream - DOCUMENT ME!
lexState - DOCUMENT ME!

SwitchTo

public void SwitchTo(int lexState)
DOCUMENT ME!

Parameters:
lexState - DOCUMENT ME!
Throws:
TokenMgrError - DOCUMENT ME!

getNextToken

public final Token getNextToken()
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
TokenMgrError - DOCUMENT ME!

setDebugStream

public void setDebugStream(java.io.PrintStream ds)
DOCUMENT ME!

Parameters:
ds - DOCUMENT ME!