#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 TRACE_CTOR.
Definition at line 299 of file query.h.
References TRACE_CTOR.
|
inline |
Definition at line 303 of file query.h.
References ledger::downcast(), parse_args(), ledger::string_value(), and TRACE_CTOR.
|
inline |
Definition at line 312 of file query.h.
References ledger::value_t::empty(), parse_args(), and TRACE_CTOR.
|
inlinevirtual |
Definition at line 320 of file query.h.
References TRACE_DTOR.
Definition at line 337 of file query.h.
References ledger::downcast(), ledger::empty_string, and parser.
|
inline |
|
inline |
Definition at line 292 of file query.h.
Referenced by get_query(), has_query(), parse_args(), and tokens_remaining().
|
protected |