public class Parser extends Object implements ParserConstants
| Modifier and Type | Field and Description |
|---|---|
FunctionResolver |
functionResolver |
Token |
jj_nt |
boolean |
lookingAhead |
Token |
token |
ParserTokenManager |
token_source |
AND, BLOCK_COMMENT, DECIMAL_LITERAL, DEFAULT, EOF, EXPONENT, FALSE, FLOATING_POINT_LITERAL, HEX_LITERAL, ID, LINE_COMMENT, NULL, OCTAL_LITERAL, OR, STRING_LITERAL, tokenImage, TRUE, VARIABLE, ZERO| Constructor and Description |
|---|
Parser(InputStream stream) |
Parser(InputStream stream,
String encoding) |
Parser(ParserTokenManager tm) |
Parser(Reader stream) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
addExpression() |
Expression |
andExpression() |
Expression |
comparisonExpression() |
void |
disable_tracing() |
void |
enable_tracing() |
Expression |
equalityExpression() |
Expression |
functionExpr() |
ParseException |
generateParseException() |
Token |
getNextToken() |
Token |
getToken(int index) |
ConstantExpression |
literal() |
Expression |
multExpr() |
Expression |
orExpression() |
Expression |
parse() |
Expression |
primaryExpr() |
void |
ReInit(InputStream stream) |
void |
ReInit(InputStream stream,
String encoding) |
void |
ReInit(ParserTokenManager tm) |
void |
ReInit(Reader stream) |
String |
stringLiteral() |
Expression |
unaryExpr() |
VariableExpression |
variable() |
public FunctionResolver functionResolver
public ParserTokenManager token_source
public Token token
public Token jj_nt
public boolean lookingAhead
public Parser(InputStream stream)
public Parser(InputStream stream, String encoding)
public Parser(Reader stream)
public Parser(ParserTokenManager tm)
public final Expression parse() throws ParseException
ParseExceptionpublic final Expression orExpression() throws ParseException
ParseExceptionpublic final Expression andExpression() throws ParseException
ParseExceptionpublic final Expression equalityExpression() throws ParseException
ParseExceptionpublic final Expression comparisonExpression() throws ParseException
ParseExceptionpublic final Expression addExpression() throws ParseException
ParseExceptionpublic final Expression multExpr() throws ParseException
ParseExceptionpublic final Expression unaryExpr() throws ParseException
ParseExceptionpublic final Expression primaryExpr() throws ParseException
ParseExceptionpublic final Expression functionExpr() throws ParseException
ParseExceptionpublic final ConstantExpression literal() throws ParseException
ParseExceptionpublic final String stringLiteral() throws ParseException
ParseExceptionpublic final VariableExpression variable() throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(ParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2019 JBoss by Red Hat. All rights reserved.