org.pentaho.reporting.libraries.formula.parser
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
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 |
token_source
public GeneratedFormulaParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
GeneratedFormulaParser
public GeneratedFormulaParser(InputStream stream)
GeneratedFormulaParser
public GeneratedFormulaParser(Reader stream)
GeneratedFormulaParser
public GeneratedFormulaParser(GeneratedFormulaParserTokenManager tm)
getExpression
public final LValue getExpression()
throws ParseException
- Throws:
ParseException
startTail
public final Term startTail(LValue retval)
throws ParseException
- Throws:
ParseException
getLValue
public final LValue getLValue()
throws ParseException
- Throws:
ParseException
parseArray
public final LValue parseArray()
throws ParseException
- Throws:
ParseException
parseRow
public final LValue[] parseRow()
throws ParseException
- Throws:
ParseException
parseFunction
public final LValue parseFunction(String name,
ParsePosition parsePosition)
throws ParseException
- Throws:
ParseException
getPrefixOperator
public final PrefixOperator getPrefixOperator()
throws ParseException
- Throws:
ParseException
getPostfixOperator
public final PostfixOperator getPostfixOperator()
throws ParseException
- Throws:
ParseException
getInfixOperator
public final InfixOperator getInfixOperator()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(InputStream stream)
ReInit
public void ReInit(Reader stream)
ReInit
public void ReInit(GeneratedFormulaParserTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()