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
ParseException
public final Expression orExpression() throws ParseException
ParseException
public final Expression andExpression() throws ParseException
ParseException
public final Expression equalityExpression() throws ParseException
ParseException
public final Expression comparisonExpression() throws ParseException
ParseException
public final Expression addExpression() throws ParseException
ParseException
public final Expression multExpr() throws ParseException
ParseException
public final Expression unaryExpr() throws ParseException
ParseException
public final Expression primaryExpr() throws ParseException
ParseException
public final Expression functionExpr() throws ParseException
ParseException
public final ConstantExpression literal() throws ParseException
ParseException
public final String stringLiteral() throws ParseException
ParseException
public final VariableExpression variable() throws ParseException
ParseException
public 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.