#include <scope.h>
Public Member Functions | |
context_scope_t (scope_t &_parent, value_t::type_t _type_context=value_t::VOID, const bool _required=true) | |
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 | ~context_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 283 of file scope.h.
References TRACE_CTOR.
|
inlinevirtual |
Definition at line 290 of file scope.h.
References TRACE_DTOR.
|
inlinevirtualinherited |
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 ledger::child_scope_t::parent.
Implements ledger::scope_t.
Definition at line 294 of file scope.h.
References ledger::scope_t::description(), and ledger::child_scope_t::parent.
|
inlinevirtualinherited |
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 ledger::child_scope_t::parent.
Referenced by ledger::bind_scope_t::lookup(), and ledger::value_scope_t::lookup().
|
inlinevirtual |
Reimplemented from ledger::scope_t.
Reimplemented from ledger::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 |
|
inherited |
Definition at line 138 of file scope.h.
Referenced by ledger::child_scope_t::define(), ledger::bind_scope_t::define(), ledger::symbol_scope_t::description(), description(), ledger::value_scope_t::description(), ledger::find_scope(), and ledger::child_scope_t::lookup().