#include <scope.h>
Public Member Functions | |
bind_scope_t (scope_t &_parent, scope_t &_grandchild) | |
virtual void | define (const symbol_t::kind_t kind, const string &name, expr_t::ptr_op_t def) |
virtual string | description () |
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 | ~bind_scope_t () |
Public Attributes | |
scope_t & | grandchild |
scope_t * | parent |
Static Public Attributes | |
static scope_t * | default_scope |
static empty_scope_t * | empty_scope |
Definition at line 171 of file scope.h.
References DEBUG, ledger::downcast(), and TRACE_CTOR.
|
inlinevirtual |
Definition at line 178 of file scope.h.
References TRACE_DTOR.
|
inlinevirtual |
Reimplemented from ledger::child_scope_t.
Definition at line 186 of file scope.h.
References ledger::scope_t::define(), ledger::downcast(), grandchild, and ledger::child_scope_t::parent.
Implements ledger::scope_t.
Definition at line 182 of file scope.h.
References ledger::scope_t::description(), and grandchild.
|
inlinevirtual |
Reimplemented from ledger::child_scope_t.
Definition at line 192 of file scope.h.
References ledger::downcast(), grandchild, ledger::child_scope_t::lookup(), and ledger::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::bind_scope_t::grandchild |
Definition at line 169 of file scope.h.
Referenced by define(), description(), and lookup().
|
inherited |
Definition at line 138 of file scope.h.
Referenced by ledger::child_scope_t::define(), define(), ledger::symbol_scope_t::description(), ledger::context_scope_t::description(), ledger::value_scope_t::description(), ledger::find_scope(), and ledger::child_scope_t::lookup().