vishnu.parser
Class SQLSubsetParser
java.lang.Object
vishnu.parser.SQLSubsetParser
- All Implemented Interfaces:
- SQLSubsetParserConstants
public class SQLSubsetParser
- extends java.lang.Object
- implements SQLSubsetParserConstants
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public SQLSubsetParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
SQLSubsetParser
public SQLSubsetParser(java.io.InputStream stream)
SQLSubsetParser
public SQLSubsetParser(java.io.Reader stream)
SQLSubsetParser
public SQLSubsetParser(SQLSubsetParserTokenManager tm)
getSQLStatement
public SQLStatement getSQLStatement()
main
public static void main(java.lang.String[] args)
throws ParseException
- Throws:
ParseException
Input
public final void Input()
throws ParseException
- Throws:
ParseException
SingleDeleteStatement
public final SQLStatement SingleDeleteStatement()
throws ParseException
- Throws:
ParseException
SingleUpdateStatement
public final SQLStatement SingleUpdateStatement()
throws ParseException
- Throws:
ParseException
CreateUserStatement
public final SQLStatement CreateUserStatement()
throws ParseException
- Throws:
ParseException
InsertStatement
public final SQLStatement InsertStatement()
throws ParseException
- Throws:
ParseException
TransactionStatement
public final SQLStatement TransactionStatement()
throws ParseException
- Throws:
ParseException
CreateIndexStatement
public final SQLStatement CreateIndexStatement()
throws ParseException
- Throws:
ParseException
IndexType
public final java.lang.String IndexType()
throws ParseException
- Throws:
ParseException
IndexStructure
public final java.lang.String IndexStructure()
throws ParseException
- Throws:
ParseException
MultipleInsertStatement
public final SQLStatement MultipleInsertStatement()
throws ParseException
- Throws:
ParseException
ValueList
public final void ValueList()
throws ParseException
- Throws:
ParseException
SelectStatement
public final SelectStatement SelectStatement()
throws ParseException
- Throws:
ParseException
CreateTableStatement
public final SQLStatement CreateTableStatement()
throws ParseException
- Throws:
ParseException
TableFields
public final void TableFields()
throws ParseException
- Throws:
ParseException
PrimaryKeyDeclaration
public final void PrimaryKeyDeclaration()
throws ParseException
- Throws:
ParseException
TableFieldDeclaration
public final void TableFieldDeclaration()
throws ParseException
- Throws:
ParseException
TableFieldType
public final ValueClass TableFieldType()
throws ParseException
- Throws:
ParseException
ConditionalExpression
public final SQLConditionalExpression ConditionalExpression()
throws ParseException
- Throws:
ParseException
BinaryExpression
public final SQLOperand BinaryExpression()
throws ParseException
- Throws:
ParseException
RightExpression
public final SQLOperand RightExpression()
throws ParseException
- Throws:
ParseException
BooleanOperand
public final SQLOperand BooleanOperand()
throws ParseException
- Throws:
ParseException
InOperand
public final SQLOperand InOperand()
throws ParseException
- Throws:
ParseException
LessOperand
public final SQLOperand LessOperand()
throws ParseException
- Throws:
ParseException
LessOrEqualOperand
public final SQLOperand LessOrEqualOperand()
throws ParseException
- Throws:
ParseException
GreaterOperand
public final SQLOperand GreaterOperand()
throws ParseException
- Throws:
ParseException
NotEqualOperand
public final SQLOperand NotEqualOperand()
throws ParseException
- Throws:
ParseException
GreaterOrEqualOperand
public final SQLOperand GreaterOrEqualOperand()
throws ParseException
- Throws:
ParseException
EqualOperand
public final SQLOperand EqualOperand()
throws ParseException
- Throws:
ParseException
TokenConstant
public final SQLConstant TokenConstant()
throws ParseException
- Throws:
ParseException
Attribute
public final SQLAttribute Attribute()
throws ParseException
- Throws:
ParseException
comparableOperand
public final SQLOperand comparableOperand()
throws ParseException
- Throws:
ParseException
valueMap
public final java.util.Map valueMap()
throws ParseException
- Throws:
ParseException
ColumnNames
public final java.util.List ColumnNames()
throws ParseException
- Throws:
ParseException
TableNames
public final java.util.List TableNames()
throws ParseException
- Throws:
ParseException
ColumnName
public final java.lang.String ColumnName()
throws ParseException
- Throws:
ParseException
TableName
public final java.lang.String TableName()
throws ParseException
- Throws:
ParseException
MatchedBraces
public final void MatchedBraces()
throws ParseException
- Throws:
ParseException
TokenSelect
public final void TokenSelect()
throws ParseException
- Throws:
ParseException
TokenFrom
public final void TokenFrom()
throws ParseException
- Throws:
ParseException
TokenWhere
public final void TokenWhere()
throws ParseException
- Throws:
ParseException
TokenAnd
public final java.lang.String TokenAnd()
throws ParseException
- Throws:
ParseException
TokenOr
public final java.lang.String TokenOr()
throws ParseException
- Throws:
ParseException
TokenNot
public final java.lang.String TokenNot()
throws ParseException
- Throws:
ParseException
TokenTrue
public final SQLConstant TokenTrue()
throws ParseException
- Throws:
ParseException
TokenFalse
public final SQLConstant TokenFalse()
throws ParseException
- Throws:
ParseException
TokenNotEqual
public final void TokenNotEqual()
throws ParseException
- Throws:
ParseException
TokenEqual
public final void TokenEqual()
throws ParseException
- Throws:
ParseException
TokenLess
public final void TokenLess()
throws ParseException
- Throws:
ParseException
TokenLessOrEqual
public final void TokenLessOrEqual()
throws ParseException
- Throws:
ParseException
TokenGreater
public final void TokenGreater()
throws ParseException
- Throws:
ParseException
TokenGreaterOrEqual
public final void TokenGreaterOrEqual()
throws ParseException
- Throws:
ParseException
TokenIdentifier
public final java.lang.String TokenIdentifier()
throws ParseException
- Throws:
ParseException
TokenInteger
public final int TokenInteger()
throws ParseException
- Throws:
ParseException
TokenNumeric
public final double TokenNumeric()
throws ParseException
- Throws:
ParseException
TokenChar
public final java.lang.String TokenChar()
throws ParseException
- Throws:
ParseException
TokenSet
public final void TokenSet()
throws ParseException
- Throws:
ParseException
TokenUpdate
public final void TokenUpdate()
throws ParseException
- Throws:
ParseException
TokenTable
public final void TokenTable()
throws ParseException
- Throws:
ParseException
TokenDelete
public final void TokenDelete()
throws ParseException
- Throws:
ParseException
TokenBegin
public final void TokenBegin()
throws ParseException
- Throws:
ParseException
TokenAbort
public final void TokenAbort()
throws ParseException
- Throws:
ParseException
TokenCommit
public final void TokenCommit()
throws ParseException
- Throws:
ParseException
TokenTransaction
public final void TokenTransaction()
throws ParseException
- Throws:
ParseException
TokenUser
public final void TokenUser()
throws ParseException
- Throws:
ParseException
TokenCreate
public final void TokenCreate()
throws ParseException
- Throws:
ParseException
TokenOn
public final void TokenOn()
throws ParseException
- Throws:
ParseException
TokenNull
public final boolean TokenNull()
throws ParseException
- Throws:
ParseException
TokenIndex
public final void TokenIndex()
throws ParseException
- Throws:
ParseException
TokenUsing
public final void TokenUsing()
throws ParseException
- Throws:
ParseException
TokenIn
public final void TokenIn()
throws ParseException
- Throws:
ParseException
TokenAllColumns
public final void TokenAllColumns()
throws ParseException
- Throws:
ParseException
TokenInsertInto
public final void TokenInsertInto()
throws ParseException
- Throws:
ParseException
TokenValues
public final void TokenValues()
throws ParseException
- Throws:
ParseException
TokenCreateTable
public final void TokenCreateTable()
throws ParseException
- Throws:
ParseException
TokenPrimaryKey
public final void TokenPrimaryKey()
throws ParseException
- Throws:
ParseException
TokenOpenParentesis
public final void TokenOpenParentesis()
throws ParseException
- Throws:
ParseException
TokenCloseParentesis
public final void TokenCloseParentesis()
throws ParseException
- Throws:
ParseException
TokenSpace
public final void TokenSpace()
throws ParseException
- Throws:
ParseException
TokenSpaces
public final void TokenSpaces()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(SQLSubsetParserTokenManager 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()