Collaboration diagram for State:
Public Member Functions | |
State (QueryParser::Internal *qpi_, unsigned flags_) | |
string | stem_term (const string &term) |
void | add_to_stoplist (const Term *term) |
void | add_to_unstem (const string &term, const string &unstemmed) |
valueno | value_range (Query &q, Term *a, Term *b) |
Query::op | default_op () const |
bool | is_stopword (const Term *term) const |
Database | get_database () const |
Public Attributes | |
Query | query |
const char * | error |
unsigned | flags |
Private Attributes | |
QueryParser::Internal * | qpi |
Definition at line 179 of file queryparser_internal.cc.
State::State | ( | QueryParser::Internal * | qpi_, | |
unsigned | flags_ | |||
) | [inline] |
Definition at line 187 of file queryparser_internal.cc.
string State::stem_term | ( | const string & | term | ) | [inline] |
Definition at line 190 of file queryparser_internal.cc.
References qpi, and Xapian::QueryParser::Internal::stemmer.
void State::add_to_stoplist | ( | const Term * | term | ) | [inline] |
Definition at line 194 of file queryparser_internal.cc.
References Term::name, qpi, and Xapian::QueryParser::Internal::stoplist.
Referenced by TermGroup::as_group().
void State::add_to_unstem | ( | const string & | term, | |
const string & | unstemmed | |||
) | [inline] |
Definition at line 198 of file queryparser_internal.cc.
References qpi, and Xapian::QueryParser::Internal::unstem.
Definition at line 202 of file queryparser_internal.cc.
References Xapian::BAD_VALUENO, error, Term::name, qpi, and Xapian::QueryParser::Internal::valrangeprocs.
Query::op State::default_op | ( | ) | const [inline] |
Definition at line 226 of file queryparser_internal.cc.
References Xapian::QueryParser::Internal::default_op, and qpi.
Referenced by TermGroup::as_group().
bool State::is_stopword | ( | const Term * | term | ) | const [inline] |
Definition at line 228 of file queryparser_internal.cc.
References Term::name, qpi, and Xapian::QueryParser::Internal::stopper.
Referenced by TermGroup::as_group().
Database State::get_database | ( | ) | const [inline] |
Definition at line 232 of file queryparser_internal.cc.
References Xapian::QueryParser::Internal::db, and qpi.
Referenced by TermGroup::as_group(), Term::as_partial_query(), and Term::as_wildcarded_query().
QueryParser::Internal* State::qpi [private] |
Definition at line 180 of file queryparser_internal.cc.
Referenced by add_to_stoplist(), add_to_unstem(), default_op(), get_database(), is_stopword(), stem_term(), and value_range().
Definition at line 183 of file queryparser_internal.cc.
const char* State::error |
unsigned State::flags |