public class MatchOpQLParser extends Object implements MatchOpQLParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
MatchOpQLParserTokenManager |
token_source
Generated Token Manager.
|
BAND, BASE64, BASE64WORD, CLOSE_PAREN, COLON, COLON_KV, COMBINE, DEFAULT, EOF, EQUALS, FUZZY, HASH, INT, OPEN_PAREN, OPEN_PAREN_KV, OW, PERIOD, PREFIX, SYN, TAG, tokenImage, UW, WithinCombineKV, WithinIndri, WORD, WORD_OR_INT_OR_FLOAT| Constructor and Description |
|---|
MatchOpQLParser(InputStream stream)
Constructor with InputStream.
|
MatchOpQLParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
MatchOpQLParser(MatchOpQLParserTokenManager tm)
Constructor with generated Token Manager.
|
MatchOpQLParser(Reader stream)
Constructor.
|
MatchOpQLParser(String r) |
public MatchOpQLParserTokenManager token_source
public Token token
public Token jj_nt
public MatchOpQLParser(String r)
public MatchOpQLParser(InputStream stream)
public MatchOpQLParser(InputStream stream, String encoding)
public MatchOpQLParser(Reader stream)
public MatchOpQLParser(MatchOpQLParserTokenManager tm)
public static void main(String[] args)
public final List<MatchingQueryTerms.MatchingTerm> parseOne() throws ParseException
ParseExceptionpublic final List<MatchingQueryTerms.MatchingTerm> parseAll() throws ParseException
ParseExceptionpublic final MatchingQueryTerms.MatchingTerm parse() throws ParseException
ParseExceptionpublic final List<MatchingQueryTerms.MatchingTerm> combine() throws ParseException
ParseExceptionpublic final List<MatchingQueryTerms.MatchingTerm> tag() throws ParseException
ParseExceptionpublic final MatchingQueryTerms.MatchingTerm prefix() throws ParseException
ParseExceptionpublic final MatchingQueryTerms.MatchingTerm syn() throws ParseException
ParseExceptionpublic final MatchingQueryTerms.MatchingTerm band() throws ParseException
ParseExceptionpublic final MatchingQueryTerms.MatchingTerm uw() throws ParseException
ParseExceptionpublic final MatchingQueryTerms.MatchingTerm ow() throws ParseException
ParseExceptionpublic final MatchingQueryTerms.MatchingTerm ow_implicit() throws ParseException
ParseExceptionpublic final MatchingQueryTerms.MatchingTerm fuzzy() throws ParseException
ParseExceptionpublic final MatchingQueryTerms.MatchingTerm base64() throws ParseException
ParseExceptionpublic final MatchingQueryTerms.MatchingTerm word() throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(MatchOpQLParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow