org.apache.commons.el.parser
Class ELParser

java.lang.Object
  |
  +--org.apache.commons.el.parser.ELParser
All Implemented Interfaces:
ELParserConstants

public class ELParser
extends java.lang.Object
implements ELParserConstants

Generated EL parser.

Author:
Nathan Abramson
, Shawn Bayern

Nested Class Summary
(package private) static class ELParser.JJCalls
           
 
Field Summary
private  ELParser.JJCalls[] jj_2_rtns
           
private  int jj_endpos
           
private  java.util.Vector jj_expentries
           
private  int[] jj_expentry
           
private  int jj_gc
           
private  int jj_gen
           
(package private)  SimpleCharStream jj_input_stream
           
private  int jj_kind
           
private  int jj_la
           
private  int[] jj_la1
           
private  int[] jj_la1_0
           
private  int[] jj_la1_1
           
private  Token jj_lastpos
           
private  int[] jj_lasttokens
           
 Token jj_nt
           
private  int jj_ntk
           
private  boolean jj_rescan
           
private  Token jj_scanpos
           
private  boolean jj_semLA
           
 boolean lookingAhead
           
 Token token
           
 ELParserTokenManager token_source
           
 
Fields inherited from interface org.apache.commons.el.parser.ELParserConstants
AND1, AND2, BADLY_ESCAPED_STRING_LITERAL, COLON, COMMA, COND, 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, IN_EXPRESSION, INTEGER_LITERAL, LBRACKET, LE1, LE2, LETTER, LPAREN, LT1, LT2, MINUS, MODULUS1, MODULUS2, MULTIPLY, NE1, NE2, NON_EXPRESSION_TEXT, NOT1, NOT2, NULL, OR1, OR2, PLUS, RBRACKET, RPAREN, START_EXPRESSION, STRING_LITERAL, tokenImage, TRUE
 
Constructor Summary
ELParser(ELParserTokenManager tm)
           
ELParser(java.io.InputStream stream)
           
ELParser(java.io.Reader stream)
           
 
Method Summary
 Expression AddExpression()
           
 Expression AndExpression()
           
 ArraySuffix ArraySuffix()
           
 Expression AttrValueExpression()
           
 java.lang.String AttrValueString()
           
 BooleanLiteral BooleanLiteral()
           
 Expression ConditionalExpression()
           
 void disable_tracing()
           
 void enable_tracing()
           
 Expression EqualityExpression()
           
 Expression Expression()
           
 java.lang.Object ExpressionString()
          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.
 FloatingPointLiteral FloatingPointLiteral()
           
 FunctionInvocation FunctionInvocation()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 java.lang.String Identifier()
           
 IntegerLiteral IntegerLiteral()
           
private  boolean jj_2_1(int xla)
           
private  boolean jj_2_2(int xla)
           
private  boolean jj_2_3(int xla)
           
private  boolean jj_3_1()
           
private  boolean jj_3_2()
           
private  boolean jj_3_3()
           
private  boolean jj_3R_11()
           
private  boolean jj_3R_12()
           
private  boolean jj_3R_13()
           
private  boolean jj_3R_14()
           
private  boolean jj_3R_15()
           
private  boolean jj_3R_16()
           
private  boolean jj_3R_17()
           
private  boolean jj_3R_18()
           
private  boolean jj_3R_19()
           
private  boolean jj_3R_20()
           
private  boolean jj_3R_21()
           
private  boolean jj_3R_22()
           
private  boolean jj_3R_23()
           
private  boolean jj_3R_24()
           
private  boolean jj_3R_25()
           
private  boolean jj_3R_26()
           
private  boolean jj_3R_27()
           
private  boolean jj_3R_28()
           
private  boolean jj_3R_29()
           
private  boolean jj_3R_30()
           
private  boolean jj_3R_31()
           
private  boolean jj_3R_32()
           
private  boolean jj_3R_33()
           
private  boolean jj_3R_34()
           
private  boolean jj_3R_35()
           
private  boolean jj_3R_36()
           
private  boolean jj_3R_37()
           
private  boolean jj_3R_38()
           
private  boolean jj_3R_39()
           
private  boolean jj_3R_40()
           
private  boolean jj_3R_41()
           
private  boolean jj_3R_42()
           
private  boolean jj_3R_43()
           
private  boolean jj_3R_44()
           
private  boolean jj_3R_45()
           
private  boolean jj_3R_46()
           
private  boolean jj_3R_47()
           
private  boolean jj_3R_48()
           
private  boolean jj_3R_49()
           
private  boolean jj_3R_50()
           
private  boolean jj_3R_51()
           
private  boolean jj_3R_52()
           
private  boolean jj_3R_53()
           
private  boolean jj_3R_54()
           
private  boolean jj_3R_55()
           
private  boolean jj_3R_56()
           
private  boolean jj_3R_57()
           
private  boolean jj_3R_58()
           
private  boolean jj_3R_59()
           
private  boolean jj_3R_60()
           
private  boolean jj_3R_61()
           
private  boolean jj_3R_62()
           
private  boolean jj_3R_63()
           
private  boolean jj_3R_64()
           
private  boolean jj_3R_65()
           
private  boolean jj_3R_66()
           
private  boolean jj_3R_67()
           
private  boolean jj_3R_68()
           
private  boolean jj_3R_69()
           
private  boolean jj_3R_70()
           
private  boolean jj_3R_71()
           
private  boolean jj_3R_72()
           
private  boolean jj_3R_73()
           
private  boolean jj_3R_74()
           
private  boolean jj_3R_75()
           
private  boolean jj_3R_76()
           
private  boolean jj_3R_77()
           
private  boolean jj_3R_78()
           
private  boolean jj_3R_79()
           
private  boolean jj_3R_80()
           
private  boolean jj_3R_81()
           
private  boolean jj_3R_82()
           
private  boolean jj_3R_83()
           
private  boolean jj_3R_84()
           
private  boolean jj_3R_85()
           
private  boolean jj_3R_86()
           
private  boolean jj_3R_87()
           
private  boolean jj_3R_88()
           
private  boolean jj_3R_89()
           
private  boolean jj_3R_90()
           
private  boolean jj_3R_91()
           
private  boolean jj_3R_92()
           
private  boolean jj_3R_93()
           
private  boolean jj_3R_94()
           
private  boolean jj_3R_95()
           
private  boolean jj_3R_96()
           
private  void jj_add_error_token(int kind, int pos)
           
private  Token jj_consume_token(int kind)
           
private  int jj_ntk()
           
private  void jj_rescan_token()
           
private  void jj_save(int index, int xla)
           
private  boolean jj_scan_token(int kind)
           
 Literal Literal()
           
static void main(java.lang.String[] args)
           
 Expression MultiplyExpression()
           
 NamedValue NamedValue()
           
 NullLiteral NullLiteral()
           
 Expression OrExpression()
           
 PropertySuffix PropertySuffix()
           
 java.lang.String QualifiedName()
           
 void ReInit(ELParserTokenManager tm)
           
 void ReInit(java.io.InputStream stream)
           
 void ReInit(java.io.Reader stream)
           
 Expression RelationalExpression()
           
 StringLiteral StringLiteral()
           
 Expression UnaryExpression()
           
 Expression Value()
           
 Expression ValuePrefix()
          This is an element that can start a value
 ValueSuffix ValueSuffix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public ELParserTokenManager token_source

jj_input_stream

SimpleCharStream jj_input_stream

token

public Token token

jj_nt

public Token jj_nt

jj_ntk

private int jj_ntk

jj_scanpos

private Token jj_scanpos

jj_lastpos

private Token jj_lastpos

jj_la

private int jj_la

lookingAhead

public boolean lookingAhead

jj_semLA

private boolean jj_semLA

jj_gen

private int jj_gen

jj_la1

private final int[] jj_la1

jj_la1_0

private final int[] jj_la1_0

jj_la1_1

private final int[] jj_la1_1

jj_2_rtns

private final ELParser.JJCalls[] jj_2_rtns

jj_rescan

private boolean jj_rescan

jj_gc

private int jj_gc

jj_expentries

private java.util.Vector jj_expentries

jj_expentry

private int[] jj_expentry

jj_kind

private int jj_kind

jj_lasttokens

private int[] jj_lasttokens

jj_endpos

private int jj_endpos
Constructor Detail

ELParser

public ELParser(java.io.InputStream stream)

ELParser

public ELParser(java.io.Reader stream)

ELParser

public ELParser(ELParserTokenManager tm)
Method Detail

main

public static void main(java.lang.String[] args)
                 throws ParseException
ParseException

ExpressionString

public final java.lang.Object ExpressionString()
                                        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.

ParseException

AttrValueString

public final java.lang.String AttrValueString()
                                       throws ParseException
ParseException

AttrValueExpression

public final Expression AttrValueExpression()
                                     throws ParseException
ParseException

Expression

public final Expression Expression()
                            throws ParseException
ParseException

OrExpression

public final Expression OrExpression()
                              throws ParseException
ParseException

AndExpression

public final Expression AndExpression()
                               throws ParseException
ParseException

EqualityExpression

public final Expression EqualityExpression()
                                    throws ParseException
ParseException

RelationalExpression

public final Expression RelationalExpression()
                                      throws ParseException
ParseException

AddExpression

public final Expression AddExpression()
                               throws ParseException
ParseException

MultiplyExpression

public final Expression MultiplyExpression()
                                    throws ParseException
ParseException

ConditionalExpression

public final Expression ConditionalExpression()
                                       throws ParseException
ParseException

UnaryExpression

public final Expression UnaryExpression()
                                 throws ParseException
ParseException

Value

public final Expression Value()
                       throws ParseException
ParseException

ValuePrefix

public final Expression ValuePrefix()
                             throws ParseException
This is an element that can start a value

ParseException

NamedValue

public final NamedValue NamedValue()
                            throws ParseException
ParseException

FunctionInvocation

public final FunctionInvocation FunctionInvocation()
                                            throws ParseException
ParseException

ValueSuffix

public final ValueSuffix ValueSuffix()
                              throws ParseException
ParseException

PropertySuffix

public final PropertySuffix PropertySuffix()
                                    throws ParseException
ParseException

ArraySuffix

public final ArraySuffix ArraySuffix()
                              throws ParseException
ParseException

Literal

public final Literal Literal()
                      throws ParseException
ParseException

BooleanLiteral

public final BooleanLiteral BooleanLiteral()
                                    throws ParseException
ParseException

StringLiteral

public final StringLiteral StringLiteral()
                                  throws ParseException
ParseException

IntegerLiteral

public final IntegerLiteral IntegerLiteral()
                                    throws ParseException
ParseException

FloatingPointLiteral

public final FloatingPointLiteral FloatingPointLiteral()
                                                throws ParseException
ParseException

NullLiteral

public final NullLiteral NullLiteral()
                              throws ParseException
ParseException

Identifier

public final java.lang.String Identifier()
                                  throws ParseException
ParseException

QualifiedName

public final java.lang.String QualifiedName()
                                     throws ParseException
ParseException

jj_2_1

private final boolean jj_2_1(int xla)

jj_2_2

private final boolean jj_2_2(int xla)

jj_2_3

private final boolean jj_2_3(int xla)

jj_3R_42

private final boolean jj_3R_42()

jj_3R_91

private final boolean jj_3R_91()

jj_3R_40

private final boolean jj_3R_40()

jj_3R_41

private final boolean jj_3R_41()

jj_3R_32

private final boolean jj_3R_32()

jj_3R_90

private final boolean jj_3R_90()

jj_3R_39

private final boolean jj_3R_39()

jj_3R_31

private final boolean jj_3R_31()

jj_3R_26

private final boolean jj_3R_26()

jj_3R_70

private final boolean jj_3R_70()

jj_3R_21

private final boolean jj_3R_21()

jj_3R_92

private final boolean jj_3R_92()

jj_3R_62

private final boolean jj_3R_62()

jj_3R_61

private final boolean jj_3R_61()

jj_3R_69

private final boolean jj_3R_69()

jj_3R_60

private final boolean jj_3R_60()

jj_3R_55

private final boolean jj_3R_55()

jj_3R_96

private final boolean jj_3R_96()

jj_3R_43

private final boolean jj_3R_43()

jj_3R_95

private final boolean jj_3R_95()

jj_3R_89

private final boolean jj_3R_89()

jj_3R_85

private final boolean jj_3R_85()

jj_3R_84

private final boolean jj_3R_84()

jj_3R_83

private final boolean jj_3R_83()

jj_3R_82

private final boolean jj_3R_82()

jj_3R_28

private final boolean jj_3R_28()

jj_3R_81

private final boolean jj_3R_81()

jj_3R_76

private final boolean jj_3R_76()

jj_3R_11

private final boolean jj_3R_11()

jj_3R_27

private final boolean jj_3R_27()

jj_3R_22

private final boolean jj_3R_22()

jj_3R_17

private final boolean jj_3R_17()

jj_3R_68

private final boolean jj_3R_68()

jj_3R_88

private final boolean jj_3R_88()

jj_3R_66

private final boolean jj_3R_66()

jj_3R_67

private final boolean jj_3R_67()

jj_3R_59

private final boolean jj_3R_59()

jj_3R_65

private final boolean jj_3R_65()

jj_3R_87

private final boolean jj_3R_87()

jj_3R_58

private final boolean jj_3R_58()

jj_3R_57

private final boolean jj_3R_57()

jj_3R_44

private final boolean jj_3R_44()

jj_3R_24

private final boolean jj_3R_24()

jj_3R_80

private final boolean jj_3R_80()

jj_3R_33

private final boolean jj_3R_33()

jj_3R_79

private final boolean jj_3R_79()

jj_3R_75

private final boolean jj_3R_75()

jj_3R_23

private final boolean jj_3R_23()

jj_3R_18

private final boolean jj_3R_18()

jj_3R_14

private final boolean jj_3R_14()

jj_3R_94

private final boolean jj_3R_94()

jj_3_1

private final boolean jj_3_1()

jj_3R_86

private final boolean jj_3R_86()

jj_3R_20

private final boolean jj_3R_20()

jj_3R_19

private final boolean jj_3R_19()

jj_3R_46

private final boolean jj_3R_46()

jj_3R_15

private final boolean jj_3R_15()

jj_3R_45

private final boolean jj_3R_45()

jj_3R_34

private final boolean jj_3R_34()

jj_3R_77

private final boolean jj_3R_77()

jj_3R_29

private final boolean jj_3R_29()

jj_3_2

private final boolean jj_3_2()

jj_3R_78

private final boolean jj_3R_78()

jj_3R_74

private final boolean jj_3R_74()

jj_3R_73

private final boolean jj_3R_73()

jj_3R_72

private final boolean jj_3R_72()

jj_3R_71

private final boolean jj_3R_71()

jj_3_3

private final boolean jj_3_3()

jj_3R_63

private final boolean jj_3R_63()

jj_3R_54

private final boolean jj_3R_54()

jj_3R_52

private final boolean jj_3R_52()

jj_3R_50

private final boolean jj_3R_50()

jj_3R_48

private final boolean jj_3R_48()

jj_3R_53

private final boolean jj_3R_53()

jj_3R_16

private final boolean jj_3R_16()

jj_3R_38

private final boolean jj_3R_38()

jj_3R_51

private final boolean jj_3R_51()

jj_3R_37

private final boolean jj_3R_37()

jj_3R_49

private final boolean jj_3R_49()

jj_3R_36

private final boolean jj_3R_36()

jj_3R_47

private final boolean jj_3R_47()

jj_3R_35

private final boolean jj_3R_35()

jj_3R_12

private final boolean jj_3R_12()

jj_3R_30

private final boolean jj_3R_30()

jj_3R_25

private final boolean jj_3R_25()

jj_3R_64

private final boolean jj_3R_64()

jj_3R_13

private final boolean jj_3R_13()

jj_3R_56

private final boolean jj_3R_56()

jj_3R_93

private final boolean jj_3R_93()

ReInit

public void ReInit(java.io.InputStream stream)

ReInit

public void ReInit(java.io.Reader stream)

ReInit

public void ReInit(ELParserTokenManager tm)

jj_consume_token

private final Token jj_consume_token(int kind)
                              throws ParseException
ParseException

jj_scan_token

private final boolean jj_scan_token(int kind)

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

jj_ntk

private final int jj_ntk()

jj_add_error_token

private void jj_add_error_token(int kind,
                                int pos)

generateParseException

public final ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()

jj_rescan_token

private final void jj_rescan_token()

jj_save

private final void jj_save(int index,
                           int xla)


Copyright (c) 2001-2002 - Apache Software Foundation