com.hardcode.gdbms.parser
Class SQLEngine

java.lang.Object
  extended by com.hardcode.gdbms.parser.SQLEngine
All Implemented Interfaces:
SQLEngineConstants, SQLEngineTreeConstants

public class SQLEngine
extends java.lang.Object
implements SQLEngineTreeConstants, SQLEngineConstants


Field Summary
 Token jj_nt
           
protected  com.hardcode.gdbms.parser.JJTSQLEngineState jjtree
           
 boolean lookingAhead
           
 Token token
           
 SQLEngineTokenManager token_source
           
 
Fields inherited from interface com.hardcode.gdbms.parser.SQLEngineTreeConstants
jjtNodeName, JJTSQLANDEXPR, JJTSQLBETWEENCLAUSE, JJTSQLCOLREF, JJTSQLCOMPAREEXPR, JJTSQLCOMPAREEXPRRIGHT, JJTSQLCOMPAREOP, JJTSQLCUSTOM, JJTSQLDELETE, JJTSQLEXISTSCLAUSE, JJTSQLFUNCTION, JJTSQLFUNCTIONARGS, JJTSQLGROUPBY, JJTSQLINCLAUSE, JJTSQLINSERT, JJTSQLISCLAUSE, JJTSQLLEFTJOINCLAUSE, JJTSQLLIKECLAUSE, JJTSQLLITERAL, JJTSQLLVALUE, JJTSQLLVALUEELEMENT, JJTSQLLVALUELIST, JJTSQLLVALUETERM, JJTSQLNOTEXPR, JJTSQLORDERBY, JJTSQLORDERBYELEM, JJTSQLORDERBYLIST, JJTSQLORDERDIRECTION, JJTSQLOREXPR, JJTSQLPATTERN, JJTSQLPRODUCTEXPR, JJTSQLRIGHTJOINCLAUSE, JJTSQLSELECT, JJTSQLSELECTCOLS, JJTSQLSELECTLIST, JJTSQLSTATEMENT, JJTSQLSUMEXPR, JJTSQLTABLELIST, JJTSQLTABLEREF, JJTSQLTERM, JJTSQLUNARYEXPR, JJTSQLUNION, JJTSQLUPDATE, JJTSQLUPDATEASSIGNMENT, JJTSQLWHERE
 
Fields inherited from interface com.hardcode.gdbms.parser.SQLEngineConstants
ALL, AND, AS, ASC, ASSIGN, ASTERISK, BEGIN, BETWEEN, BY, CLOSEPAREN, COMMENT_BLOCK, COMMENT_LINE, COMPARISON, CONCAT, CUSTOM, DEFAULT, DELETE, DESC, DIGIT, DISTINCT, DOT, EOF, EQUAL, EXISTS, EXPONENT, FLOATING_POINT_LITERAL, FROM, GREATER, GREATEREQUAL, GROUP, HAVING, ID, IN, INSERT, INTEGER_LITERAL, INTO, IS, JOINPLUS, LESS, LESSEQUAL, LETTER, LIKE, MINUS, NOT, NOTEQUAL, NOTEQUAL2, NULL, OPENPAREN, OR, ORDER, PLUS, QUESTIONMARK, SELECT, SEMICOLON, SET, SLASH, SPACES, STRING_LITERAL, TABLES, TILDE, tokenImage, UNION, UPDATE, VALUES, WHERE
 
Constructor Summary
SQLEngine(java.io.InputStream stream)
           
SQLEngine(java.io.Reader stream)
           
SQLEngine(SQLEngineTokenManager tm)
           
 
Method Summary
 void disable_tracing()
           
 void enable_tracing()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Node getRootNode()
           
 Token getToken(int index)
           
static void main(java.lang.String[] args)
           
 void ReInit(java.io.InputStream stream)
           
 void ReInit(java.io.Reader stream)
           
 void ReInit(SQLEngineTokenManager tm)
           
 void SQLAndExpr()
           
 void SQLBetweenClause()
           
 void SQLColRef()
           
 void SQLCompareExpr()
           
 void SQLCompareExprRight()
           
 void SQLCompareOp()
           
 void SQLCustom()
           
 void SQLDelete()
           
 void SQLExistsClause()
           
 void SQLFunction()
           
 void SQLFunctionArgs()
           
 void SQLGroupBy()
           
 void SQLInClause()
           
 void SQLInsert()
           
 void SQLIsClause()
           
 void SQLLeftJoinClause()
           
 void SQLLikeClause()
           
 void SQLLiteral()
           
 void SQLLvalue()
           
 void SQLLValueElement()
           
 void SQLLValueList()
           
 void SQLLvalueTerm()
           
 void SQLNotExpr()
           
 void SQLOrderBy()
           
 void SQLOrderByElem()
           
 void SQLOrderByList()
           
 void SQLOrderDirection()
           
 void SQLOrExpr()
           
 void SQLPattern()
           
 void SQLProductExpr()
           
 void SQLRightJoinClause()
           
 void SQLSelect()
           
 void SQLSelectCols()
           
 void SQLSelectList()
           
 void SQLStatement()
           
 void SQLSumExpr()
           
 void SQLTableList()
           
 void SQLTableRef()
           
 void SQLTerm()
           
 void SQLUnaryExpr()
           
 void SQLUnion()
           
 void SQLUpdate()
           
 void SQLUpdateAssignment()
           
 void SQLWhere()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jjtree

protected com.hardcode.gdbms.parser.JJTSQLEngineState jjtree

token_source

public SQLEngineTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt

lookingAhead

public boolean lookingAhead
Constructor Detail

SQLEngine

public SQLEngine(java.io.InputStream stream)

SQLEngine

public SQLEngine(java.io.Reader stream)

SQLEngine

public SQLEngine(SQLEngineTokenManager tm)
Method Detail

main

public static void main(java.lang.String[] args)
                 throws ParseException,
                        TokenMgrError,
                        java.io.FileNotFoundException
Throws:
ParseException
TokenMgrError
java.io.FileNotFoundException

getRootNode

public Node getRootNode()

SQLAndExpr

public final void SQLAndExpr()
                      throws ParseException
Throws:
ParseException

SQLBetweenClause

public final void SQLBetweenClause()
                            throws ParseException
Throws:
ParseException

SQLColRef

public final void SQLColRef()
                     throws ParseException
Throws:
ParseException

SQLCompareExpr

public final void SQLCompareExpr()
                          throws ParseException
Throws:
ParseException

SQLCompareExprRight

public final void SQLCompareExprRight()
                               throws ParseException
Throws:
ParseException

SQLCompareOp

public final void SQLCompareOp()
                        throws ParseException
Throws:
ParseException

SQLCustom

public final void SQLCustom()
                     throws ParseException
Throws:
ParseException

SQLDelete

public final void SQLDelete()
                     throws ParseException
Throws:
ParseException

SQLExistsClause

public final void SQLExistsClause()
                           throws ParseException
Throws:
ParseException

SQLFunction

public final void SQLFunction()
                       throws ParseException
Throws:
ParseException

SQLFunctionArgs

public final void SQLFunctionArgs()
                           throws ParseException
Throws:
ParseException

SQLGroupBy

public final void SQLGroupBy()
                      throws ParseException
Throws:
ParseException

SQLInClause

public final void SQLInClause()
                       throws ParseException
Throws:
ParseException

SQLInsert

public final void SQLInsert()
                     throws ParseException
Throws:
ParseException

SQLIsClause

public final void SQLIsClause()
                       throws ParseException
Throws:
ParseException

SQLLeftJoinClause

public final void SQLLeftJoinClause()
                             throws ParseException
Throws:
ParseException

SQLLikeClause

public final void SQLLikeClause()
                         throws ParseException
Throws:
ParseException

SQLLiteral

public final void SQLLiteral()
                      throws ParseException
Throws:
ParseException

SQLLvalue

public final void SQLLvalue()
                     throws ParseException
Throws:
ParseException

SQLLvalueTerm

public final void SQLLvalueTerm()
                         throws ParseException
Throws:
ParseException

SQLNotExpr

public final void SQLNotExpr()
                      throws ParseException
Throws:
ParseException

SQLOrderBy

public final void SQLOrderBy()
                      throws ParseException
Throws:
ParseException

SQLOrderByElem

public final void SQLOrderByElem()
                          throws ParseException
Throws:
ParseException

SQLOrderByList

public final void SQLOrderByList()
                          throws ParseException
Throws:
ParseException

SQLOrderDirection

public final void SQLOrderDirection()
                             throws ParseException
Throws:
ParseException

SQLOrExpr

public final void SQLOrExpr()
                     throws ParseException
Throws:
ParseException

SQLPattern

public final void SQLPattern()
                      throws ParseException
Throws:
ParseException

SQLProductExpr

public final void SQLProductExpr()
                          throws ParseException
Throws:
ParseException

SQLRightJoinClause

public final void SQLRightJoinClause()
                              throws ParseException
Throws:
ParseException

SQLUnion

public final void SQLUnion()
                    throws ParseException
Throws:
ParseException

SQLSelect

public final void SQLSelect()
                     throws ParseException
Throws:
ParseException

SQLSelectCols

public final void SQLSelectCols()
                         throws ParseException
Throws:
ParseException

SQLSelectList

public final void SQLSelectList()
                         throws ParseException
Throws:
ParseException

SQLStatement

public final void SQLStatement()
                        throws ParseException
Throws:
ParseException

SQLSumExpr

public final void SQLSumExpr()
                      throws ParseException
Throws:
ParseException

SQLTableList

public final void SQLTableList()
                        throws ParseException
Throws:
ParseException

SQLTableRef

public final void SQLTableRef()
                       throws ParseException
Throws:
ParseException

SQLTerm

public final void SQLTerm()
                   throws ParseException
Throws:
ParseException

SQLUnaryExpr

public final void SQLUnaryExpr()
                        throws ParseException
Throws:
ParseException

SQLUpdate

public final void SQLUpdate()
                     throws ParseException
Throws:
ParseException

SQLUpdateAssignment

public final void SQLUpdateAssignment()
                               throws ParseException
Throws:
ParseException

SQLLValueElement

public final void SQLLValueElement()
                            throws ParseException
Throws:
ParseException

SQLLValueList

public final void SQLLValueList()
                         throws ParseException
Throws:
ParseException

SQLWhere

public final void SQLWhere()
                    throws ParseException
Throws:
ParseException

ReInit

public void ReInit(java.io.InputStream stream)

ReInit

public void ReInit(java.io.Reader stream)

ReInit

public void ReInit(SQLEngineTokenManager tm)

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

generateParseException

public ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()


Copyright © 2005-2006 . All Rights Reserved.