#include <scope.h>
Public Member Functions | |
child_scope_t () | |
child_scope_t (scope_t &_parent) | |
virtual void | define (const symbol_t::kind_t kind, const string &name, expr_t::ptr_op_t def) |
virtual string | description ()=0 |
virtual expr_t::ptr_op_t | lookup (const symbol_t::kind_t kind, const string &name) |
virtual value_t::type_t | type_context () const |
virtual bool | type_required () const |
virtual | ~child_scope_t () |
Public Attributes | |
scope_t * | parent |
Static Public Attributes | |
static scope_t * | default_scope |
static empty_scope_t * | empty_scope |
|
inlineexplicit |
Definition at line 140 of file scope.h.
References TRACE_CTOR.
|
inlineexplicit |
Definition at line 143 of file scope.h.
References TRACE_CTOR.
|
inlinevirtual |
Definition at line 146 of file scope.h.
References TRACE_DTOR.
|
inlinevirtual |
Reimplemented from ledger::scope_t.
Reimplemented in ledger::bind_scope_t, and ledger::symbol_scope_t.
Definition at line 150 of file scope.h.
References ledger::scope_t::define(), ledger::downcast(), and parent.
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().
|
inlinevirtual |
Implements ledger::scope_t.
Reimplemented in ledger::bind_scope_t, ledger::symbol_scope_t, ledger::value_scope_t, and ledger::session_t.
Definition at line 156 of file scope.h.
References ledger::downcast(), ledger::scope_t::lookup(), and parent.
Referenced by ledger::bind_scope_t::lookup(), and ledger::value_scope_t::lookup().
|
inlinevirtualinherited |
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.
|
staticinherited |
Definition at line 92 of file scope.h.
Referenced by ledger::global_scope_t::pop_report(), and ledger::global_scope_t::push_report().
|
staticinherited |
scope_t* ledger::child_scope_t::parent |
Definition at line 138 of file scope.h.
Referenced by define(), ledger::bind_scope_t::define(), ledger::symbol_scope_t::description(), ledger::context_scope_t::description(), ledger::value_scope_t::description(), ledger::find_scope(), and lookup().