org.apache.beehive.netui.script.el.parser
Class NetUIELParser
Object
NetUIELParser
- All Implemented Interfaces:
- NetUIELParserConstants
public class NetUIELParser
- extends Object
- implements NetUIELParserConstants
Fields inherited from interface NetUIELParserConstants |
DEFAULT, DIGIT, DOT, DQUOTE, ECMA_ESCAPE_SEQUENCE, END_EXPRESSION, EOF, ESCAPED_START_EXPRESSION, HIT, IDENTIFIER, IMPL_OBJ_START, IN_EXPRESSION, INTEGER, LBRACKET, LETTER, NON_EXPRESSION_TEXT, RBRACKET, SQUOTE, START_EXPRESSION, STRING_LITERAL, tokenImage |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public NetUIELParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
NetUIELParser
public NetUIELParser(InputStream stream)
NetUIELParser
public NetUIELParser(Reader stream)
NetUIELParser
public NetUIELParser(NetUIELParserTokenManager tm)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
parse
public final ParsedExpression parse()
throws ParseException
- Throws:
ParseException
parseLiteralTerm
public final LiteralTerm parseLiteralTerm()
throws ParseException
- Throws:
ParseException
parseExpression
public final ExpressionTerm parseExpression()
throws ParseException
- Throws:
ParseException
Context
public final ExpressionToken Context()
throws ParseException
- Throws:
ParseException
ExprIdentifier
public final ExpressionToken ExprIdentifier()
throws ParseException
- Throws:
ParseException
MapKey
public final ExpressionToken MapKey()
throws ParseException
- Throws:
ParseException
ArrayIndex
public final ExpressionToken ArrayIndex()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(InputStream stream)
ReInit
public void ReInit(Reader stream)
ReInit
public void ReInit(NetUIELParserTokenManager 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()