#include <expr.h>
Classes | |
class | op_t |
class | parser_t |
struct | token_t |
Public Types | |
enum | check_expr_kind_t { EXPR_GENERAL , EXPR_ASSERTION , EXPR_CHECK } |
typedef std::list< check_expr_pair > | check_expr_list |
typedef std::pair< expr_t, check_expr_kind_t > | check_expr_pair |
typedef intrusive_ptr< const op_t > | const_ptr_op_t |
typedef function< result_type(call_scope_t &) | func_t) |
typedef intrusive_ptr< op_t > | ptr_op_t |
typedef value_t | result_type |
Protected Attributes | |
bool | compiled |
scope_t * | context |
ptr_op_t | ptr |
string | str |
|
inherited |
Definition at line 75 of file exprbase.h.
|
inherited |
Definition at line 73 of file exprbase.h.
ledger::expr_t::expr_t | ( | ) |
ledger::expr_t::expr_t | ( | const string & | _str, |
const parse_flags_t & | flags = PARSE_DEFAULT ) |
ledger::expr_t::expr_t | ( | std::istream & | in, |
const parse_flags_t & | flags = PARSE_DEFAULT ) |
|
virtual |
|
inlineinherited |
Definition at line 180 of file exprbase.h.
|
inlineinherited |
Definition at line 155 of file exprbase.h.
Reimplemented from ledger::expr_base_t< value_t >.
Reimplemented in ledger::merged_expr_t.
value_t & ledger::expr_t::constant_value | ( | ) |
Reimplemented from ledger::expr_base_t< value_t >.
Reimplemented from ledger::expr_base_t< value_t >.
|
inlineinherited |
Definition at line 201 of file exprbase.h.
|
inlineinherited |
Definition at line 185 of file exprbase.h.
func_t & ledger::expr_t::get_function | ( | ) |
ptr_op_t ledger::expr_t::get_op | ( | ) | ||||
throw | ( | ) |
bool ledger::expr_t::is_constant | ( | ) | const |
bool ledger::expr_t::is_function | ( | ) | const |
|
inlinevirtualinherited |
Definition at line 134 of file exprbase.h.
Reimplemented from ledger::expr_base_t< value_t >.
|
inlineinherited |
Definition at line 151 of file exprbase.h.
|
inline |
Definition at line 88 of file expr.h.
References parse(), and ledger::expr_base_t< value_t >::str.
Referenced by parse().
|
virtual |
Reimplemented from ledger::expr_base_t< value_t >.
|
inlineinherited |
Definition at line 215 of file exprbase.h.
|
inlineinherited |
Definition at line 206 of file exprbase.h.
Reimplemented from ledger::expr_base_t< value_t >.
|
inlineinherited |
Definition at line 196 of file exprbase.h.
Implements ledger::expr_base_t< value_t >.
Reimplemented in ledger::predicate_t.
Referenced by ledger::predicate_t::real_calc().
|
inlineinherited |
Definition at line 138 of file exprbase.h.
|
inlineinherited |
Definition at line 188 of file exprbase.h.
|
inlineinherited |
Definition at line 118 of file exprbase.h.
|
inlinevirtualinherited |
Definition at line 115 of file exprbase.h.
|
protectedinherited |
Definition at line 80 of file exprbase.h.
|
protectedinherited |
Definition at line 78 of file exprbase.h.
|
protectedinherited |
Definition at line 79 of file exprbase.h.