com.sun.labs.minion.retrieval.parser
Class StrictParser
java.lang.Object
com.sun.labs.minion.retrieval.parser.Parser
com.sun.labs.minion.retrieval.parser.StrictParser
- All Implemented Interfaces:
- StrictParserConstants, StrictParserTreeConstants
public class StrictParser
- extends Parser
- implements StrictParserTreeConstants, StrictParserConstants
Fields inherited from interface com.sun.labs.minion.retrieval.parser.StrictParserTreeConstants |
JJTDOPARSE, JJTFIELDNAME, JJTINDEXED_FIELDOPERATOR, jjtNodeName, JJTQ, JJTQE, JJTQEPAREN, JJTQIAND, JJTQIF, JJTQIOR, JJTQP, JJTQPAND, JJTQPOR, JJTQPPASS, JJTQUND, JJTSAVED_FIELDOPERATOR, JJTSAVED_FIELDVALUE, JJTTERM |
Fields inherited from interface com.sun.labs.minion.retrieval.parser.StrictParserConstants |
AND, BSLASH, CASE, CONTAINS, DECIMAL, DEFAULT, DUBQUOTE, ENDS, EOF, EQUALS, EXACT, EXPAND, GEQ, GREATER, GT, HIDE, IF, INTEGER, LEQ, LESS, LETTER, LP, LT, MATCHES, MORPH, NEAR, NEARN, NGRAMTOKEN, NONSPACESEPCHAR, NOT, NOTEQUAL, OR, PAND, PASSAGE, PHRASE, PUNCTCHAR1, PUNCTCHAR2, PUNCTUATION, RP, SAND, SEQUENCE, SIMILAR, SINQUOTE, SOR, SPACESEPCHAR, SPACESEPCHAR1, SPACESEPCHAR2, SPACESEPCHAR3, SPACESEPCHAR4, SPACESEPCHAR5, SPACESEPCHAR6, SPACESEPCHAR7, SPACESEPCHAR8, SPACESEPCHAR9, SPACESEPTOKEN, SPANS, STARTS, STEM, SUBSTRING, tokenImage, TOR, UNDEFINED, VALIDCHAR, WEIGHT, WHITECHAR, WHITESPACE, WILD, WITHIN, WORD, WORDSTRING |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jjtree
protected com.sun.labs.minion.retrieval.parser.JJTStrictParserState jjtree
token_source
public StrictParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
StrictParser
public StrictParser(java.io.InputStream stream)
StrictParser
public StrictParser(java.io.InputStream stream,
java.lang.String encoding)
StrictParser
public StrictParser(java.io.Reader stream)
StrictParser
public StrictParser(StrictParserTokenManager tm)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
doParse
public final SimpleNode doParse()
throws ParseException
- Specified by:
doParse
in class Parser
- Throws:
ParseException
q
public final void q()
throws ParseException
- Throws:
ParseException
qe
public final void qe()
throws ParseException
- Throws:
ParseException
qp
public final void qp()
throws ParseException
- Throws:
ParseException
qiAND
public final void qiAND()
throws ParseException
- Throws:
ParseException
qpAND
public final void qpAND()
throws ParseException
- Throws:
ParseException
qiOR
public final void qiOR()
throws ParseException
- Throws:
ParseException
qpOR
public final void qpOR()
throws ParseException
- Throws:
ParseException
qUND
public final void qUND()
throws ParseException
- Throws:
ParseException
qpPASS
public final void qpPASS()
throws ParseException
- Throws:
ParseException
term
public final void term()
throws ParseException
- Throws:
ParseException
qeparen
public final void qeparen()
throws ParseException
- Throws:
ParseException
qif
public final void qif()
throws ParseException
- Throws:
ParseException
fieldname
public final void fieldname()
throws ParseException
- Throws:
ParseException
indexed_fieldoperator
public final void indexed_fieldoperator()
throws ParseException
- Throws:
ParseException
saved_fieldoperator
public final void saved_fieldoperator()
throws ParseException
- Throws:
ParseException
saved_fieldvalue
public final void saved_fieldvalue()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.InputStream stream,
java.lang.String encoding)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(StrictParserTokenManager 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()