public class ExpressionParser extends java.lang.Object implements ExpressionParserTreeConstants, ExpressionParserConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt
Next token.
|
protected JJTExpressionParserState |
jjtree |
Token |
token
Current token.
|
ExpressionParserTokenManager |
token_source
Generated Token Manager.
|
JJTAND, JJTATLEAST, JJTATMOST, JJTDIV, JJTEQUAL, JJTFUNCTION, JJTGREATERTHAN, JJTLESSTHAN, JJTLITBOOLEAN, JJTLITDOUBLE, JJTLITINTEGER, JJTLITNULL, JJTLITSTRING, JJTMINUS, JJTMULT, JJTNEGATION, jjtNodeName, JJTNOT, JJTNOTEQUAL, JJTOR, JJTPLUS, JJTROOT, JJTVARIABLE, JJTVOID
AND, COMMA, DECIMAL_LITERAL, DEFAULT, DIGIT, DIV, EOF, EQUAL, EXPONENT, FALSE, FLOATING_POINT_LITERAL, GT, GTE, HEX_LITERAL, IDENTIFIER, INTEGER_LITERAL, LETTER, LPAREN, LT, LTE, MINUS, MULT, NOT, NOTEQUAL, NULL, OCTAL_LITERAL, OR, PLUS, PRIME, RPAREN, SPECIALCHAR, STRING_LITERAL, tokenImage, TRUE, UNKNOWN
Constructor and Description |
---|
ExpressionParser(ExpressionParserTokenManager tm)
Constructor with generated Token Manager.
|
ExpressionParser(java.io.InputStream stream)
Constructor with InputStream.
|
ExpressionParser(java.io.InputStream stream,
java.lang.String encoding)
Constructor with InputStream and supplied encoding
|
ExpressionParser(java.io.Reader stream)
Constructor.
|
ExpressionParser(java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
void |
additiveExpression() |
void |
andExpression() |
void |
disable_tracing()
Disable tracing.
|
void |
enable_tracing()
Enable tracing.
|
void |
equalityExpression() |
void |
function() |
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
void |
identifier() |
void |
literal() |
void |
multiplicativeExpression() |
void |
orExpression() |
void |
parameters() |
ExprRoot |
parse() |
void |
ReInit(ExpressionParserTokenManager tm)
Reinitialise.
|
void |
ReInit(java.io.InputStream stream)
Reinitialise.
|
void |
ReInit(java.io.InputStream stream,
java.lang.String encoding)
Reinitialise.
|
void |
ReInit(java.io.Reader stream)
Reinitialise.
|
void |
relationalExpression() |
void |
unaryExpression() |
void |
variable() |
protected JJTExpressionParserState jjtree
public ExpressionParserTokenManager token_source
public Token token
public Token jj_nt
public ExpressionParser(java.lang.String s)
public ExpressionParser(java.io.InputStream stream)
public ExpressionParser(java.io.InputStream stream, java.lang.String encoding)
public ExpressionParser(java.io.Reader stream)
public ExpressionParser(ExpressionParserTokenManager tm)
public final ExprRoot parse() throws ParseException
ParseException
public final void orExpression() throws ParseException
ParseException
public final void andExpression() throws ParseException
ParseException
public final void equalityExpression() throws ParseException
ParseException
public final void relationalExpression() throws ParseException
ParseException
public final void additiveExpression() throws ParseException
ParseException
public final void multiplicativeExpression() throws ParseException
ParseException
public final void unaryExpression() throws ParseException
ParseException
public final void identifier() throws ParseException
ParseException
public final void function() throws ParseException
ParseException
public final void parameters() throws ParseException
ParseException
public final void variable() throws ParseException
ParseException
public final void literal() throws ParseException
ParseException
public void ReInit(java.io.InputStream stream)
public void ReInit(java.io.InputStream stream, java.lang.String encoding)
public void ReInit(java.io.Reader stream)
public void ReInit(ExpressionParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()