Loading...
Searching...
No Matches
ledger::empty_scope_t Class Reference

#include <scope.h>

+ Inheritance diagram for ledger::empty_scope_t:
+ Collaboration diagram for ledger::empty_scope_t:

Public Member Functions

virtual void define (const symbol_t::kind_t, const string &, expr_t::ptr_op_t)
 
virtual string description ()
 
 empty_scope_t ()
 
virtual expr_t::ptr_op_t lookup (const symbol_t::kind_t, const string &)
 
virtual value_t::type_t type_context () const
 
virtual bool type_required () const
 
 ~empty_scope_t () throw ()
 

Static Public Attributes

static scope_tdefault_scope
 
static empty_scope_tempty_scope
 

Detailed Description

Definition at line 117 of file scope.h.

Constructor & Destructor Documentation

◆ empty_scope_t()

ledger::empty_scope_t::empty_scope_t ( )
inline

Definition at line 120 of file scope.h.

References TRACE_CTOR.

◆ ~empty_scope_t()

ledger::empty_scope_t::~empty_scope_t ( )
throw ( )
inline

Definition at line 123 of file scope.h.

References TRACE_DTOR.

Member Function Documentation

◆ define()

virtual void ledger::scope_t::define ( const symbol_t::kind_t ,
const string & ,
expr_t::ptr_op_t  )
inlinevirtualinherited

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().

+ Here is the caller graph for this function:

◆ description()

virtual string ledger::empty_scope_t::description ( )
inlinevirtual

Implements ledger::scope_t.

Definition at line 127 of file scope.h.

References ledger::downcast().

+ Here is the call graph for this function:

◆ lookup()

virtual expr_t::ptr_op_t ledger::empty_scope_t::lookup ( const symbol_t::kind_t ,
const string &  )
inlinevirtual

Implements ledger::scope_t.

Definition at line 130 of file scope.h.

References ledger::downcast().

+ Here is the call graph for this function:

◆ type_context()

virtual value_t::type_t ledger::scope_t::type_context ( ) const
inlinevirtualinherited

Reimplemented in ledger::context_scope_t.

Definition at line 109 of file scope.h.

References ledger::value_t::VOID.

◆ type_required()

virtual bool ledger::scope_t::type_required ( ) const
inlinevirtualinherited

Reimplemented in ledger::context_scope_t.

Definition at line 112 of file scope.h.

Member Data Documentation

◆ default_scope

scope_t* ledger::scope_t::default_scope
staticinherited

◆ empty_scope

empty_scope_t* ledger::scope_t::empty_scope
staticinherited

Definition at line 93 of file scope.h.


The documentation for this class was generated from the following file: