com.nhncorp.neptune.client.shell.insert
Class InsertParserTokenManager

java.lang.Object
  extended by com.nhncorp.neptune.client.shell.insert.InsertParserTokenManager
All Implemented Interfaces:
InsertParserConstants

public class InsertParserTokenManager
extends java.lang.Object
implements InsertParserConstants

Token Manager.


Field Summary
 java.io.PrintStream debugStream
          Debug output.
static java.lang.String[] jjstrLiteralImages
          Token literal values.
static java.lang.String[] lexStateNames
          Lexer state names.
 
Fields inherited from interface com.nhncorp.neptune.client.shell.insert.InsertParserConstants
CLOSE_PAR, COMMA, DEFAULT, DIGIT, END, EOF, EXPONENT, FLOATING_POINT_LITERAL, ID, INSERT, INTEGER_LITERAL, INTO, LETTER, OPEN_PAR, ROWKEY, STRING_LITERAL, tokenImage, VALUES, WHERE
 
Constructor Summary
InsertParserTokenManager(SimpleCharStream stream)
          Constructor.
InsertParserTokenManager(SimpleCharStream stream, int lexState)
          Constructor.
 
Method Summary
 Token getNextToken()
          Get the next Token.
 void ReInit(SimpleCharStream stream)
          Reinitialise parser.
 void ReInit(SimpleCharStream 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
equals, 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.

Constructor Detail

InsertParserTokenManager

public InsertParserTokenManager(SimpleCharStream stream)
Constructor.


InsertParserTokenManager

public InsertParserTokenManager(SimpleCharStream stream,
                                int lexState)
Constructor.

Method Detail

setDebugStream

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


ReInit

public void ReInit(SimpleCharStream stream)
Reinitialise parser.


ReInit

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


SwitchTo

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


getNextToken

public Token getNextToken()
Get the next Token.