89 std::istringstream stream(
str);
106 virtual void print(std::ostream& out)
const;
107 virtual void dump(std::ostream& out)
const;
169 exprs.push_front(expr);
173 exprs.push_back(expr);
#define TRACE_CTOR(cls, args)
Abstract dynamic type representing various numeric types.
expr_t::ptr_op_t as_expr(const value_t &val)
value_t source_command(call_scope_t &scope)
value_t expr_value(expr_t::ptr_op_t op)
bool is_expr(const value_t &val)
Dealing with expr pointers tucked into value objects.
void set_expr(value_t &val, expr_t::ptr_op_t op)
virtual void parse(std::istream &in, const parse_flags_t &flags=PARSE_DEFAULT, const optional< string > &original_string=none)
expr_t(const string &_str, const parse_flags_t &flags=PARSE_DEFAULT)
intrusive_ptr< op_t > ptr_op_t
virtual void compile(scope_t &scope)
value_t & constant_value()
virtual value_t real_calc(scope_t &scope)
void parse(const string &str, const parse_flags_t &flags=PARSE_DEFAULT)
intrusive_ptr< const op_t > const_ptr_op_t
std::pair< expr_t, check_expr_kind_t > check_expr_pair
const value_t & constant_value() const
expr_t & operator=(const expr_t &_expr)
virtual void dump(std::ostream &out) const
std::list< check_expr_pair > check_expr_list
virtual void print(std::ostream &out) const
expr_t(ptr_op_t _ptr, scope_t *_context=NULL)
expr_t(const expr_t &other)
virtual string context_to_str() const
expr_t(std::istream &in, const parse_flags_t &flags=PARSE_DEFAULT)
void append(const string &expr)
merged_expr_t(const string &_term, const string &expr, const string &merge_op=";")
std::list< string > exprs
void set_term(const string &_term)
void remove(const string &expr)
bool check_for_single_identifier(const string &expr)
void set_merge_operator(const string &merge_op)
virtual void compile(scope_t &scope)
void prepend(const string &expr)
void set_base_expr(const string &expr)
function< result_type(call_scope_t &) func_t)
Dynamic type representing various numeric types.