Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

QueryParser Class Reference

#include <QueryParser.hpp>

List of all members.

Public Member Functions

void init (QueryLexer *lexer)
void initializeASTFactory (ANTLR_USE_NAMESPACE(antlr) ASTFactory &factory)
 QueryParser (ANTLR_USE_NAMESPACE(antlr) TokenBuffer &tokenBuf)
 QueryParser (ANTLR_USE_NAMESPACE(antlr) TokenStream &lexer)
 QueryParser (const ANTLR_USE_NAMESPACE(antlr) ParserSharedInputState &state)
int getNumTokens () const
const char * getTokenName (int type) const
const char *const * getTokenNames () const
indri::lang::ScoredExtentNodequery ()
indri::lang::ScoredExtentNodescoredExtentNode (indri::lang::RawExtentNode *ou)
indri::lang::ScoredExtentNodeweightNode (indri::lang::RawExtentNode *ou)
indri::lang::ScoredExtentNodecombineNode (indri::lang::RawExtentNode *ou)
indri::lang::ScoredExtentNodeorNode (indri::lang::RawExtentNode *ou)
indri::lang::ScoredExtentNodenotNode (indri::lang::RawExtentNode *ou)
indri::lang::ScoredExtentNodewandNode (indri::lang::RawExtentNode *ou)
indri::lang::ScoredExtentNodewsumNode (indri::lang::RawExtentNode *ou)
indri::lang::ScoredExtentNodemaxNode (indri::lang::RawExtentNode *ou)
indri::lang::PriorNodepriorNode ()
indri::lang::FilRejNodefilrejNode (indri::lang::RawExtentNode *ou)
indri::lang::FilReqNodefilreqNode (indri::lang::RawExtentNode *ou)
indri::lang::FilReqNodescoreifNode (indri::lang::RawExtentNode *ou)
indri::lang::FilRejNodescoreifnotNode (indri::lang::RawExtentNode *ou)
indri::lang::ScoredExtentNodescoredRaw (indri::lang::RawExtentNode *ou)
RawExtentNode * qualifiedTerm ()
ExtentOr * context_list (indri::lang::RawExtentNode *ou)
indri::lang::RawExtentNodeunqualifiedTerm ()
indri::lang::ScoredExtentNodeweightedList (indri::lang::WeightedCombinationNode *wn, indri::lang::RawExtentNode *ou)
indri::lang::ScoredExtentNodeextentRestriction (indri::lang::ScoredExtentNode *sn, indri::lang::RawExtentNode *ou)
double floating ()
indri::lang::ScoredExtentNodesumList (indri::lang::WSumNode *wn, indri::lang::RawExtentNode *ou)
indri::lang::ScoredExtentNodeunweightedList (indri::lang::UnweightedCombinationNode *cn, indri::lang::RawExtentNode *ou)
indri::lang::ScoredExtentNodesumNode (indri::lang::RawExtentNode *ou)
indri::lang::WeightedExtentOrwsynNode ()
RawExtentNode * unscoredTerm ()
indri::lang::ODNodeodNode ()
indri::lang::UWNodeuwNode ()
indri::lang::BAndNodebandNode ()
indri::lang::FieldanyField ()
std::string fieldNameString ()
indri::lang::ExtentAndfield_list ()
indri::lang::FieldLessNodedateBefore ()
indri::lang::FieldGreaterNodedateAfter ()
indri::lang::FieldBetweenNodedateBetween ()
indri::lang::FieldEqualsNodedateEquals ()
indri::lang::ExtentOrsynonym_list ()
indri::lang::ExtentOrsynonym_list_brace ()
indri::lang::ExtentOrsynonym_list_alt ()
indri::lang::FieldLessNodelessNode ()
indri::lang::FieldGreaterNodegreaterNode ()
indri::lang::FieldBetweenNodebetweenNode ()
indri::lang::FieldEqualsNodeequalsNode ()
indri::lang::IndexTermrawText ()
indri::lang::ODNodehyphenTerm ()
indri::lang::WildcardTermwildcardOpNode ()
indri::lang::IndexTermhyphenate ()
std::string fstring ()
indri::lang::ExtentInsidepath ()
indri::lang::ExtentInsidepathOperator ()
indri::lang::Fieldfield_restriction ()
UINT64 date ()
UINT64 slashDate ()
UINT64 spaceDate ()
UINT64 dashDate ()
INT64 number ()
 ANTLR_USE_NAMESPACE (antlr) RefAST getAST()

Protected Member Functions

 QueryParser (ANTLR_USE_NAMESPACE(antlr) TokenBuffer &tokenBuf, int k)
 QueryParser (ANTLR_USE_NAMESPACE(antlr) TokenStream &lexer, int k)
 ANTLR_USE_NAMESPACE (antlr) RefAST returnAST

Private Member Functions

indri::lang::RawExtentNodeinnerMost (indri::lang::ScoredExtentNode *sr)

Static Private Member Functions

const  ANTLR_USE_NAMESPACE (antlr) BitSet _tokenSet_0
const  ANTLR_USE_NAMESPACE (antlr) BitSet _tokenSet_1
const  ANTLR_USE_NAMESPACE (antlr) BitSet _tokenSet_2
const  ANTLR_USE_NAMESPACE (antlr) BitSet _tokenSet_3
const  ANTLR_USE_NAMESPACE (antlr) BitSet _tokenSet_4
const  ANTLR_USE_NAMESPACE (antlr) BitSet _tokenSet_5
const  ANTLR_USE_NAMESPACE (antlr) BitSet _tokenSet_6
const  ANTLR_USE_NAMESPACE (antlr) BitSet _tokenSet_7
const  ANTLR_USE_NAMESPACE (antlr) BitSet _tokenSet_8
const  ANTLR_USE_NAMESPACE (antlr) BitSet _tokenSet_9

Private Attributes

std::vector< indri::lang::Node * > _nodes
indri::utility::VectorDeleter<
indri::lang::Node * > 
_deleter

Static Private Attributes

const char * tokenNames []
const int NUM_TOKENS = 69
const unsigned long _tokenSet_0_data_ [] = { 4294967264UL, 791621UL, 15UL, 0UL, 0UL, 0UL, 0UL, 0UL }
const unsigned long _tokenSet_1_data_ []
const unsigned long _tokenSet_2_data_ []
const unsigned long _tokenSet_3_data_ []
const unsigned long _tokenSet_4_data_ []
const unsigned long _tokenSet_5_data_ []
const unsigned long _tokenSet_6_data_ []
const unsigned long _tokenSet_7_data_ []
const unsigned long _tokenSet_8_data_ []
const unsigned long _tokenSet_9_data_ []


Constructor & Destructor Documentation

QueryParser::QueryParser ANTLR_USE_NAMESPACE(antlr) TokenBuffer &  tokenBuf,
int  k
[protected]
 

QueryParser::QueryParser ANTLR_USE_NAMESPACE(antlr) TokenBuffer &  tokenBuf  ) 
 

QueryParser::QueryParser ANTLR_USE_NAMESPACE(antlr) TokenStream &  lexer,
int  k
[protected]
 

QueryParser::QueryParser ANTLR_USE_NAMESPACE(antlr) TokenStream &  lexer  ) 
 

QueryParser::QueryParser const ANTLR_USE_NAMESPACE(antlr) ParserSharedInputState &  state  ) 
 


Member Function Documentation

const QueryParser::ANTLR_USE_NAMESPACE antlr   )  [static, private]
 

const QueryParser::ANTLR_USE_NAMESPACE antlr   )  [static, private]
 

const QueryParser::ANTLR_USE_NAMESPACE antlr   )  [static, private]
 

const QueryParser::ANTLR_USE_NAMESPACE antlr   )  [static, private]
 

const QueryParser::ANTLR_USE_NAMESPACE antlr   )  [static, private]
 

const QueryParser::ANTLR_USE_NAMESPACE antlr   )  [static, private]
 

const QueryParser::ANTLR_USE_NAMESPACE antlr   )  [static, private]
 

const QueryParser::ANTLR_USE_NAMESPACE antlr   )  [static, private]
 

const QueryParser::ANTLR_USE_NAMESPACE antlr   )  [static, private]
 

const QueryParser::ANTLR_USE_NAMESPACE antlr   )  [static, private]
 

QueryParser::ANTLR_USE_NAMESPACE antlr   )  [protected]
 

QueryParser::ANTLR_USE_NAMESPACE antlr   )  [inline]
 

indri::lang::Field * QueryParser::anyField  ) 
 

indri::lang::BAndNode * QueryParser::bandNode  ) 
 

indri::lang::FieldBetweenNode * QueryParser::betweenNode  ) 
 

indri::lang::ScoredExtentNode * QueryParser::combineNode indri::lang::RawExtentNode ou  ) 
 

ExtentOr * QueryParser::context_list indri::lang::RawExtentNode ou  ) 
 

UINT64 QueryParser::dashDate  ) 
 

UINT64 QueryParser::date  ) 
 

indri::lang::FieldGreaterNode * QueryParser::dateAfter  ) 
 

indri::lang::FieldLessNode * QueryParser::dateBefore  ) 
 

indri::lang::FieldBetweenNode * QueryParser::dateBetween  ) 
 

indri::lang::FieldEqualsNode * QueryParser::dateEquals  ) 
 

indri::lang::FieldEqualsNode * QueryParser::equalsNode  ) 
 

indri::lang::ScoredExtentNode * QueryParser::extentRestriction indri::lang::ScoredExtentNode sn,
indri::lang::RawExtentNode ou
 

indri::lang::ExtentAnd * QueryParser::field_list  ) 
 

indri::lang::Field * QueryParser::field_restriction  ) 
 

std::string QueryParser::fieldNameString  ) 
 

indri::lang::FilRejNode * QueryParser::filrejNode indri::lang::RawExtentNode ou  ) 
 

indri::lang::FilReqNode * QueryParser::filreqNode indri::lang::RawExtentNode ou  ) 
 

double QueryParser::floating  ) 
 

std::string QueryParser::fstring  ) 
 

int QueryParser::getNumTokens  )  const [inline]
 

const char* QueryParser::getTokenName int  type  )  const [inline]
 

const char* const* QueryParser::getTokenNames  )  const [inline]
 

indri::lang::FieldGreaterNode * QueryParser::greaterNode  ) 
 

indri::lang::IndexTerm * QueryParser::hyphenate  ) 
 

indri::lang::ODNode * QueryParser::hyphenTerm  ) 
 

void QueryParser::init QueryLexer lexer  )  [inline]
 

void QueryParser::initializeASTFactory ANTLR_USE_NAMESPACE(antlr) ASTFactory &  factory  ) 
 

indri::lang::RawExtentNode* QueryParser::innerMost indri::lang::ScoredExtentNode sr  )  [inline, private]
 

indri::lang::FieldLessNode * QueryParser::lessNode  ) 
 

indri::lang::ScoredExtentNode * QueryParser::maxNode indri::lang::RawExtentNode ou  ) 
 

indri::lang::ScoredExtentNode * QueryParser::notNode indri::lang::RawExtentNode ou  ) 
 

INT64 QueryParser::number  ) 
 

indri::lang::ODNode * QueryParser::odNode  ) 
 

indri::lang::ScoredExtentNode * QueryParser::orNode indri::lang::RawExtentNode ou  ) 
 

indri::lang::ExtentInside * QueryParser::path  ) 
 

indri::lang::ExtentInside * QueryParser::pathOperator  ) 
 

indri::lang::PriorNode * QueryParser::priorNode  ) 
 

RawExtentNode * QueryParser::qualifiedTerm  ) 
 

indri::lang::ScoredExtentNode * QueryParser::query  ) 
 

indri::lang::IndexTerm * QueryParser::rawText  ) 
 

indri::lang::ScoredExtentNode * QueryParser::scoredExtentNode indri::lang::RawExtentNode ou  ) 
 

indri::lang::ScoredExtentNode * QueryParser::scoredRaw indri::lang::RawExtentNode ou  ) 
 

indri::lang::FilReqNode * QueryParser::scoreifNode indri::lang::RawExtentNode ou  ) 
 

indri::lang::FilRejNode * QueryParser::scoreifnotNode indri::lang::RawExtentNode ou  ) 
 

UINT64 QueryParser::slashDate  ) 
 

UINT64 QueryParser::spaceDate  ) 
 

indri::lang::ScoredExtentNode * QueryParser::sumList indri::lang::WSumNode wn,
indri::lang::RawExtentNode ou
 

indri::lang::ScoredExtentNode * QueryParser::sumNode indri::lang::RawExtentNode ou  ) 
 

indri::lang::ExtentOr * QueryParser::synonym_list  ) 
 

indri::lang::ExtentOr * QueryParser::synonym_list_alt  ) 
 

indri::lang::ExtentOr * QueryParser::synonym_list_brace  ) 
 

indri::lang::RawExtentNode * QueryParser::unqualifiedTerm  ) 
 

RawExtentNode * QueryParser::unscoredTerm  ) 
 

indri::lang::ScoredExtentNode * QueryParser::unweightedList indri::lang::UnweightedCombinationNode cn,
indri::lang::RawExtentNode ou
 

indri::lang::UWNode * QueryParser::uwNode  ) 
 

indri::lang::ScoredExtentNode * QueryParser::wandNode indri::lang::RawExtentNode ou  ) 
 

indri::lang::ScoredExtentNode * QueryParser::weightedList indri::lang::WeightedCombinationNode wn,
indri::lang::RawExtentNode ou
 

indri::lang::ScoredExtentNode * QueryParser::weightNode indri::lang::RawExtentNode ou  ) 
 

indri::lang::WildcardTerm * QueryParser::wildcardOpNode  ) 
 

indri::lang::ScoredExtentNode * QueryParser::wsumNode indri::lang::RawExtentNode ou  ) 
 

indri::lang::WeightedExtentOr * QueryParser::wsynNode  ) 
 


Member Data Documentation

indri::utility::VectorDeleter<indri::lang::Node*> QueryParser::_deleter [private]
 

std::vector<indri::lang::Node*> QueryParser::_nodes [private]
 

const unsigned long QueryParser::_tokenSet_0_data_ = { 4294967264UL, 791621UL, 15UL, 0UL, 0UL, 0UL, 0UL, 0UL } [static, private]
 

const unsigned long QueryParser::_tokenSet_1_data_[] [static, private]
 

const unsigned long QueryParser::_tokenSet_2_data_[] [static, private]
 

const unsigned long QueryParser::_tokenSet_3_data_[] [static, private]
 

const unsigned long QueryParser::_tokenSet_4_data_[] [static, private]
 

const unsigned long QueryParser::_tokenSet_5_data_[] [static, private]
 

const unsigned long QueryParser::_tokenSet_6_data_[] [static, private]
 

const unsigned long QueryParser::_tokenSet_7_data_[] [static, private]
 

const unsigned long QueryParser::_tokenSet_8_data_[] [static, private]
 

const unsigned long QueryParser::_tokenSet_9_data_[] [static, private]
 

const int QueryParser::NUM_TOKENS = 69 [static, private]
 

const char * QueryParser::tokenNames [static, private]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:02:58 2010 for Lemur by doxygen 1.3.4