public class ExprParser extends antlr.LLkParser implements ExprParserTokenTypes
| Modifier and Type | Field and Description |
|---|---|
static String[] |
_tokenNames |
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepthAND, BOOL, CLOSE, EOF, NOT, NULL_TREE_LOOKAHEAD, OPEN, OR, WS| Modifier | Constructor and Description |
|---|---|
|
ExprParser(antlr.ParserSharedInputState state) |
|
ExprParser(antlr.TokenBuffer tokenBuf) |
protected |
ExprParser(antlr.TokenBuffer tokenBuf,
int k) |
|
ExprParser(antlr.TokenStream lexer) |
protected |
ExprParser(antlr.TokenStream lexer,
int k) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
and_expr() |
Expression |
expression() |
Expression |
neg_expr() |
Expression |
or_expr() |
Expression |
prim_expr() |
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, traceIndentpublic static final String[] _tokenNames
protected ExprParser(antlr.TokenBuffer tokenBuf,
int k)
public ExprParser(antlr.TokenBuffer tokenBuf)
protected ExprParser(antlr.TokenStream lexer,
int k)
public ExprParser(antlr.TokenStream lexer)
public ExprParser(antlr.ParserSharedInputState state)
public final Expression expression() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionExceptionantlr.TokenStreamExceptionpublic final Expression or_expr() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionExceptionantlr.TokenStreamExceptionpublic final Expression and_expr() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionExceptionantlr.TokenStreamExceptionpublic final Expression neg_expr() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionExceptionantlr.TokenStreamExceptionpublic final Expression prim_expr() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionExceptionantlr.TokenStreamExceptionCopyright © 2015. All rights reserved.