Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.jexl.parser
Class Parser

    java.lang.Object
      |
      +--org.apache.commons.jexl.parser.Parser

All Implemented Interfaces:
  ParserConstants, ParserTreeConstants

public class Parser
extends Object
implements ParserTreeConstants, ParserConstants

Field Summary
`Token` | `jj_nt`
`protected org.apache.commons.jexl.parser.JJTParserState` | `jjtree`
`boolean` | `lookingAhead`
`Token` | `token`
`ParserTokenManager` | `token_source`

Fields inherited from interface org.apache.commons.jexl.parser.ParserTreeConstants
`JJTADDNODE, JJTANDNODE, JJTARRAYACCESS, JJTASSIGNMENT, JJTBITWISEANDNODE, JJTBITWISECOMPLNODE, JJTBITWISEORNODE, JJTBITWISEXORNODE, JJTBLOCK, JJTDIVNODE, JJTEMPTYFUNCTION, JJTEQNODE, JJTEXPRESSION, JJTEXPRESSIONEXPRESSION, JJTFALSENODE, JJTFLOATLITERAL, JJTFOREACHSTATEMENT, JJTGENODE, JJTGTNODE, JJTIDENTIFIER, JJTIFSTATEMENT, JJTINTEGERLITERAL, JJTJEXLSCRIPT, JJTLENODE, JJTLTNODE, JJTMETHOD, JJTMODNODE, JJTMULNODE, JJTNENODE, jjtNodeName, JJTNOTNODE, JJTNULLLITERAL, JJTORNODE, JJTREFERENCE, JJTREFERENCEEXPRESSION, JJTSIZEFUNCTION, JJTSIZEMETHOD, JJTSTATEMENTEXPRESSION, JJTSTRINGLITERAL, JJTSUBTRACTNODE, JJTTRUENODE, JJTUNARYMINUSNODE, JJTVOID, JJTWHILESTATEMENT`

Fields inherited from interface org.apache.commons.jexl.parser.ParserConstants
`COMMENT, DEFAULT, DIGIT, EOF, FLOAT_LITERAL, IDENTIFIER, INTEGER_LITERAL, LETTER, STRING_LITERAL, tokenImage`

Constructor Summary
`Parser(InputStream stream)`
`Parser(ParserTokenManager tm)`
`Parser(Reader stream)`

Method Summary
`void` | `AdditiveExpression()`
`void` | `AndExpression()`
`void` | `ArrayAccess()`
`void` | `Assignment()`
`void` | `Block()`
`void` | `BooleanLiteral()`
`void` | `ConditionalAndExpression()`
`void` | `ConditionalOrExpression()`
`void` | `disable_tracing()`
`void` | `EmptyFunction()`
`void` | `enable_tracing()`
`void` | `EqualityExpression()`
`void` | `ExclusiveOrExpression()`
`void` | `Expression()`
`void` | `ExpressionExpression()`
`void` | `FloatLiteral()`
`void` | `ForeachStatement()`
`ParseException` | `generateParseException()`
`Token` | `getNextToken()`
`Token` | `getToken(int index)`
`void` | `Identifier()`
`void` | `IfStatement()`
`void` | `InclusiveOrExpression()`
`void` | `IntegerLiteral()`
`SimpleNode` | `JexlScript()`
`void` | `Literal()`
`void` | `Method()`
`void` | `MultiplicativeExpression()`
`void` | `NullLiteral()`
`void` | `Parameter()`
`SimpleNode` | `parse(Reader reader)`
`void` | `PrimaryExpression()`
`void` | `Reference()`
`void` | `ReferenceExpression()`
`void` | `ReInit(InputStream stream)`
`void` | `ReInit(ParserTokenManager tm)`
`void` | `ReInit(Reader stream)`
`void` | `RelationalExpression()`
`void` | `SizeFunction()`
`void` | `SizeMethod()`
`void` | `Statement()`
`void` | `StatementExpression()`
`void` | `StringLiteral()`
`void` | `UnaryExpression()`
`void` | `WhileStatement()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### jjtree

    protected org.apache.commons.jexl.parser.JJTParserState jjtree

### token_source

    public ParserTokenManager token_source

### token

    public Token token

### jj_nt

    public Token jj_nt

### lookingAhead

    public boolean lookingAhead

Constructor Detail

### Parser

    public Parser(InputStream stream)

### Parser

    public Parser(Reader stream)

### Parser

    public Parser(ParserTokenManager tm)

Method Detail

### parse

    public SimpleNode parse(Reader reader)
                     throws Exception

### JexlScript

    public final SimpleNode JexlScript()
                                throws ParseException

### Block

    public final void Block()
                     throws ParseException

### EmptyFunction

    public final void EmptyFunction()
                             throws ParseException

### SizeFunction

    public final void SizeFunction()
                            throws ParseException

### Identifier

    public final void Identifier()
                          throws ParseException

### Expression

    public final void Expression()
                          throws ParseException

### Assignment

    public final void Assignment()
                          throws ParseException

### ConditionalOrExpression

    public final void ConditionalOrExpression()
                                       throws ParseException

### ConditionalAndExpression

    public final void ConditionalAndExpression()
                                        throws ParseException

### InclusiveOrExpression

    public final void InclusiveOrExpression()
                                     throws ParseException

### ExclusiveOrExpression

    public final void ExclusiveOrExpression()
                                     throws ParseException

### AndExpression

    public final void AndExpression()
                             throws ParseException

### EqualityExpression

    public final void EqualityExpression()
                                  throws ParseException

### RelationalExpression

    public final void RelationalExpression()
                                    throws ParseException

### AdditiveExpression

    public final void AdditiveExpression()
                                  throws ParseException

### MultiplicativeExpression

    public final void MultiplicativeExpression()
                                        throws ParseException

### UnaryExpression

    public final void UnaryExpression()
                               throws ParseException

### PrimaryExpression

    public final void PrimaryExpression()
                                 throws ParseException

### Literal

    public final void Literal()
                       throws ParseException

### NullLiteral

    public final void NullLiteral()
                           throws ParseException

### BooleanLiteral

    public final void BooleanLiteral()
                              throws ParseException

### IntegerLiteral

    public final void IntegerLiteral()
                              throws ParseException

### FloatLiteral

    public final void FloatLiteral()
                            throws ParseException

### StringLiteral

    public final void StringLiteral()
                             throws ParseException

### Statement

    public final void Statement()
                         throws ParseException

### ExpressionExpression

    public final void ExpressionExpression()
                                    throws ParseException

### StatementExpression

    public final void StatementExpression()
                                   throws ParseException

### ReferenceExpression

    public final void ReferenceExpression()
                                   throws ParseException

### IfStatement

    public final void IfStatement()
                           throws ParseException

### WhileStatement

    public final void WhileStatement()
                              throws ParseException

### ForeachStatement

    public final void ForeachStatement()
                                throws ParseException

### Method

    public final void Method()
                      throws ParseException

### ArrayAccess

    public final void ArrayAccess()
                           throws ParseException

### SizeMethod

    public final void SizeMethod()
                          throws ParseException

### Reference

    public final void Reference()
                         throws ParseException

### Parameter

    public final void Parameter()
                         throws ParseException

### ReInit

    public void ReInit(InputStream stream)

### ReInit

    public void ReInit(Reader stream)

### ReInit

    public void ReInit(ParserTokenManager tm)

### getNextToken

    public final Token getNextToken()

### getToken

    public final Token getToken(int index)

### generateParseException

    public final ParseException generateParseException()

### enable_tracing

    public final void enable_tracing()

### disable_tracing

    public final void disable_tracing()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2006 The Apache Software Foundation. All Rights Reserved.