ztsdb
Public Member Functions | List of all members
interp::Frame Struct Reference

The default frame associated with an interpretation context. More...

#include <env.hpp>

Inheritance diagram for interp::Frame:
interp::BaseFrame interp::BuiltinFrame interp::ClosureFrame interp::ShadowFrame

Public Member Functions

 Frame (const string &name_p, shpfrm g=nullptr, shpfrm u=nullptr, shared_ptr< interp::Kont > bc=nullptr, shared_ptr< interp::Kont > ec=shared_ptr< interp::Kont >(), shared_ptr< interp::Kont > cc=nullptr)
 
val::Value find (const string &s) const
 
val::Value findLocal (const string &s) const
 
val::Value & findR (const string &s, bool funcall=false)
 
val::SpVAS getNames ()
 
val::Value & add (string s, val::Value &&val)
 
val::Value & addSpecial (string s, val::Value &&val)
 
val::Value & addArg (string s, val::Value &&val, const yy::location &loc, bool isRef)
 
val::Value & addEllipsis (string s, val::Value &&val, const yy::location &loc, bool isRef)
 
virtual bool remove (const string &symb)
 
virtual bool removeSpecial (const string &symb)
 
 operator string () const
 
void clearTmp ()
 
virtual bool isFrame ()
 
- Public Member Functions inherited from interp::BaseFrame
 BaseFrame (const string &name_p, shpfrm g, shpfrm u, shared_ptr< interp::Kont > bc_p=nullptr, shared_ptr< interp::Kont > ec_p=shared_ptr< interp::Kont >(), shared_ptr< interp::Kont > cc_p=nullptr)
 
shared_ptr< interp::Kontgetec ()
 
void resetec ()
 
std::vector< BaseFrame * > getStack (std::vector< BaseFrame * > s=std::vector< BaseFrame * >())
 
virtual shpfrm getTrueFrame ()
 
virtual void clear ()
 
virtual bool isShadow ()
 
unsigned getDepth () const
 

Additional Inherited Members

- Public Types inherited from interp::BaseFrame
typedef map< string, val::Value > map_type
 
typedef map< string, val::Value >::const_iterator const_map_iterator
 
- Public Attributes inherited from interp::BaseFrame
string name
 
shpfrm up
 
shpfrm global
 
shared_ptr< interp::Kontbc
 
shared_ptr< interp::Kontec
 begin continuation
 
shared_ptr< interp::Kontcc
 escape continuation
 
- Protected Attributes inherited from interp::BaseFrame
map_type m
 current continuation
 
map_type mtmp
 
unsigned depth
 

Detailed Description

The default frame associated with an interpretation context.


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