Class GeneratedFormulaParser
java.lang.Object
org.pentaho.reporting.libraries.formula.parser.GeneratedFormulaParser
- All Implemented Interfaces:
GeneratedFormulaParserConstants
- Direct Known Subclasses:
FormulaParser
public abstract class GeneratedFormulaParser
extends Object
implements GeneratedFormulaParserConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from interface org.pentaho.reporting.libraries.formula.parser.GeneratedFormulaParserConstants
APPROXIMATE_NUMERIC_LITERAL, BINARY_DIGIT, COLON, COLUMN_LOOKUP, COMMA, CONCAT, DEFAULT, DIGIT, DIV, DQUOTE, EOF, EQUALS, EXACT_NUMERIC_LITERAL, EXPONENT_PART, GT, GT_EQUALS, HEX_DIGIT, IDENTIFIER, L_BRACE, L_BRACKET, L_PAREN, LETTER, LT, LT_EQUALS, MANTISSA, MINUS, MULT, NEWLINE, NON_ZERO_DIGIT, NONQUOTE_CHARACTER, NONQUOTE_LOOKUP, NOT_EQUALS, NULL, PERCENT, PERIOD, PIPE, PLUS, POW, QUEST, QUOTE, R_BRACE, R_BRACKET, R_PAREN, SEMICOLON, SIGN, STRING_LITERAL, tokenImage, UNSIGNED_INTEGER, UNSIGNED_NUMERIC_LITERAL, WHITESPACE
-
Constructor Summary
ConstructorsConstructorDescriptionGeneratedFormulaParser
(InputStream stream) Constructor with InputStream.GeneratedFormulaParser
(InputStream stream, String encoding) Constructor with InputStream and supplied encodingGeneratedFormulaParser
(Reader stream) Constructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
Disable tracing.final void
Enable tracing.Generate ParseException.final LValue
final InfixOperator
final LValue
final Token
Get the next Token.final PostfixOperator
final PrefixOperator
final Token
getToken
(int index) Get the specific Token.final LValue
final LValue
parseFunction
(String name, ParsePosition parsePosition) final LValue[]
parseRow()
void
ReInit
(InputStream stream) Reinitialise.void
ReInit
(InputStream stream, String encoding) Reinitialise.void
Reinitialise.void
Reinitialise.final Term
final boolean
Trace enabled.
-
Field Details
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
GeneratedFormulaParser
Constructor with InputStream. -
GeneratedFormulaParser
Constructor with InputStream and supplied encoding -
GeneratedFormulaParser
Constructor. -
GeneratedFormulaParser
Constructor with generated Token Manager.
-
-
Method Details
-
getExpression
- Throws:
ParseException
-
startTail
- Throws:
ParseException
-
getLValue
- Throws:
ParseException
-
parseArray
- Throws:
ParseException
-
parseRow
- Throws:
ParseException
-
parseFunction
- Throws:
ParseException
-
getPrefixOperator
- Throws:
ParseException
-
getPostfixOperator
- Throws:
ParseException
-
getInfixOperator
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
trace_enabled
public final boolean trace_enabled()Trace enabled. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-