public class FormulaParser extends antlr.LLkParser implements FormulaParserTokenTypes
Modifier and Type | Field and Description |
---|---|
static String[] |
_tokenNames |
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
ABS, ALPHABETICAL, AMP, CELL_REF, COLON, COMMA, DIGIT, DIV, EOF, EQ, EXCL, FUNCTION, GT, GTEQ, LETTER, LPAR, LT, LTEQ, MINUS, MULTI, NAME, NEQ, NULL_TREE_LOOKAHEAD, NUMBER, PERCENT, PLUS, POWER, QUOT, RPAR, SEMI, STRING, WS
Modifier | Constructor and Description |
---|---|
|
FormulaParser(antlr.ParserSharedInputState state) |
|
FormulaParser(antlr.TokenBuffer tokenBuf) |
protected |
FormulaParser(antlr.TokenBuffer tokenBuf,
int k) |
|
FormulaParser(antlr.TokenStream lexer) |
protected |
FormulaParser(antlr.TokenStream lexer,
int k) |
Modifier and Type | Method and Description |
---|---|
void |
arithmetic_high() |
void |
arithmetic_highest() |
void |
arithmetic_low() |
void |
arithmetic_lowest() |
void |
arithmetic_medium() |
void |
atom() |
protected void |
buildTokenTypeASTClassMap() |
void |
comparison() |
void |
concatenation() |
void |
expression()
The start rule for formula expressions.
|
void |
function_call() |
void |
literal() |
void |
reference() |
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
public static final String[] _tokenNames
protected FormulaParser(antlr.TokenBuffer tokenBuf, int k)
public FormulaParser(antlr.TokenBuffer tokenBuf)
protected FormulaParser(antlr.TokenStream lexer, int k)
public FormulaParser(antlr.TokenStream lexer)
public FormulaParser(antlr.ParserSharedInputState state)
public final void expression() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void comparison() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void concatenation() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void arithmetic_lowest() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void arithmetic_low() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void arithmetic_medium() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void arithmetic_high() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void arithmetic_highest() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void atom() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void function_call() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void reference() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void literal() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
protected void buildTokenTypeASTClassMap()