org.apache.beehive.netui.script.el.parser
Class NetUIELParser

Object
  extended by NetUIELParser
All Implemented Interfaces:
NetUIELParserConstants

public class NetUIELParser
extends Object
implements NetUIELParserConstants


Field Summary
 Token jj_nt
           
 boolean lookingAhead
           
 Token token
           
 NetUIELParserTokenManager token_source
           
 
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
 
Constructor Summary
NetUIELParser(InputStream stream)
           
NetUIELParser(NetUIELParserTokenManager tm)
           
NetUIELParser(Reader stream)
           
 
Method Summary
 ExpressionToken ArrayIndex()
           
 ExpressionToken Context()
           
 void disable_tracing()
           
 void enable_tracing()
           
 ExpressionToken ExprIdentifier()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
static void main(String[] args)
           
 ExpressionToken MapKey()
           
 ParsedExpression parse()
           
 ExpressionTerm parseExpression()
           
 LiteralTerm parseLiteralTerm()
           
 void ReInit(InputStream stream)
           
 void ReInit(NetUIELParserTokenManager tm)
           
 void ReInit(Reader stream)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public NetUIELParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt

lookingAhead

public boolean lookingAhead
Constructor Detail

NetUIELParser

public NetUIELParser(InputStream stream)

NetUIELParser

public NetUIELParser(Reader stream)

NetUIELParser

public NetUIELParser(NetUIELParserTokenManager tm)
Method Detail

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()