#include <query.h>
Classes | |
class | lexer_t |
class | parser_t |
Public Types | |
enum | kind_t { QUERY_LIMIT , QUERY_SHOW , QUERY_ONLY , QUERY_BOLD , QUERY_FOR } |
typedef std::map< kind_t, string > | query_map_t |
Public Member Functions | |
string | get_query (const kind_t &id) const |
bool | has_query (const kind_t &id) const |
expr_t::ptr_op_t | parse_args (const value_t &args, const keep_details_t &what_to_keep=keep_details_t(), bool multiple_args=true, bool subexpression=false) |
query_t () | |
query_t (const query_t &other) | |
query_t (const string &arg, const keep_details_t &what_to_keep=keep_details_t(), bool multiple_args=true) | |
query_t (const value_t &args, const keep_details_t &what_to_keep=keep_details_t(), bool multiple_args=true) | |
bool | tokens_remaining () |
virtual | ~query_t () |
Protected Attributes | |
optional< parser_t > | parser |
query_map_t | predicates |
typedef std::map<kind_t, string> ledger::query_t::query_map_t |
|
inline |
Definition at line 296 of file query.h.
References query_t(), and TRACE_CTOR.
Referenced by query_t(), query_t(), query_t(), query_t(), and ~query_t().
|
inline |
Definition at line 299 of file query.h.
References parser, predicates, query_t(), and TRACE_CTOR.
|
inline |
Definition at line 303 of file query.h.
References parse_args(), query_t(), ledger::string_value(), ledger::value_t::to_sequence(), and TRACE_CTOR.
|
inline |
Definition at line 312 of file query.h.
References ledger::value_t::empty(), parse_args(), query_t(), and TRACE_CTOR.
|
inlinevirtual |
Definition at line 320 of file query.h.
References query_t(), and TRACE_DTOR.
Definition at line 337 of file query.h.
References ledger::empty_string, and parser.
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 292 of file query.h.
Referenced by get_query(), has_query(), parse_args(), query_t(), and tokens_remaining().
|
protected |