com.nhncorp.neptune.client.shell.delete
Class DeleteParser

java.lang.Object
  extended by com.nhncorp.neptune.client.shell.delete.DeleteParser
All Implemented Interfaces:
DeleteParserConstants

public class DeleteParser
extends java.lang.Object
implements DeleteParserConstants

Parsing command line.


Field Summary
 Token jj_nt
          Next token.
 Token token
          Current token.
 DeleteParserTokenManager token_source
          Generated Token Manager.
 
Fields inherited from interface com.nhncorp.neptune.client.shell.delete.DeleteParserConstants
CLOSE_PAR, COMMA, DEFAULT, DELETE, DIGIT, END, EOF, EXPONENT, FLOATING_POINT_LITERAL, FROM, ID, INTEGER_LITERAL, LETTER, OPEN_PAR, ROWKEY, STRING_LITERAL, tokenImage, WHERE
 
Constructor Summary
DeleteParser(DeleteParserTokenManager tm)
          Constructor with generated Token Manager.
DeleteParser(java.io.InputStream stream)
          Constructor with InputStream.
DeleteParser(java.io.InputStream stream, java.lang.String encoding)
          Constructor with InputStream and supplied encoding
DeleteParser(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(DeleteQuery query)
           
 void ReInit(DeleteParserTokenManager 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 DeleteParserTokenManager token_source
Generated Token Manager.


token

public Token token
Current token.


jj_nt

public Token jj_nt
Next token.

Constructor Detail

DeleteParser

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


DeleteParser

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


DeleteParser

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


DeleteParser

public DeleteParser(DeleteParserTokenManager tm)
Constructor with generated Token Manager.

Method Detail

parse

public final void parse(DeleteQuery 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(DeleteParserTokenManager 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.