GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
stack_frame Class Referenceabstract

#include "stack-frame.h"

Inherited by base_value_stack_frame, compiled_fcn_stack_frame, and script_stack_frame.

Public Types

enum  auto_var_type {
  ARG_NAMES , IGNORED , NARGIN , NARGOUT ,
  SAVED_WARNING_STATES , NUM_AUTO_VARS
}
 
typedef std::map< std::string, octave_valuelocal_vars_map
 
enum  scope_flags { LOCAL , GLOBAL , PERSISTENT }
 

Public Member Functions

 stack_frame ()=delete
 
 stack_frame (const stack_frame &elt)=default
 
 stack_frame (tree_evaluator &tw, std::size_t index, const std::shared_ptr< stack_frame > &parent_link, const std::shared_ptr< stack_frame > &static_link, const std::shared_ptr< stack_frame > &access_link)
 
virtual ~stack_frame ()=default
 
virtual void accept (stack_frame_walker &sfw)=0
 
std::shared_ptr< stack_frameaccess_link () const
 
symbol_info_list all_variables ()
 
void assign (const std::string &name, const octave_value &val)
 
void assign (const symbol_record &sym, const octave_value &val)
 
void assign (octave_value::assign_op op, const symbol_record &sym, const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
 
virtual void break_closure_cycles (const std::shared_ptr< stack_frame > &)
 
void clear (const symbol_record &sym)
 
void clear_objects ()
 
void clear_parent_static_link ()
 
virtual void clear_values ()
 
void clear_variable (const std::string &name)
 
void clear_variable_pattern (const std::string &pattern)
 
void clear_variable_pattern (const string_vector &patterns)
 
void clear_variable_regexp (const std::string &pattern)
 
void clear_variable_regexp (const string_vector &patterns)
 
void clear_variables ()
 
virtual int column () const
 
void column (int c)
 
virtual void display (bool follow=true) const
 
void display_stopped_in_message (std::ostream &os) const
 
std::string fcn_file_name () const
 
std::string fcn_name (bool print_subfn=true) const
 
octave_value find_subfunction (const std::string &name) const
 
virtual octave_functionfunction () const
 
virtual octave_value get_auto_fcn_var (auto_var_type) const =0
 
std::string get_dispatch_class () const
 
virtual symbol_scope get_scope () const =0
 
virtual scope_flags get_scope_flag (std::size_t) const
 
symbol_info_list get_symbol_info ()
 
symbol_info_list glob_symbol_info (const std::string &pattern)
 
std::size_t index () const
 
virtual symbol_record insert_symbol (const std::string &)=0
 
void install_variable (const std::string &name, const octave_value &value, bool global)
 
void install_variable (const symbol_record &sym, const octave_value &value, bool global)
 
bool is_closure_context () const
 
virtual bool is_compiled_fcn_frame () const
 
bool is_defined (const symbol_record &sym) const
 
bool is_global (const std::string &name) const
 
bool is_global (const symbol_record &sym) const
 
bool is_local_variable (const std::string &name) const
 
bool is_object (const std::string &name) const
 
bool is_object (const symbol_record &sym) const
 
bool is_persistent (const std::string &name) const
 
bool is_persistent (const symbol_record &sym) const
 
virtual bool is_scope_frame () const
 
virtual bool is_user_fcn_frame () const
 
virtual bool is_user_script_frame () const
 
bool is_variable (const std::string &name) const
 
bool is_variable (const symbol_record &sym) const
 
virtual int line () const
 
void line (int l)
 
virtual symbol_record lookup_symbol (const std::string &) const =0
 
void make_global (const symbol_record &sym)
 
void make_persistent (const symbol_record &sym)
 
symbol_info_list make_symbol_info_list (const std::list< symbol_record > &symrec_list) const
 
void mark_closure_context ()
 
void mark_global (const symbol_record &sym)
 
void mark_persistent (const symbol_record &sym)
 
virtual void mark_scope (const symbol_record &, scope_flags)=0
 
void non_const_unary_op (octave_value::unary_op op, const symbol_record &sym, const std::string &type, const std::list< octave_value_list > &idx)
 
stack_frameoperator= (const stack_frame &elt)=delete
 
std::size_t parent_frame_index () const
 
std::shared_ptr< stack_frameparent_link () const
 
symbol_info_list regexp_symbol_info (const std::string &pattern)
 
virtual void resize (std::size_t)
 
virtual scope_flags scope_flag (const symbol_record &) const =0
 
virtual void set_auto_fcn_var (auto_var_type, const octave_value &)=0
 
void set_dispatch_class (const std::string &class_name)
 
virtual void set_nargin (int nargin)
 
virtual void set_nargout (int nargout)
 
virtual void set_scope_flag (std::size_t, scope_flags)
 
virtual std::size_t size () const
 
std::shared_ptr< stack_framestatic_link () const
 
void unmark_global (const symbol_record &sym)
 
void unmark_persistent (const symbol_record &sym)
 
virtual unwind_protectunwind_protect_frame ()
 
octave_value value (const symbol_record &sym, const std::string &type, const std::list< octave_value_list > &idx) const
 
std::list< std::string > variable_names () const
 
virtual octave_valuevarref (const symbol_record &sym)=0
 
virtual octave_valuevarref (std::size_t data_offset)
 
octave_value varval (const std::string &name) const
 
virtual octave_value varval (const symbol_record &sym) const =0
 
virtual octave_value varval (std::size_t data_offset) const
 
octave_value who (const string_vector &patterns, bool have_regexp, bool return_list, bool verbose, const std::string &whos_line_fmt, const std::string &msg)
 
octave_value workspace ()
 

Static Public Member Functions

static stack_framecreate (tree_evaluator &tw, const symbol_scope &scope, std::size_t index, const std::shared_ptr< stack_frame > &parent_link, const std::shared_ptr< stack_frame > &static_link)
 
static stack_framecreate (tree_evaluator &tw, octave_function *fcn, std::size_t index, const std::shared_ptr< stack_frame > &parent_link, const std::shared_ptr< stack_frame > &static_link)
 
static stack_framecreate (tree_evaluator &tw, octave_user_function *fcn, std::size_t index, const std::shared_ptr< stack_frame > &parent_link, const std::shared_ptr< stack_frame > &static_link, const local_vars_map &local_vars, const std::shared_ptr< stack_frame > &access_link=std::shared_ptr< stack_frame >())
 
static stack_framecreate (tree_evaluator &tw, octave_user_function *fcn, std::size_t index, const std::shared_ptr< stack_frame > &parent_link, const std::shared_ptr< stack_frame > &static_link, const std::shared_ptr< stack_frame > &access_link=std::shared_ptr< stack_frame >())
 
static stack_framecreate (tree_evaluator &tw, octave_user_script *script, std::size_t index, const std::shared_ptr< stack_frame > &parent_link, const std::shared_ptr< stack_frame > &static_link)
 

Protected Attributes

std::shared_ptr< stack_framem_access_link
 
int m_column
 
std::string m_dispatch_class
 
tree_evaluatorm_evaluator
 
std::size_t m_index
 
bool m_is_closure_context
 
int m_line
 
std::shared_ptr< stack_framem_parent_link
 
std::shared_ptr< stack_framem_static_link
 

Detailed Description

Definition at line 108 of file stack-frame.h.

Member Typedef Documentation

◆ local_vars_map

typedef std::map<std::string, octave_value> stack_frame::local_vars_map

Definition at line 112 of file stack-frame.h.

Member Enumeration Documentation

◆ auto_var_type

Enumerator
ARG_NAMES 
IGNORED 
NARGIN 
NARGOUT 
SAVED_WARNING_STATES 
NUM_AUTO_VARS 

Definition at line 130 of file stack-frame.h.

◆ scope_flags

Enumerator
LOCAL 
GLOBAL 
PERSISTENT 

Definition at line 120 of file stack-frame.h.

Constructor & Destructor Documentation

◆ stack_frame() [1/3]

stack_frame::stack_frame ( )
delete

◆ stack_frame() [2/3]

stack_frame::stack_frame ( tree_evaluator tw,
std::size_t  index,
const std::shared_ptr< stack_frame > &  parent_link,
const std::shared_ptr< stack_frame > &  static_link,
const std::shared_ptr< stack_frame > &  access_link 
)
inline

Definition at line 142 of file stack-frame.h.

◆ stack_frame() [3/3]

stack_frame::stack_frame ( const stack_frame elt)
default

◆ ~stack_frame()

virtual stack_frame::~stack_frame ( )
virtualdefault

Member Function Documentation

◆ accept()

virtual void stack_frame::accept ( stack_frame_walker &  sfw)
pure virtual

◆ access_link()

std::shared_ptr<stack_frame> stack_frame::access_link ( ) const
inline

Definition at line 326 of file stack-frame.h.

References m_access_link.

Referenced by create(), display(), mark_closure_context(), and workspace().

◆ all_variables()

symbol_info_list stack_frame::all_variables ( )

Definition at line 1185 of file stack-frame.cc.

References accept().

Referenced by get_symbol_info(), and workspace().

◆ assign() [1/3]

void stack_frame::assign ( const std::string &  name,
const octave_value val 
)
inline

Definition at line 469 of file stack-frame.h.

References assign(), and insert_symbol().

◆ assign() [2/3]

void stack_frame::assign ( const symbol_record sym,
const octave_value val 
)
inline

◆ assign() [3/3]

void stack_frame::assign ( octave_value::assign_op  op,
const symbol_record sym,
const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
)
inline

Definition at line 476 of file stack-frame.h.

References octave_value::assign(), assign(), octave_value::op_asn_eq, and varref().

◆ break_closure_cycles()

virtual void stack_frame::break_closure_cycles ( const std::shared_ptr< stack_frame > &  )
inlinevirtual

Definition at line 568 of file stack-frame.h.

◆ clear()

void stack_frame::clear ( const symbol_record sym)
inline

Definition at line 530 of file stack-frame.h.

References assign(), is_global(), is_persistent(), unmark_global(), and unmark_persistent().

Referenced by install_variable().

◆ clear_objects()

void stack_frame::clear_objects ( )

Definition at line 1381 of file stack-frame.cc.

References accept().

◆ clear_parent_static_link()

void stack_frame::clear_parent_static_link ( )
inline

Definition at line 310 of file stack-frame.h.

References m_parent_link, and m_static_link.

◆ clear_values()

void stack_frame::clear_values ( )
virtual

Definition at line 1114 of file stack-frame.cc.

References warning().

◆ clear_variable()

void stack_frame::clear_variable ( const std::string &  name)

Definition at line 1389 of file stack-frame.cc.

References accept().

◆ clear_variable_pattern() [1/2]

void stack_frame::clear_variable_pattern ( const std::string &  pattern)

Definition at line 1397 of file stack-frame.cc.

References accept().

◆ clear_variable_pattern() [2/2]

void stack_frame::clear_variable_pattern ( const string_vector patterns)

Definition at line 1405 of file stack-frame.cc.

References accept().

◆ clear_variable_regexp() [1/2]

void stack_frame::clear_variable_regexp ( const std::string &  pattern)

Definition at line 1413 of file stack-frame.cc.

References accept().

◆ clear_variable_regexp() [2/2]

void stack_frame::clear_variable_regexp ( const string_vector patterns)

Definition at line 1421 of file stack-frame.cc.

References accept().

◆ clear_variables()

void stack_frame::clear_variables ( )

Definition at line 1429 of file stack-frame.cc.

References accept().

◆ column() [1/2]

virtual int stack_frame::column ( ) const
inlinevirtual

Definition at line 208 of file stack-frame.h.

References m_column.

◆ column() [2/2]

void stack_frame::column ( int  c)
inline

Definition at line 207 of file stack-frame.h.

References m_column.

◆ create() [1/5]

stack_frame * stack_frame::create ( tree_evaluator tw,
const symbol_scope scope,
std::size_t  index,
const std::shared_ptr< stack_frame > &  parent_link,
const std::shared_ptr< stack_frame > &  static_link 
)
static

Definition at line 1101 of file stack-frame.cc.

References index(), parent_link(), and static_link().

◆ create() [2/5]

stack_frame * stack_frame::create ( tree_evaluator tw,
octave_function fcn,
std::size_t  index,
const std::shared_ptr< stack_frame > &  parent_link,
const std::shared_ptr< stack_frame > &  static_link 
)
static

Definition at line 1057 of file stack-frame.cc.

References index(), parent_link(), and static_link().

Referenced by call_stack::push().

◆ create() [3/5]

stack_frame * stack_frame::create ( tree_evaluator tw,
octave_user_function fcn,
std::size_t  index,
const std::shared_ptr< stack_frame > &  parent_link,
const std::shared_ptr< stack_frame > &  static_link,
const local_vars_map local_vars,
const std::shared_ptr< stack_frame > &  access_link = std::shared_ptr<stack_frame> () 
)
static

Definition at line 1088 of file stack-frame.cc.

References access_link(), index(), parent_link(), and static_link().

◆ create() [4/5]

stack_frame * stack_frame::create ( tree_evaluator tw,
octave_user_function fcn,
std::size_t  index,
const std::shared_ptr< stack_frame > &  parent_link,
const std::shared_ptr< stack_frame > &  static_link,
const std::shared_ptr< stack_frame > &  access_link = std::shared_ptr<stack_frame> () 
)
static

Definition at line 1077 of file stack-frame.cc.

References access_link(), index(), parent_link(), and static_link().

◆ create() [5/5]

stack_frame * stack_frame::create ( tree_evaluator tw,
octave_user_script script,
std::size_t  index,
const std::shared_ptr< stack_frame > &  parent_link,
const std::shared_ptr< stack_frame > &  static_link 
)
static

Definition at line 1067 of file stack-frame.cc.

References index(), parent_link(), and static_link().

◆ display()

void stack_frame::display ( bool  follow = true) const
virtual

◆ display_stopped_in_message()

void stack_frame::display_stopped_in_message ( std::ostream &  os) const

Definition at line 1437 of file stack-frame.cc.

References fcn_file_name(), fcn_name(), index(), and line().

◆ fcn_file_name()

std::string stack_frame::fcn_file_name ( ) const
inline

Definition at line 210 of file stack-frame.h.

References octave_function::fcn_file_name().

Referenced by display_stopped_in_message().

◆ fcn_name()

std::string stack_frame::fcn_name ( bool  print_subfn = true) const
inline

◆ find_subfunction()

octave_value stack_frame::find_subfunction ( const std::string &  name) const
inline

Definition at line 523 of file stack-frame.h.

References symbol_scope::find_subfunction(), and get_scope().

◆ function()

virtual octave_function* stack_frame::function ( ) const
inlinevirtual

Definition at line 243 of file stack-frame.h.

◆ get_auto_fcn_var()

virtual octave_value stack_frame::get_auto_fcn_var ( auto_var_type  ) const
pure virtual

◆ get_dispatch_class()

std::string stack_frame::get_dispatch_class ( ) const
inline

Definition at line 553 of file stack-frame.h.

References m_dispatch_class.

◆ get_scope()

virtual symbol_scope stack_frame::get_scope ( ) const
pure virtual

Referenced by find_subfunction(), and variable_names().

◆ get_scope_flag()

stack_frame::scope_flags stack_frame::get_scope_flag ( std::size_t  ) const
virtual

Definition at line 1294 of file stack-frame.cc.

References panic_impossible.

◆ get_symbol_info()

symbol_info_list stack_frame::get_symbol_info ( )
inline

Definition at line 273 of file stack-frame.h.

References all_variables().

◆ glob_symbol_info()

symbol_info_list stack_frame::glob_symbol_info ( const std::string &  pattern)

Definition at line 1254 of file stack-frame.cc.

References accept().

◆ index()

std::size_t stack_frame::index ( ) const
inline

Definition at line 202 of file stack-frame.h.

References m_index.

Referenced by create(), and display_stopped_in_message().

◆ insert_symbol()

virtual symbol_record stack_frame::insert_symbol ( const std::string &  )
pure virtual

Referenced by assign(), and install_variable().

◆ install_variable() [1/2]

void stack_frame::install_variable ( const std::string &  name,
const octave_value value,
bool  global 
)
inline

Definition at line 427 of file stack-frame.h.

References insert_symbol(), install_variable(), and value().

◆ install_variable() [2/2]

◆ is_closure_context()

bool stack_frame::is_closure_context ( ) const
inline

Definition at line 585 of file stack-frame.h.

References m_is_closure_context.

◆ is_compiled_fcn_frame()

virtual bool stack_frame::is_compiled_fcn_frame ( ) const
inlinevirtual

Definition at line 195 of file stack-frame.h.

◆ is_defined()

bool stack_frame::is_defined ( const symbol_record sym) const
inline

Definition at line 352 of file stack-frame.h.

References octave_value::is_defined(), and varval().

◆ is_global() [1/2]

bool stack_frame::is_global ( const std::string &  name) const
inline

Definition at line 405 of file stack-frame.h.

References is_global(), and lookup_symbol().

◆ is_global() [2/2]

bool stack_frame::is_global ( const symbol_record sym) const
inline

◆ is_local_variable()

bool stack_frame::is_local_variable ( const std::string &  name) const
inline

Definition at line 373 of file stack-frame.h.

References is_global(), is_variable(), and lookup_symbol().

◆ is_object() [1/2]

bool stack_frame::is_object ( const std::string &  name) const
inline

Definition at line 387 of file stack-frame.h.

References is_object(), and lookup_symbol().

◆ is_object() [2/2]

bool stack_frame::is_object ( const symbol_record sym) const
inline

Definition at line 380 of file stack-frame.h.

References octave_value::isobject(), and varval().

Referenced by is_object().

◆ is_persistent() [1/2]

bool stack_frame::is_persistent ( const std::string &  name) const
inline

Definition at line 417 of file stack-frame.h.

References is_persistent(), and lookup_symbol().

◆ is_persistent() [2/2]

bool stack_frame::is_persistent ( const symbol_record sym) const
inline

Definition at line 412 of file stack-frame.h.

References PERSISTENT, and scope_flag().

Referenced by clear(), is_persistent(), make_global(), and make_symbol_info_list().

◆ is_scope_frame()

virtual bool stack_frame::is_scope_frame ( ) const
inlinevirtual

Definition at line 198 of file stack-frame.h.

◆ is_user_fcn_frame()

virtual bool stack_frame::is_user_fcn_frame ( ) const
inlinevirtual

Definition at line 197 of file stack-frame.h.

Referenced by make_symbol_info_list().

◆ is_user_script_frame()

virtual bool stack_frame::is_user_script_frame ( ) const
inlinevirtual

Definition at line 196 of file stack-frame.h.

◆ is_variable() [1/2]

bool stack_frame::is_variable ( const std::string &  name) const
inline

Definition at line 366 of file stack-frame.h.

References is_variable(), and lookup_symbol().

◆ is_variable() [2/2]

bool stack_frame::is_variable ( const symbol_record sym) const
inline

Definition at line 359 of file stack-frame.h.

References octave_value::is_defined(), and varval().

Referenced by is_local_variable(), is_variable(), and variable_names().

◆ line() [1/2]

virtual int stack_frame::line ( ) const
inlinevirtual

Definition at line 205 of file stack-frame.h.

References m_line.

Referenced by display_stopped_in_message().

◆ line() [2/2]

void stack_frame::line ( int  l)
inline

Definition at line 204 of file stack-frame.h.

References m_line.

◆ lookup_symbol()

virtual symbol_record stack_frame::lookup_symbol ( const std::string &  ) const
pure virtual

◆ make_global()

void stack_frame::make_global ( const symbol_record sym)
inline

◆ make_persistent()

void stack_frame::make_persistent ( const symbol_record sym)
inline

◆ make_symbol_info_list()

◆ mark_closure_context()

void stack_frame::mark_closure_context ( )
inline

Definition at line 570 of file stack-frame.h.

References access_link(), and m_is_closure_context.

◆ mark_global()

void stack_frame::mark_global ( const symbol_record sym)
inline

Definition at line 332 of file stack-frame.h.

References GLOBAL, and mark_scope().

Referenced by install_variable(), and make_global().

◆ mark_persistent()

void stack_frame::mark_persistent ( const symbol_record sym)
inline

Definition at line 342 of file stack-frame.h.

References mark_scope(), and PERSISTENT.

Referenced by make_persistent().

◆ mark_scope()

virtual void stack_frame::mark_scope ( const symbol_record ,
scope_flags   
)
pure virtual

◆ non_const_unary_op()

void stack_frame::non_const_unary_op ( octave_value::unary_op  op,
const symbol_record sym,
const std::string &  type,
const std::list< octave_value_list > &  idx 
)
inline

Definition at line 492 of file stack-frame.h.

References octave_value::non_const_unary_op(), and varref().

◆ operator=()

stack_frame& stack_frame::operator= ( const stack_frame elt)
delete

◆ parent_frame_index()

std::size_t stack_frame::parent_frame_index ( ) const
inline

Definition at line 317 of file stack-frame.h.

References m_parent_link.

◆ parent_link()

std::shared_ptr<stack_frame> stack_frame::parent_link ( ) const
inline

Definition at line 320 of file stack-frame.h.

References m_parent_link.

Referenced by create().

◆ regexp_symbol_info()

symbol_info_list stack_frame::regexp_symbol_info ( const std::string &  pattern)

Definition at line 1264 of file stack-frame.cc.

References accept().

◆ resize()

void stack_frame::resize ( std::size_t  )
virtual

Definition at line 1284 of file stack-frame.cc.

References panic_impossible.

◆ scope_flag()

virtual scope_flags stack_frame::scope_flag ( const symbol_record ) const
pure virtual

Referenced by is_global(), and is_persistent().

◆ set_auto_fcn_var()

virtual void stack_frame::set_auto_fcn_var ( auto_var_type  ,
const octave_value  
)
pure virtual

Referenced by set_nargin(), and set_nargout().

◆ set_dispatch_class()

void stack_frame::set_dispatch_class ( const std::string &  class_name)
inline

Definition at line 555 of file stack-frame.h.

References m_dispatch_class.

◆ set_nargin()

virtual void stack_frame::set_nargin ( int  nargin)
inlinevirtual

Definition at line 439 of file stack-frame.h.

References NARGIN, and set_auto_fcn_var().

◆ set_nargout()

virtual void stack_frame::set_nargout ( int  nargout)
inlinevirtual

Definition at line 440 of file stack-frame.h.

References NARGOUT, and set_auto_fcn_var().

◆ set_scope_flag()

void stack_frame::set_scope_flag ( std::size_t  ,
scope_flags   
)
virtual

Definition at line 1304 of file stack-frame.cc.

References panic_impossible.

◆ size()

std::size_t stack_frame::size ( ) const
virtual

Definition at line 1274 of file stack-frame.cc.

References panic_impossible.

◆ static_link()

std::shared_ptr<stack_frame> stack_frame::static_link ( ) const
inline

Definition at line 323 of file stack-frame.h.

References m_static_link.

Referenced by create().

◆ unmark_global()

void stack_frame::unmark_global ( const symbol_record sym)
inline

Definition at line 337 of file stack-frame.h.

References LOCAL, and mark_scope().

Referenced by clear().

◆ unmark_persistent()

void stack_frame::unmark_persistent ( const symbol_record sym)
inline

Definition at line 347 of file stack-frame.h.

References LOCAL, and mark_scope().

Referenced by clear().

◆ unwind_protect_frame()

virtual unwind_protect* stack_frame::unwind_protect_frame ( )
inlinevirtual

Definition at line 245 of file stack-frame.h.

◆ value()

octave_value stack_frame::value ( const symbol_record sym,
const std::string &  type,
const std::list< octave_value_list > &  idx 
) const
inline

◆ variable_names()

std::list< std::string > stack_frame::variable_names ( ) const

Definition at line 1234 of file stack-frame.cc.

References get_scope(), is_variable(), and symbol_scope::symbols().

◆ varref() [1/2]

virtual octave_value& stack_frame::varref ( const symbol_record sym)
pure virtual

Referenced by assign(), and non_const_unary_op().

◆ varref() [2/2]

octave_value & stack_frame::varref ( std::size_t  data_offset)
virtual

Definition at line 1371 of file stack-frame.cc.

References panic_impossible.

◆ varval() [1/3]

octave_value stack_frame::varval ( const std::string &  name) const
inline

Definition at line 446 of file stack-frame.h.

References lookup_symbol(), octave_value(), and varval().

◆ varval() [2/3]

virtual octave_value stack_frame::varval ( const symbol_record sym) const
pure virtual

◆ varval() [3/3]

octave_value stack_frame::varval ( std::size_t  data_offset) const
virtual

Definition at line 1361 of file stack-frame.cc.

References panic_impossible.

◆ who()

octave_value stack_frame::who ( const string_vector patterns,
bool  have_regexp,
bool  return_list,
bool  verbose,
const std::string &  whos_line_fmt,
const std::string &  msg 
)

◆ workspace()

Member Data Documentation

◆ m_access_link

std::shared_ptr<stack_frame> stack_frame::m_access_link
protected

Definition at line 618 of file stack-frame.h.

Referenced by access_link(), and display().

◆ m_column

int stack_frame::m_column
protected

Definition at line 601 of file stack-frame.h.

Referenced by column(), and display().

◆ m_dispatch_class

std::string stack_frame::m_dispatch_class
protected

Definition at line 622 of file stack-frame.h.

Referenced by get_dispatch_class(), and set_dispatch_class().

◆ m_evaluator

tree_evaluator& stack_frame::m_evaluator
protected

Definition at line 592 of file stack-frame.h.

Referenced by install_variable().

◆ m_index

std::size_t stack_frame::m_index
protected

Definition at line 604 of file stack-frame.h.

Referenced by display(), and index().

◆ m_is_closure_context

bool stack_frame::m_is_closure_context
protected

Definition at line 596 of file stack-frame.h.

Referenced by is_closure_context(), and mark_closure_context().

◆ m_line

int stack_frame::m_line
protected

Definition at line 600 of file stack-frame.h.

Referenced by display(), and line().

◆ m_parent_link

std::shared_ptr<stack_frame> stack_frame::m_parent_link
protected

Definition at line 608 of file stack-frame.h.

Referenced by clear_parent_static_link(), display(), parent_frame_index(), and parent_link().

◆ m_static_link

std::shared_ptr<stack_frame> stack_frame::m_static_link
protected

Definition at line 613 of file stack-frame.h.

Referenced by clear_parent_static_link(), display(), and static_link().


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