com.nhncorp.neptune.client.shell.create
Class CreateParser

java.lang.Object
  extended by com.nhncorp.neptune.client.shell.create.CreateParser
All Implemented Interfaces:
CreateParserConstants

public class CreateParser
extends java.lang.Object
implements CreateParserConstants

Parsing command line.


Field Summary
 Token jj_nt
          Next token.
 Token token
          Current token.
 CreateParserTokenManager token_source
          Generated Token Manager.
 
Fields inherited from interface com.nhncorp.neptune.client.shell.create.CreateParserConstants
CLOSE_PAR, COMMA, CREATE, DEFAULT, DIGIT, END, EOF, EXPONENT, FLOATING_POINT_LITERAL, ID, INTEGER_LITERAL, LETTER, OPEN_PAR, STRING_LITERAL, TABLE, tokenImage, VERSION_LIMITS
 
Constructor Summary
CreateParser(CreateParserTokenManager tm)
          Constructor with generated Token Manager.
CreateParser(java.io.InputStream stream)
          Constructor with InputStream.
CreateParser(java.io.InputStream stream, java.lang.String encoding)
          Constructor with InputStream and supplied encoding
CreateParser(java.io.Reader stream)
          Constructor.
 
Method Summary
 void disable_tracing()
          Disable tracing.
 void enable_tracing()
          Enable tracing.
 ParseException generateParseException()
          Generate ParseException.
 Token getNextToken()
          Get the next Token.
 Token getToken(int index)
          Get the specific Token.
 void parse(CreateQuery query)
           
 void ReInit(CreateParserTokenManager tm)
          Reinitialise.
 void ReInit(java.io.InputStream stream)
          Reinitialise.
 void ReInit(java.io.InputStream stream, java.lang.String encoding)
          Reinitialise.
 void ReInit(java.io.Reader stream)
          Reinitialise.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public CreateParserTokenManager token_source
Generated Token Manager.


token

public Token token
Current token.


jj_nt

public Token jj_nt
Next token.

Constructor Detail

CreateParser

public CreateParser(java.io.InputStream stream)
Constructor with InputStream.


CreateParser

public CreateParser(java.io.InputStream stream,
                    java.lang.String encoding)
Constructor with InputStream and supplied encoding


CreateParser

public CreateParser(java.io.Reader stream)
Constructor.


CreateParser

public CreateParser(CreateParserTokenManager tm)
Constructor with generated Token Manager.

Method Detail

parse

public final void parse(CreateQuery query)
                 throws ParseException
Throws:
ParseException

ReInit

public void ReInit(java.io.InputStream stream)
Reinitialise.


ReInit

public void ReInit(java.io.InputStream stream,
                   java.lang.String encoding)
Reinitialise.


ReInit

public void ReInit(java.io.Reader stream)
Reinitialise.


ReInit

public void ReInit(CreateParserTokenManager tm)
Reinitialise.


getNextToken

public final Token getNextToken()
Get the next Token.


getToken

public final Token getToken(int index)
Get the specific Token.


generateParseException

public ParseException generateParseException()
Generate ParseException.


enable_tracing

public final void enable_tracing()
Enable tracing.


disable_tracing

public final void disable_tracing()
Disable tracing.