com.singularsys.jep.parser
Class JccParserTokenManager

java.lang.Object
  extended by com.singularsys.jep.parser.JccParserTokenManager
All Implemented Interfaces:
JccParserConstants

public class JccParserTokenManager
extends java.lang.Object
implements JccParserConstants

Token Manager.


Field Summary
protected  char curChar
           
 java.io.PrintStream debugStream
          Debug output.
protected  JavaCharStream input_stream
           
static int[] jjnewLexState
          Lex State array.
static java.lang.String[] jjstrLiteralImages
          Token literal values.
static java.lang.String[] lexStateNames
          Lexer state names.
 
Fields inherited from interface com.singularsys.jep.parser.JccParserConstants
AND, ASSIGN, COLON, COMMA, CROSS, DECIMAL_LITERAL, DEFAULT, DIGIT1, DIGIT2, DIV, DOT, EOF, EQ, EXPONENT, FLOATING_POINT_LITERAL, GE, GT, INDENTIFIER1, INDENTIFIER2, INTEGER_LITERAL, LE, LETTER1, LETTER2, LRND, LSQ, LT, MINUS, MOD, MUL, NE, NO_DOT_IN_IDENTIFIERS, NOT, OR, PLUS, POWER, RRND, RSQ, SEMI, STRING_LITERAL, tokenImage
 
Constructor Summary
JccParserTokenManager(JavaCharStream stream)
          Constructor.
JccParserTokenManager(JavaCharStream stream, int lexState)
          Constructor.
 
Method Summary
 Token getNextToken()
          Get the next Token.
protected  Token jjFillToken()
           
 void ReInit(JavaCharStream stream)
          Reinitialise parser.
 void ReInit(JavaCharStream stream, int lexState)
          Reinitialise parser.
 void setDebugStream(java.io.PrintStream ds)
          Set debug output.
 void SwitchTo(int lexState)
          Switch to specified lex state.
 
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
Debug output.


jjstrLiteralImages

public static final java.lang.String[] jjstrLiteralImages
Token literal values.


lexStateNames

public static final java.lang.String[] lexStateNames
Lexer state names.


jjnewLexState

public static final int[] jjnewLexState
Lex State array.


input_stream

protected JavaCharStream input_stream

curChar

protected char curChar
Constructor Detail

JccParserTokenManager

public JccParserTokenManager(JavaCharStream stream)
Constructor.


JccParserTokenManager

public JccParserTokenManager(JavaCharStream stream,
                             int lexState)
Constructor.

Method Detail

setDebugStream

public void setDebugStream(java.io.PrintStream ds)
Set debug output.


ReInit

public void ReInit(JavaCharStream stream)
Reinitialise parser.


ReInit

public void ReInit(JavaCharStream stream,
                   int lexState)
Reinitialise parser.


SwitchTo

public void SwitchTo(int lexState)
Switch to specified lex state.


jjFillToken

protected Token jjFillToken()

getNextToken

public Token getNextToken()
Get the next Token.



Copyright © 2010 Singular Systems http://www.singularsys.com/jep