ztsdb
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
interp::BuiltinFrame Struct Reference

Type of frame used when invoking builtin functions (see 'val::BuiltinG'). More...

#include <env.hpp>

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

Public Types

typedef std::tuple< string, val::Value, yy::locationarg_t
 
- Public Types inherited from interp::BaseFrame
typedef map< string, val::Value > map_type
 
typedef map< string, val::Value >::const_iterator const_map_iterator
 

Public Member Functions

 BuiltinFrame (shpfrm u, shared_ptr< interp::Kont > ec, int nargs)
 Construct a buitin frame. After construction, the vector of arguments has a size of n.
 
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)
 
val::Value find (const string &s) const
 
val::Value findLocal (const string &s) const
 
val::Value & findR (const string &s, bool funcall=false)
 
 operator string () const
 
void clearTmp ()
 
void clear ()
 
bool hasFutures ()
 
- Public Member Functions inherited from interp::Frame
 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::SpVAS getNames ()
 
val::Value & add (string s, val::Value &&val)
 
val::Value & addSpecial (string s, val::Value &&val)
 
virtual bool remove (const string &symb)
 
virtual bool removeSpecial (const string &symb)
 
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 bool isShadow ()
 
unsigned getDepth () const
 

Public Attributes

int currentPos
 
vector< std::tuple< string, val::Value, yy::location > > mv
 
- 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
 

Static Public Attributes

static const size_t MAX_ARGS = 5096
 

Additional Inherited Members

- Protected Attributes inherited from interp::BaseFrame
map_type m
 current continuation
 
map_type mtmp
 
unsigned depth
 

Detailed Description

Type of frame used when invoking builtin functions (see 'val::BuiltinG').


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