Package com.sun.labs.minion.retrieval.parser

Provides the query parsers available in Minion.

See:
          Description

Interface Summary
LuceneParserConstants  
LuceneParserTreeConstants  
Node  
StrictParserConstants  
StrictParserTreeConstants  
WebParserConstants  
WebParserTreeConstants  
 

Class Summary
JavaCharStream An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing).
LuceneASTAND  
LuceneASTdoParse  
LuceneASTfield  
LuceneASTgroup  
LuceneASTOR  
LuceneASTq  
LuceneASTrange  
LuceneASTterm  
LuceneASTUND  
LuceneElementFactory Creates QueryElements based on SimpleNodes generated from the parser
LuceneParser  
LuceneParserTokenManager  
LuceneTransformer This class transforms the output of a JavaCC/JJTree tree into a tree of query elements that the query evaluator can understand.
Parser This is a common super-class for all parsers so that SimpleNode doesn't need to be specific to each one.
SimpleNode  
StrictASTdoParse  
StrictASTfieldname  
StrictASTindexed_fieldoperator  
StrictASTq  
StrictASTqe  
StrictASTqeparen  
StrictASTqiAND  
StrictASTqif  
StrictASTqiOR  
StrictASTqp  
StrictASTqpAND  
StrictASTqpOR  
StrictASTqpPASS  
StrictASTqUND  
StrictASTsaved_fieldoperator  
StrictASTsaved_fieldvalue  
StrictASTterm  
StrictElementFactory Creates QueryElements based on SimpleNodes generated from the parser
StrictParser  
StrictParserTokenManager  
StrictTransformer This class transforms the output of JavaCC into a tree of query elements that the query evaluator can understand.
Token Describes the input token stream.
Transformer This class transforms the output of JavaCC into a tree of query elements that the query evaluator can understand.
WebASTdoParse  
WebASTpassageTerm  
WebASTphraseTerm  
WebASTq  
WebASTterm  
WebElementFactory Creates QueryElements based on SimpleNodes generated from the parser
WebParser  
WebParserTokenManager  
WebTransformer This class transforms the output of JavaCC into a tree of query elements that the query evaluator can understand.
 

Exception Summary
ParseException This exception is thrown when parse errors are encountered.
 

Error Summary
TokenMgrError  
 

Package com.sun.labs.minion.retrieval.parser Description

Provides the query parsers available in Minion.

This package contains the JJTree/JavaCC files that generate the parsers for Minions available grammars. For each grammar file (.jjt) there is also a Transformer class that transforms the tree output from JJTree into a tree of Minion operators by using the corresponding ElementFactory class. Most of the classes in this package are generated by JavaCC.