com.sun.wbem.query
Class WQLParser
java.lang.Object
|
+--com.sun.wbem.query.WQLParser
- public class WQLParser
- extends java.lang.Object
- implements WQLParserConstants
JavaCC specification for a WQL parser for a subset of ANSI SQL
Fields inherited from interface com.sun.wbem.query.WQLParserConstants |
and,
approximateNumericLiteral,
asterisk,
characterStringLiteral,
columnidentifier,
comma,
DEFAULT,
digit,
EOF,
equalsOperator,
escape,
EXPONENT,
FORMAL_COMMENT,
from,
greaterThanOperator,
greaterThanOrEqualsOperator,
identifier,
isa,
leftParen,
lessThanOperator,
lessThanOrEqualsOperator,
letter,
like,
minusSign,
MULTI_LINE_COMMENT,
not,
notEqualsOperator,
or,
period,
plusSign,
rightParen,
select,
SINGLE_LINE_COMMENT,
solidus,
tokenImage,
unsignedInteger,
where |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
token_source
public WQLParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
WQLParser
public WQLParser(java.io.InputStream stream)
WQLParser
public WQLParser(java.io.Reader stream)
WQLParser
public WQLParser(WQLParserTokenManager tm)
main
public static void main(java.lang.String[] args)
sign
public final boolean sign()
throws ParseException
unsignedNumericLiteral
public final NumericValue unsignedNumericLiteral()
throws ParseException
exactNumericLiteral
public final NumericValue exactNumericLiteral()
throws ParseException
columnName
public final java.lang.String columnName()
throws ParseException
signedNumericLiteral
public final NumericValue signedNumericLiteral()
throws ParseException
generalLiteral
public final StringValueExp generalLiteral()
throws ParseException
anyLiteral
public final ValueExp anyLiteral()
throws ParseException
tableName
public final java.lang.String tableName()
throws ParseException
searchConditionOnly
public final QueryExp searchConditionOnly()
throws ParseException
searchCondition
public final QueryExp searchCondition()
throws ParseException
booleanTerm
public final QueryExp booleanTerm()
throws ParseException
booleanFactor
public final QueryExp booleanFactor()
throws ParseException
booleanTest
public final QueryExp booleanTest()
throws ParseException
booleanPrimary
public final QueryExp booleanPrimary()
throws ParseException
relOperation
public final BinaryRelQueryExp relOperation()
throws ParseException
columnReference
public final AttributeExp columnReference()
throws ParseException
querySpecification
public final WQLExp querySpecification()
throws ParseException
selectList
public final SelectList selectList()
throws ParseException
selectSublist
public final AttributeExp selectSublist()
throws ParseException
tableExpression
public final java.lang.Object[] tableExpression()
throws ParseException
tableReference
public final QualifiedAttributeExp tableReference()
throws ParseException
fromClause
public final FromExp fromClause()
throws ParseException
whereClause
public final QueryExp whereClause()
throws ParseException
compOp
public final int compOp()
throws ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(WQLParserTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public final ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()