Package webwork.expr
Class Parser
java.lang.Object
webwork.expr.Parser
- All Implemented Interfaces:
ParserConstants
The WebWork Expression language Parser and Interpreter.
- Version:
- $Revision: 1.21 $
- Author:
- Maurice C. Parker (maurice@vineyardenterprise.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionNext token.protected static org.apache.commons.logging.LogCurrent token.Generated Token Manager. -
Constructor Summary
ConstructorsConstructorDescriptionParser(InputStream stream) Constructor with InputStream.Parser(InputStream stream, String encoding) Constructor with InputStream and supplied encodingConstructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanfinal voidDisable tracing.final voidEnable tracing.final ObjectGenerate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final booleanvoidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.voidsetValueStack(ValueStack valueStack) Set the value stackfinal booleantest()
-
Field Details
-
log
protected static org.apache.commons.logging.Log log -
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
Parser
Constructor with InputStream. -
Parser
Constructor with InputStream and supplied encoding -
Parser
Constructor. -
Parser
Constructor with generated Token Manager.
-
-
Method Details
-
setValueStack
Set the value stack -
test
- Throws:
ParseException
-
logical_and_expression
- Throws:
ParseException
-
comparative_expression
- Throws:
ParseException
-
findValue
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-