org.jbpm.jpdl.el.parser
Class ELParser

java.lang.Object
  extended by org.jbpm.jpdl.el.parser.ELParser
All Implemented Interfaces:
ELParserConstants

public class ELParser
extends java.lang.Object
implements ELParserConstants

Generated EL parser.

Author:
Nathan Abramson, Shawn Bayern

Field Summary
 ELToken jj_nt
           
 boolean lookingAhead
           
 ELToken token
           
 ELParserTokenManager token_source
           
 
Fields inherited from interface org.jbpm.jpdl.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()
           
 ELToken getNextToken()
           
 ELToken getToken(int index)
           
 java.lang.String Identifier()
           
 IntegerLiteral IntegerLiteral()
           
 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

token

public ELToken token

jj_nt

public ELToken jj_nt

lookingAhead

public boolean lookingAhead
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
Throws:
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.

Throws:
ParseException

AttrValueString

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

AttrValueExpression

public final Expression AttrValueExpression()
                                     throws ParseException
Throws:
ParseException

Expression

public final Expression Expression()
                            throws ParseException
Throws:
ParseException

OrExpression

public final Expression OrExpression()
                              throws ParseException
Throws:
ParseException

AndExpression

public final Expression AndExpression()
                               throws ParseException
Throws:
ParseException

EqualityExpression

public final Expression EqualityExpression()
                                    throws ParseException
Throws:
ParseException

RelationalExpression

public final Expression RelationalExpression()
                                      throws ParseException
Throws:
ParseException

AddExpression

public final Expression AddExpression()
                               throws ParseException
Throws:
ParseException

MultiplyExpression

public final Expression MultiplyExpression()
                                    throws ParseException
Throws:
ParseException

ConditionalExpression

public final Expression ConditionalExpression()
                                       throws ParseException
Throws:
ParseException

UnaryExpression

public final Expression UnaryExpression()
                                 throws ParseException
Throws:
ParseException

Value

public final Expression Value()
                       throws ParseException
Throws:
ParseException

ValuePrefix

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

Throws:
ParseException

NamedValue

public final NamedValue NamedValue()
                            throws ParseException
Throws:
ParseException

FunctionInvocation

public final FunctionInvocation FunctionInvocation()
                                            throws ParseException
Throws:
ParseException

ValueSuffix

public final ValueSuffix ValueSuffix()
                              throws ParseException
Throws:
ParseException

PropertySuffix

public final PropertySuffix PropertySuffix()
                                    throws ParseException
Throws:
ParseException

ArraySuffix

public final ArraySuffix ArraySuffix()
                              throws ParseException
Throws:
ParseException

Literal

public final Literal Literal()
                      throws ParseException
Throws:
ParseException

BooleanLiteral

public final BooleanLiteral BooleanLiteral()
                                    throws ParseException
Throws:
ParseException

StringLiteral

public final StringLiteral StringLiteral()
                                  throws ParseException
Throws:
ParseException

IntegerLiteral

public final IntegerLiteral IntegerLiteral()
                                    throws ParseException
Throws:
ParseException

FloatingPointLiteral

public final FloatingPointLiteral FloatingPointLiteral()
                                                throws ParseException
Throws:
ParseException

NullLiteral

public final NullLiteral 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.Reader stream)

ReInit

public void ReInit(ELParserTokenManager tm)

getNextToken

public final ELToken getNextToken()

getToken

public final ELToken getToken(int index)

generateParseException

public final ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.