ztsdb
Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
interp::BaseFrame Struct Referenceabstract
Inheritance diagram for interp::BaseFrame:
interp::Frame interp::BuiltinFrame interp::ClosureFrame interp::ShadowFrame

Public Types

typedef map< string, val::Value > map_type
 
typedef map< string, val::Value >::const_iterator const_map_iterator
 

Public Member Functions

 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 val::Value find (const string &s) const =0
 
virtual val::Value findLocal (const string &s) const =0
 
virtual val::Value & findR (const string &s, bool funcall=false)=0
 
virtual val::SpVAS getNames ()=0
 
virtual val::Value & add (string s, val::Value &&val)=0
 
virtual val::Value & addSpecial (string s, val::Value &&val)=0
 
virtual val::Value & addEllipsis (string s, val::Value &&val, const yy::location &loc, bool isRef)=0
 
virtual val::Value & addArg (string s, val::Value &&val, const yy::location &loc, bool isRef)=0
 
virtual bool remove (const string &symb)=0
 
virtual bool removeSpecial (const string &symb)=0
 
virtual shpfrm getTrueFrame ()
 
virtual operator string () const =0
 
virtual void clearTmp ()=0
 
virtual void clear ()
 
virtual bool isFrame ()
 
virtual bool isShadow ()
 
unsigned getDepth () const
 

Public Attributes

string name
 
shpfrm up
 
shpfrm global
 
shared_ptr< interp::Kontbc
 
shared_ptr< interp::Kontec
 begin continuation
 
shared_ptr< interp::Kontcc
 escape continuation
 

Protected Attributes

map_type m
 current continuation
 
map_type mtmp
 
unsigned depth
 

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