#include <scope.h>
Public Member Functions | |
virtual void | define (const symbol_t::kind_t, const string &, expr_t::ptr_op_t) |
virtual string | description ()=0 |
virtual expr_t::ptr_op_t | lookup (const symbol_t::kind_t kind, const string &name)=0 |
scope_t () | |
virtual value_t::type_t | type_context () const |
virtual bool | type_required () const |
virtual | ~scope_t () |
Static Public Attributes | |
static scope_t * | default_scope |
static empty_scope_t * | empty_scope |
|
inlineexplicit |
Definition at line 95 of file scope.h.
References TRACE_CTOR.
|
inlinevirtual |
Definition at line 98 of file scope.h.
References TRACE_DTOR.
|
inlinevirtual |
Reimplemented in ledger::report_t, ledger::child_scope_t, ledger::bind_scope_t, ledger::symbol_scope_t, and ledger::item_t.
Definition at line 104 of file scope.h.
Referenced by ledger::child_scope_t::define(), and ledger::bind_scope_t::define().
Implemented in ledger::account_t, ledger::global_scope_t, ledger::post_t, ledger::report_t, ledger::empty_scope_t, ledger::bind_scope_t, ledger::symbol_scope_t, ledger::context_scope_t, ledger::value_scope_t, ledger::session_t, ledger::xact_t, ledger::auto_xact_t, and ledger::period_xact_t.
Referenced by ledger::bind_scope_t::description(), ledger::symbol_scope_t::description(), ledger::context_scope_t::description(), ledger::value_scope_t::description(), and ledger::search_scope().
|
pure virtual |
Implemented in ledger::account_t, ledger::global_scope_t, ledger::item_t, ledger::post_t, ledger::report_t, ledger::child_scope_t, ledger::bind_scope_t, ledger::symbol_scope_t, ledger::value_scope_t, ledger::session_t, ledger::xact_t, and ledger::empty_scope_t.
Referenced by ledger::child_scope_t::lookup(), and ledger::bind_scope_t::lookup().
|
inlinevirtual |
Reimplemented in ledger::context_scope_t.
Definition at line 109 of file scope.h.
References ledger::value_t::VOID.
Reimplemented in ledger::context_scope_t.
|
static |
Definition at line 92 of file scope.h.
Referenced by ledger::global_scope_t::pop_report(), and ledger::global_scope_t::push_report().
|
static |