org.netbeans.microedition.databinding.el.parser
Class ELParser
java.lang.Object
org.netbeans.microedition.databinding.el.parser.ELParser
- All Implemented Interfaces:
- ELParserConstants
public class ELParser
- extends java.lang.Object
- implements ELParserConstants
Generated EL parser.
Fields inherited from interface org.netbeans.microedition.databinding.el.parser.ELParserConstants |
AND1, AND2, BADLY_ESCAPED_STRING_LITERAL, COLON, COMMA, DEFAULT, DIGIT, DIVIDE1, DIVIDE2, DOT, EMPTY, END_EXPRESSION, EOF, EQ1, EQ2, EXPONENT, FALSE, FLOATING_POINT_LITERAL, GE1, GE2, GT1, GT2, IDENTIFIER, ILLEGAL_CHARACTER, IMPL_OBJ_START, INTEGER_LITERAL, LBRACKET, LE1, LE2, LETTER, LPAREN, LT1, LT2, MINUS, MODULUS1, MODULUS2, MULTIPLY, NE1, NE2, NOT1, NOT2, NULL, OR1, OR2, PLUS, RBRACKET, RPAREN, STRING_LITERAL, tokenImage, TRUE |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public ELParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
ELParser
public ELParser(java.io.Reader reader,
ELContext context,
boolean storePointers)
ELParser
public ELParser(java.io.InputStream stream)
ELParser
public ELParser(java.io.InputStream stream,
java.lang.String encoding)
ELParser
public ELParser(java.io.Reader stream)
ELParser
public ELParser(ELParserTokenManager tm)
getLastPointerBase
public java.lang.Object getLastPointerBase()
getLastPointerProperty
public java.lang.Object getLastPointerProperty()
getStoredPointers
public java.util.Vector getStoredPointers()
Expression
public final java.lang.Object Expression()
throws ParseException
- Returns a String if the expression string is a single String, an
Expression if the expression string is a single Expression, an
ExpressionString if it's a mixture of both.
- Throws:
ParseException
OrExpression
public final java.lang.Object OrExpression()
throws ParseException
- Throws:
ParseException
AndExpression
public final java.lang.Object AndExpression()
throws ParseException
- Throws:
ParseException
EqualityExpression
public final java.lang.Object EqualityExpression()
throws ParseException
- Throws:
ParseException
RelationalExpression
public final java.lang.Object RelationalExpression()
throws ParseException
- Throws:
ParseException
AddExpression
public final java.lang.Object AddExpression()
throws ParseException
- Throws:
ParseException
MultiplyExpression
public final java.lang.Object MultiplyExpression()
throws ParseException
- Throws:
ParseException
UnaryExpression
public final java.lang.Object UnaryExpression()
throws ParseException
- Throws:
ParseException
Value
public final java.lang.Object Value()
throws ParseException
- Throws:
ParseException
FunctionInvocation
public final java.lang.Object FunctionInvocation()
throws ParseException
- Throws:
ParseException
ValueSuffix
public final java.lang.Object ValueSuffix(boolean lvalue,
java.lang.Object value)
throws ParseException
- Throws:
ParseException
PropertySuffix
public final java.lang.Object PropertySuffix(boolean lvalue,
java.lang.Object value)
throws ParseException
- Throws:
ParseException
ArraySuffix
public final java.lang.Object ArraySuffix(boolean lvalue,
java.lang.Object value)
throws ParseException
- Throws:
ParseException
Literal
public final java.lang.Object Literal()
throws ParseException
- Throws:
ParseException
BooleanLiteral
public final java.lang.Boolean BooleanLiteral()
throws ParseException
- Throws:
ParseException
StringLiteral
public final java.lang.String StringLiteral()
throws ParseException
- Throws:
ParseException
IntegerLiteral
public final java.lang.Integer IntegerLiteral()
throws ParseException
- Throws:
ParseException
FloatingPointLiteral
public final java.lang.Float FloatingPointLiteral()
throws ParseException
- Throws:
ParseException
NullLiteral
public final java.lang.Object NullLiteral()
throws ParseException
- Throws:
ParseException
Identifier
public final java.lang.String Identifier()
throws ParseException
- Throws:
ParseException
QualifiedName
public final java.lang.String QualifiedName()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.InputStream stream,
java.lang.String encoding)
ReInit
public void ReInit(java.io.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()