Package org.intermine.pathquery
Class LogicParser
- java.lang.Object
-
- antlr.Parser
-
- antlr.LLkParser
-
- org.intermine.pathquery.LogicParser
-
- All Implemented Interfaces:
LogicTokenTypes
public class LogicParser extends antlr.LLkParser implements LogicTokenTypes
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]
_tokenNames
-
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
-
Fields inherited from interface org.intermine.pathquery.LogicTokenTypes
AND_EXPR, CLOSE_PAREN, EOF, IDENTIFIER, LITERAL_and, LITERAL_or, NULL_TREE_LOOKAHEAD, OPEN_PAREN, OR_EXPR, WS
-
-
Constructor Summary
Constructors Modifier Constructor Description LogicParser(antlr.ParserSharedInputState state)
LogicParser(antlr.TokenBuffer tokenBuf)
protected
LogicParser(antlr.TokenBuffer tokenBuf, int k)
LogicParser(antlr.TokenStream lexer)
protected
LogicParser(antlr.TokenStream lexer, int k)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
andExpr()
void
atom()
void
bracketedExpr()
protected void
buildTokenTypeASTClassMap()
void
expr()
void
orExpr()
-
Methods inherited from class antlr.Parser
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
-
-
-
-
Constructor Detail
-
LogicParser
protected LogicParser(antlr.TokenBuffer tokenBuf, int k)
-
LogicParser
public LogicParser(antlr.TokenBuffer tokenBuf)
-
LogicParser
protected LogicParser(antlr.TokenStream lexer, int k)
-
LogicParser
public LogicParser(antlr.TokenStream lexer)
-
LogicParser
public LogicParser(antlr.ParserSharedInputState state)
-
-
Method Detail
-
expr
public final void expr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
orExpr
public final void orExpr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
andExpr
public final void andExpr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
atom
public final void atom() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
bracketedExpr
public final void bracketedExpr() throws antlr.RecognitionException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
-
buildTokenTypeASTClassMap
protected void buildTokenTypeASTClassMap()
-
-