| Fields inherited from interface no.sesat.search.query.parser.QueryParserImplConstants |
AND, ANDNOT, CLOSEP, DEFAULT, DIGIT, EMAIL, EMAIL_DISABLED, ENCODED_CHAR, EOF, FIELD_SUFFIX, HYPON, INTEGER, LETTER, NOT, NUMBER_GROUP, NUMBER_GROUP_DISABLED, OPENP, OR, PHONE_MIDDLE, PHONE_NUMBER, PHONE_NUMBER_DISABLED, PHONE_SYMBOL, QUOTED_WORD, QUOTED_WORD_DISABLED, tokenImage, URL, URL_DISABLED, URL_WORD, WORD, WORD_SYMBOL_MIDDLE, WORD_SYMBOL_PREFIX |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public QueryParserImplTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
QueryParserImpl
public QueryParserImpl(QueryParser.Context cxt)
QueryParserImpl
public QueryParserImpl(QueryParser.Context cxt,
int lexicalState)
QueryParserImpl
public QueryParserImpl(InputStream stream)
QueryParserImpl
public QueryParserImpl(InputStream stream,
String encoding)
QueryParserImpl
public QueryParserImpl(Reader stream)
QueryParserImpl
public QueryParserImpl(QueryParserImplTokenManager tm)
parse
public final Clause parse()
throws ParseException
- Description copied from class:
AbstractQueryParser
- do the actual parsing.
This method shouldn't be public but that's the way javacc creates it unfortunately.
- Specified by:
parse in class AbstractQueryParser
- Returns:
- the clause hierarchy ready to wrap a Query around.
- Throws:
ParseException - when parsing the inputted query string.
rootPrecedence
public final Clause rootPrecedence()
throws ParseException
- PRECEDENCES
- Throws:
ParseException
noPrecedence
public final Clause noPrecedence()
throws ParseException
- Throws:
ParseException
looseJoinPrecedence
public final Clause looseJoinPrecedence()
throws ParseException
- Throws:
ParseException
strongJoinPrecedence
public final Clause strongJoinPrecedence()
throws ParseException
- Throws:
ParseException
leafPrecedence
public final Clause leafPrecedence()
throws ParseException
- Throws:
ParseException
hiddenDefaultOperation
public final DefaultOperatorClause hiddenDefaultOperation()
throws ParseException
- OPERATIONS
- Throws:
ParseException
andNotOperation
public final AndNotClause andNotOperation()
throws ParseException
- Throws:
ParseException
orOperation
public final Clause orOperation()
throws ParseException
- Throws:
ParseException
andOperation
public final AndClause andOperation()
throws ParseException
- Throws:
ParseException
hiddenAndOperation
public final AndClause hiddenAndOperation()
throws ParseException
- Throws:
ParseException
hiddenOrOperation
public final Clause hiddenOrOperation()
throws ParseException
- Throws:
ParseException
notOperation
public final NotClause notOperation()
throws ParseException
- Throws:
ParseException
leaf
public final Clause leaf()
throws ParseException
- LEAVES
- Throws:
ParseException
fieldedLeaf
public final Clause fieldedLeaf(Token field)
throws ParseException
- Throws:
ParseException
fieldedQuote
public final Clause fieldedQuote(Token field)
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(InputStream stream)
ReInit
public void ReInit(InputStream stream,
String encoding)
ReInit
public void ReInit(Reader stream)
- Specified by:
ReInit in class AbstractQueryParser
ReInit
public void ReInit(QueryParserImplTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()
Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.