public class TerrierQueryParser extends antlr.LLkParser implements TerrierQueryParserTokenTypes
Modifier and Type | Field and Description |
---|---|
static String[] |
_tokenNames |
static antlr.collections.impl.BitSet |
_tokenSet_0 |
static antlr.collections.impl.BitSet |
_tokenSet_1 |
static antlr.collections.impl.BitSet |
_tokenSet_10 |
static antlr.collections.impl.BitSet |
_tokenSet_11 |
static antlr.collections.impl.BitSet |
_tokenSet_12 |
static antlr.collections.impl.BitSet |
_tokenSet_2 |
static antlr.collections.impl.BitSet |
_tokenSet_3 |
static antlr.collections.impl.BitSet |
_tokenSet_4 |
static antlr.collections.impl.BitSet |
_tokenSet_5 |
static antlr.collections.impl.BitSet |
_tokenSet_6 |
static antlr.collections.impl.BitSet |
_tokenSet_7 |
static antlr.collections.impl.BitSet |
_tokenSet_8 |
static antlr.collections.impl.BitSet |
_tokenSet_9 |
protected static boolean |
DEBUG |
protected static org.slf4j.Logger |
logger |
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
ALPHANUMERIC, ALPHANUMERIC_CHAR, CLOSE_DISJUNCTIVE, CLOSE_PAREN, CLOSE_SEGMENT, COLON, DIT, EOF, HAT, IGNORED, INT, NOT_REQUIRED, NULL_TREE_LOOKAHEAD, NUM_FLOAT, NUM_INT, OPEN_DISJUNCTIVE, OPEN_PAREN, OPEN_SEGMENT, PERIOD, PROXIMITY, QUOTE, REQUIRED
Modifier | Constructor and Description |
---|---|
|
TerrierQueryParser(antlr.ParserSharedInputState state) |
|
TerrierQueryParser(antlr.TokenBuffer tokenBuf) |
protected |
TerrierQueryParser(antlr.TokenBuffer tokenBuf,
int k) |
|
TerrierQueryParser(antlr.TokenStream lexer) |
protected |
TerrierQueryParser(antlr.TokenStream lexer,
int k) |
Modifier and Type | Method and Description |
---|---|
Query |
disjunctiveQuery() |
Query |
explicitMultiTermQuery() |
Query |
fieldQuery() |
Query |
impliedMultiTermQuery() |
Query |
phraseQuery() |
Query |
query() |
void |
recover(antlr.RecognitionException ex,
antlr.collections.impl.BitSet tokenSet) |
Query |
requirementQuery() |
Query |
segmentQuery() |
void |
setSelector(antlr.TokenStreamSelector s) |
Query |
singleTermQuery() |
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
protected static final org.slf4j.Logger logger
protected static final boolean DEBUG
public static final String[] _tokenNames
public static final antlr.collections.impl.BitSet _tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_7
public static final antlr.collections.impl.BitSet _tokenSet_8
public static final antlr.collections.impl.BitSet _tokenSet_9
public static final antlr.collections.impl.BitSet _tokenSet_10
public static final antlr.collections.impl.BitSet _tokenSet_11
public static final antlr.collections.impl.BitSet _tokenSet_12
protected TerrierQueryParser(antlr.TokenBuffer tokenBuf, int k)
public TerrierQueryParser(antlr.TokenBuffer tokenBuf)
protected TerrierQueryParser(antlr.TokenStream lexer, int k)
public TerrierQueryParser(antlr.TokenStream lexer)
public TerrierQueryParser(antlr.ParserSharedInputState state)
public void setSelector(antlr.TokenStreamSelector s)
public void recover(antlr.RecognitionException ex, antlr.collections.impl.BitSet tokenSet) throws antlr.TokenStreamException
antlr.TokenStreamException
public final Query query() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final Query impliedMultiTermQuery() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final Query explicitMultiTermQuery() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final Query segmentQuery() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final Query phraseQuery() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final Query disjunctiveQuery() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final Query fieldQuery() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final Query requirementQuery() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final Query singleTermQuery() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow