Package org.jdesktop.el.impl.parser
Class ELParser
- java.lang.Object
-
- org.jdesktop.el.impl.parser.ELParser
-
- All Implemented Interfaces:
ELParserConstants,ELParserTreeConstants
public class ELParser extends Object implements ELParserTreeConstants, ELParserConstants
-
-
Field Summary
Fields Modifier and Type Field Description Tokenjj_ntprotected org.jdesktop.el.impl.parser.JJTELParserStatejjtreebooleanlookingAheadTokentokenELParserTokenManagertoken_source-
Fields inherited from interface org.jdesktop.el.impl.parser.ELParserConstants
AND0, AND1, BADLY_ESCAPED_STRING_LITERAL, COLON, COMMA, DEFAULT, DIGIT, DIV0, DIV1, DOT, EMPTY, END_EXPRESSION, EOF, EQ0, EQ1, EXPONENT, FALSE, FLOATING_POINT_LITERAL, FUNCTIONSUFFIX, GE0, GE1, GT0, GT1, IDENTIFIER, ILLEGAL_CHARACTER, IMPL_OBJ_START, IN_EXPRESSION, INSTANCEOF, INTEGER_LITERAL, LBRACK, LE0, LE1, LETTER, LITERAL_EXPRESSION, LPAREN, LT0, LT1, MINUS, MOD0, MOD1, MULT, NE0, NE1, NOT0, NOT1, NULL, OR0, OR1, PLUS, QUESTIONMARK, RBRACK, RPAREN, START_DEFERRED_EXPRESSION, START_DYNAMIC_EXPRESSION, STRING_LITERAL, tokenImage, TRUE
-
Fields inherited from interface org.jdesktop.el.impl.parser.ELParserTreeConstants
JJTAND, JJTBRACKETSUFFIX, JJTCHOICE, JJTCOMPOSITEEXPRESSION, JJTDEFERREDEXPRESSION, JJTDIV, JJTDOTSUFFIX, JJTDYNAMICEXPRESSION, JJTEMPTY, JJTEQUAL, JJTFALSE, JJTFLOATINGPOINT, JJTFUNCTION, JJTGREATERTHAN, JJTGREATERTHANEQUAL, JJTIDENTIFIER, JJTINTEGER, JJTLESSTHAN, JJTLESSTHANEQUAL, JJTLITERALEXPRESSION, JJTMINUS, JJTMOD, JJTMULT, JJTNEGATIVE, jjtNodeName, JJTNOT, JJTNOTEQUAL, JJTNULL, JJTOR, JJTPLUS, JJTSTRING, JJTTRUE, JJTVALUE, JJTVOID
-
-
Constructor Summary
Constructors Constructor Description ELParser(InputStream stream)ELParser(Reader stream)ELParser(ELParserTokenManager tm)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAnd()voidBoolean()voidBracketSuffix()voidChoice()voidCompare()AstCompositeExpressionCompositeExpression()voidDeferredExpression()voiddisable_tracing()voidDotSuffix()voidDynamicExpression()voidenable_tracing()voidEquality()voidExpression()voidFloatingPoint()voidFunction()ParseExceptiongenerateParseException()TokengetNextToken()TokengetToken(int index)voidIdentifier()voidInteger()voidLiteral()voidLiteralExpression()voidMath()voidMultiplication()voidNonLiteral()voidNull()voidOr()static Nodeparse(String ref)voidReInit(InputStream stream)voidReInit(Reader stream)voidReInit(ELParserTokenManager tm)voidString()voidUnary()voidValue()voidValuePrefix()voidValueSuffix()
-
-
-
Field Detail
-
jjtree
protected org.jdesktop.el.impl.parser.JJTELParserState jjtree
-
token_source
public ELParserTokenManager token_source
-
token
public Token token
-
jj_nt
public Token jj_nt
-
lookingAhead
public boolean lookingAhead
-
-
Constructor Detail
-
ELParser
public ELParser(InputStream stream)
-
ELParser
public ELParser(Reader stream)
-
ELParser
public ELParser(ELParserTokenManager tm)
-
-
Method Detail
-
parse
public static Node parse(String ref) throws ELException
- Throws:
ELException
-
CompositeExpression
public final AstCompositeExpression CompositeExpression() throws ParseException
- Throws:
ParseException
-
LiteralExpression
public final void LiteralExpression() throws ParseException- Throws:
ParseException
-
DeferredExpression
public final void DeferredExpression() throws ParseException- Throws:
ParseException
-
DynamicExpression
public final void DynamicExpression() throws ParseException- Throws:
ParseException
-
Expression
public final void Expression() throws ParseException- Throws:
ParseException
-
Choice
public final void Choice() throws ParseException- Throws:
ParseException
-
Or
public final void Or() throws ParseException- Throws:
ParseException
-
And
public final void And() throws ParseException- Throws:
ParseException
-
Equality
public final void Equality() throws ParseException- Throws:
ParseException
-
Compare
public final void Compare() throws ParseException- Throws:
ParseException
-
Math
public final void Math() throws ParseException- Throws:
ParseException
-
Multiplication
public final void Multiplication() throws ParseException- Throws:
ParseException
-
Unary
public final void Unary() throws ParseException- Throws:
ParseException
-
Value
public final void Value() throws ParseException- Throws:
ParseException
-
ValuePrefix
public final void ValuePrefix() throws ParseException- Throws:
ParseException
-
ValueSuffix
public final void ValueSuffix() throws ParseException- Throws:
ParseException
-
DotSuffix
public final void DotSuffix() throws ParseException- Throws:
ParseException
-
BracketSuffix
public final void BracketSuffix() throws ParseException- Throws:
ParseException
-
NonLiteral
public final void NonLiteral() throws ParseException- Throws:
ParseException
-
Identifier
public final void Identifier() throws ParseException- Throws:
ParseException
-
Function
public final void Function() throws ParseException- Throws:
ParseException
-
Literal
public final void Literal() throws ParseException- Throws:
ParseException
-
Boolean
public final void Boolean() throws ParseException- Throws:
ParseException
-
FloatingPoint
public final void FloatingPoint() throws ParseException- Throws:
ParseException
-
Integer
public final void Integer() throws ParseException- Throws:
ParseException
-
String
public final void String() throws ParseException- Throws:
ParseException
-
Null
public final void Null() throws ParseException- Throws:
ParseException
-
ReInit
public void ReInit(InputStream stream)
-
ReInit
public void ReInit(Reader stream)
-
ReInit
public void ReInit(ELParserTokenManager tm)
-
getNextToken
public final Token getNextToken()
-
getToken
public final Token getToken(int index)
-
generateParseException
public ParseException generateParseException()
-
enable_tracing
public final void enable_tracing()
-
disable_tracing
public final void disable_tracing()
-
-