parser
Class AST_Start

java.lang.Object
  extended by parser.SimpleNode
      extended by parser.AST_Start
All Implemented Interfaces:
Node

public class AST_Start
extends SimpleNode

Start node of the AST.


Field Summary
 boolean isHelp
          True if this is the "help" command; false otherwise.
 boolean isQuit
          True if this is an "quit" command; false otherwise.
 boolean isStats
          True if this is the "stats" command; false otherwise.
 
Fields inherited from class parser.SimpleNode
children, id, parent, parser
 
Constructor Summary
AST_Start(int id)
           
AST_Start(MiniSql p, int id)
           
 
Method Summary
 Node getStmt()
          Gets the default statement node.
 int getType()
          Gets the type of the parsed statement.
 
Methods inherited from class parser.SimpleNode
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isHelp

public boolean isHelp
True if this is the "help" command; false otherwise.


isStats

public boolean isStats
True if this is the "stats" command; false otherwise.


isQuit

public boolean isQuit
True if this is an "quit" command; false otherwise.

Constructor Detail

AST_Start

public AST_Start(int id)

AST_Start

public AST_Start(MiniSql p,
                 int id)
Method Detail

getType

public int getType()
Gets the type of the parsed statement.

See Also:
MiniSqlTreeConstants

getStmt

public Node getStmt()
Gets the default statement node.