Class OQLParser
java.lang.Object
org.eclipse.mat.parser.internal.oql.parser.OQLParser
- All Implemented Interfaces:
OQLParserConstants
-
Field Summary
Modifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from interface org.eclipse.mat.parser.internal.oql.parser.OQLParserConstants
AND, ARRAY, ARRAYLEFT, ARRAYRIGHT, CHARACTER_LITERAL, COLON, COMMA, DECIMAL_LITERAL, DEFAULT, DIVIDE, DOLLAR_SIGN, DOT, EOF, EQ, EXPONENT, FALSE, FLOATING_POINT_LITERAL, FORMAL_COMMENT, GE, GT, HEX_LITERAL, IDENTIFIER, IMPLEMENTS, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INSIDE_COMMENT, INSTANCEOF, INTEGER_LITERAL, LBRACE, LE, LETTER, LONG_LITERAL, LPAREN, LT, MINUS, MULTI_LINE_COMMENT, NATIVE, NE, NULL, OCTAL_LITERAL, OR, PART_LETTER, PLUS, RBRACE, RPAREN, SINGLE_LINE_COMMENT, STAR, START_FORMAL_COMMENT, STRING_LITERAL, TERMINATOR, tokenImage, TRUE
-
Constructor Summary
ConstructorDescriptionOQLParser
(InputStream stream) Constructor with InputStream.OQLParser
(InputStream stream, String encoding) Constructor with InputStream and supplied encodingConstructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal Object
final String
final Object
final Object
final void
Disable tracing.final void
Enable tracing.final Object
final Object
final void
FromClause
(Query q) final void
FromItem
(Query.FromClause fromClause) Generate ParseException.final Token
Get the next Token.final Token
getToken
(int index) Get the specific Token.final Object
final Object
LikeClause
(Object left, boolean isLike) final Object
Literal()
static void
final Object
final Object
NotLikeInClause
(Object left) final Object
final Object
final long
final Object
ObjectFacet
(boolean isFirstInPath) final int
ObjectId()
final List<Expression>
final Query
THE OQL GRAMMAR STARTS HERE *final Query
final Object
final Object
void
ReInit
(InputStream stream) Reinitialise.void
ReInit
(InputStream stream, String encoding) Reinitialise.void
Reinitialise.void
Reinitialise.final Object
final Query.SelectItem
final void
SelectList
(Query q) final Query
void
setCompiler
(ICompiler compiler) final Object
final Object
SubQuery()
final void
UnionClause
(Query q) final void
WhereClause
(Query q)
-
Field Details
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
OQLParser
Constructor with InputStream. -
OQLParser
Constructor with InputStream and supplied encoding -
OQLParser
Constructor. -
OQLParser
Constructor with generated Token Manager.
-
-
Method Details
-
setCompiler
-
main
- Throws:
ParseException
-
ParseQuery
THE OQL GRAMMAR STARTS HERE *- Throws:
ParseException
-
ParseQueryFromInputLine
- Throws:
ParseException
-
SelectStatement
- Throws:
ParseException
-
SelectList
- Throws:
ParseException
-
SelectItem
- Throws:
ParseException
-
PathExpression
- Throws:
ParseException
-
EnvVarPathExpression
- Throws:
ParseException
-
ObjectFacet
- Throws:
ParseException
-
ParameterList
- Throws:
ParseException
-
FromClause
- Throws:
ParseException
-
FromItem
- Throws:
ParseException
-
ClassName
- Throws:
ParseException
-
ObjectAddress
- Throws:
ParseException
-
ObjectId
- Throws:
ParseException
-
WhereClause
- Throws:
ParseException
-
ConditionalOrExpression
- Throws:
ParseException
-
ConditionalAndExpression
- Throws:
ParseException
-
EqualityExpression
- Throws:
ParseException
-
RelationalExpression
- Throws:
ParseException
-
NotLikeInClause
- Throws:
ParseException
-
LikeClause
- Throws:
ParseException
-
InClause
- Throws:
ParseException
-
SimpleExpression
- Throws:
ParseException
-
MultiplicativeExpression
- Throws:
ParseException
-
PrimaryExpression
- Throws:
ParseException
-
SubQuery
- Throws:
ParseException
-
Literal
- Throws:
ParseException
-
NumberLiteral
- Throws:
ParseException
-
BooleanLiteral
- Throws:
ParseException
-
NullLiteral
- Throws:
ParseException
-
UnionClause
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-