com.sun.el.parser
类 ELParser

java.lang.Object
  继承者 com.sun.el.parser.ELParser
所有已实现的接口:
ELParserConstants, ELParserTreeConstants

public class ELParser
extends Object
implements ELParserTreeConstants, ELParserConstants


字段摘要
 Token jj_nt
          Next token.
protected  JJTELParserState jjtree
           
 Token token
          Current token.
 ELParserTokenManager token_source
          Generated Token Manager.
 
从接口 com.sun.el.parser.ELParserTreeConstants 继承的字段
JJTAND, JJTBRACKETSUFFIX, JJTCHOICE, JJTCOMPOSITEEXPRESSION, JJTDEFERREDEXPRESSION, JJTDIV, JJTDYNAMICEXPRESSION, JJTEMPTY, JJTEQUAL, JJTFALSE, JJTFLOATINGPOINT, JJTFUNCTION, JJTGREATERTHAN, JJTGREATERTHANEQUAL, JJTIDENTIFIER, JJTINTEGER, JJTLESSTHAN, JJTLESSTHANEQUAL, JJTLITERALEXPRESSION, JJTMETHODSUFFIX, JJTMINUS, JJTMOD, JJTMULT, JJTNEGATIVE, jjtNodeName, JJTNOT, JJTNOTEQUAL, JJTNULL, JJTOR, JJTPLUS, JJTPROPERTYSUFFIX, JJTSTRING, JJTTRUE, JJTVALUE, JJTVOID
 
从接口 com.sun.el.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, 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
 
构造方法摘要
ELParser(ELParserTokenManager tm)
          Constructor with generated Token Manager.
ELParser(InputStream stream)
          Constructor with InputStream.
ELParser(InputStream stream, String encoding)
          Constructor with InputStream and supplied encoding
ELParser(Reader stream)
          Constructor.
 
方法摘要
 void And()
           
 void Boolean()
           
 void BracketSuffix()
           
 void Choice()
           
 void Compare()
           
 AstCompositeExpression CompositeExpression()
           
 void DeferredExpression()
           
 void disable_tracing()
          Disable tracing.
 void DotSuffix()
           
 void DynamicExpression()
           
 void enable_tracing()
          Enable tracing.
 void Equality()
           
 void Expression()
           
 void FloatingPoint()
           
 void Function()
           
 ParseException generateParseException()
          Generate ParseException.
 Token getNextToken()
          Get the next Token.
 Token getToken(int index)
          Get the specific Token.
 void Identifier()
           
 void Integer()
           
 void Literal()
           
 void LiteralExpression()
           
 void Math()
           
 void MethodSuffix()
           
 void Multiplication()
           
 void NonLiteral()
           
 void Null()
           
 void Or()
           
static Node parse(String ref)
           
 void PropertySuffix()
           
 void ReInit(ELParserTokenManager tm)
          Reinitialise.
 void ReInit(InputStream stream)
          Reinitialise.
 void ReInit(InputStream stream, String encoding)
          Reinitialise.
 void ReInit(Reader stream)
          Reinitialise.
 void String()
           
 void Unary()
           
 void Value()
           
 void ValuePrefix()
           
 void ValueSuffix()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

jjtree

protected JJTELParserState jjtree

token_source

public ELParserTokenManager token_source
Generated Token Manager.


token

public Token token
Current token.


jj_nt

public Token jj_nt
Next token.

构造方法详细信息

ELParser

public ELParser(InputStream stream)
Constructor with InputStream.


ELParser

public ELParser(InputStream stream,
                String encoding)
Constructor with InputStream and supplied encoding


ELParser

public ELParser(Reader stream)
Constructor.


ELParser

public ELParser(ELParserTokenManager tm)
Constructor with generated Token Manager.

方法详细信息

parse

public static Node parse(String ref)
                  throws ELException
抛出:
ELException

CompositeExpression

public final AstCompositeExpression CompositeExpression()
                                                 throws ParseException
抛出:
ParseException

LiteralExpression

public final void LiteralExpression()
                             throws ParseException
抛出:
ParseException

DeferredExpression

public final void DeferredExpression()
                              throws ParseException
抛出:
ParseException

DynamicExpression

public final void DynamicExpression()
                             throws ParseException
抛出:
ParseException

Expression

public final void Expression()
                      throws ParseException
抛出:
ParseException

Choice

public final void Choice()
                  throws ParseException
抛出:
ParseException

Or

public final void Or()
              throws ParseException
抛出:
ParseException

And

public final void And()
               throws ParseException
抛出:
ParseException

Equality

public final void Equality()
                    throws ParseException
抛出:
ParseException

Compare

public final void Compare()
                   throws ParseException
抛出:
ParseException

Math

public final void Math()
                throws ParseException
抛出:
ParseException

Multiplication

public final void Multiplication()
                          throws ParseException
抛出:
ParseException

Unary

public final void Unary()
                 throws ParseException
抛出:
ParseException

Value

public final void Value()
                 throws ParseException
抛出:
ParseException

ValuePrefix

public final void ValuePrefix()
                       throws ParseException
抛出:
ParseException

ValueSuffix

public final void ValueSuffix()
                       throws ParseException
抛出:
ParseException

DotSuffix

public final void DotSuffix()
                     throws ParseException
抛出:
ParseException

PropertySuffix

public final void PropertySuffix()
                          throws ParseException
抛出:
ParseException

MethodSuffix

public final void MethodSuffix()
                        throws ParseException
抛出:
ParseException

BracketSuffix

public final void BracketSuffix()
                         throws ParseException
抛出:
ParseException

NonLiteral

public final void NonLiteral()
                      throws ParseException
抛出:
ParseException

Identifier

public final void Identifier()
                      throws ParseException
抛出:
ParseException

Function

public final void Function()
                    throws ParseException
抛出:
ParseException

Literal

public final void Literal()
                   throws ParseException
抛出:
ParseException

Boolean

public final void Boolean()
                   throws ParseException
抛出:
ParseException

FloatingPoint

public final void FloatingPoint()
                         throws ParseException
抛出:
ParseException

Integer

public final void Integer()
                   throws ParseException
抛出:
ParseException

String

public final void String()
                  throws ParseException
抛出:
ParseException

Null

public final void Null()
                throws ParseException
抛出:
ParseException

ReInit

public void ReInit(InputStream stream)
Reinitialise.


ReInit

public void ReInit(InputStream stream,
                   String encoding)
Reinitialise.


ReInit

public void ReInit(Reader stream)
Reinitialise.


ReInit

public void ReInit(ELParserTokenManager tm)
Reinitialise.


getNextToken

public final Token getNextToken()
Get the next Token.


getToken

public final Token getToken(int index)
Get the specific Token.


generateParseException

public ParseException generateParseException()
Generate ParseException.


enable_tracing

public final void enable_tracing()
Enable tracing.


disable_tracing

public final void disable_tracing()
Disable tracing.



Copyright © 2013. All Rights Reserved.