ztsdb
|
The default frame associated with an interpretation context. More...
#include <env.hpp>
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::Kont > | getec () |
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::Kont > | bc |
shared_ptr< interp::Kont > | ec |
begin continuation | |
shared_ptr< interp::Kont > | cc |
escape continuation | |
Protected Attributes inherited from interp::BaseFrame | |
map_type | m |
current continuation | |
map_type | mtmp |
unsigned | depth |
The default frame associated with an interpretation context.