GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
scope_stack_frame Class Reference
Inheritance diagram for scope_stack_frame:
Collaboration diagram for scope_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

 scope_stack_frame (const scope_stack_frame &elt)=default
 
 scope_stack_frame (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)
 
 scope_stack_frame (void)=delete
 
 ~scope_stack_frame (void)=default
 
void accept (stack_frame_walker &sfw)
 
std::shared_ptr< stack_frameaccess_link (void) const
 
symbol_info_list all_variables (void)
 
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)
 
virtual void clear_values (void)
 
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 (void)
 
void column (int c)
 
int column (void) const
 
void display (bool follow=true) const
 
void display_stopped_in_message (std::ostream &os) const
 
std::string fcn_file_name (void) const
 
std::string fcn_name (bool print_subfn=true) const
 
octave_value find_subfunction (const std::string &name) const
 
virtual octave_functionfunction (void) const
 
octave_value get_auto_fcn_var (auto_var_type avt) const
 
std::string get_dispatch_class (void) const
 
symbol_scope get_scope (void) const
 
stack_frame::scope_flags get_scope_flag (std::size_t data_offset) const
 
symbol_info_list get_symbol_info (void)
 
symbol_info_list glob_symbol_info (const std::string &pattern)
 
std::size_t index (void) const
 
symbol_record insert_symbol (const std::string &)
 
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 (void) const
 
virtual bool is_compiled_fcn_frame (void) 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
 
bool is_scope_frame (void) const
 
virtual bool is_user_fcn_frame (void) const
 
virtual bool is_user_script_frame (void) const
 
bool is_variable (const std::string &name) const
 
bool is_variable (const symbol_record &sym) const
 
void line (int l)
 
int line (void) const
 
symbol_record lookup_symbol (const std::string &name) const
 
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)
 
void mark_global (const symbol_record &sym)
 
void mark_persistent (const symbol_record &sym)
 
void mark_scope (const symbol_record &sym, scope_flags flag)
 
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)
 
scope_stack_frameoperator= (const scope_stack_frame &elt)=delete
 
std::shared_ptr< stack_frameparent_link (void) const
 
symbol_info_list regexp_symbol_info (const std::string &pattern)
 
void resize (std::size_t size)
 
scope_flags scope_flag (const symbol_record &sym) const
 
void set_auto_fcn_var (auto_var_type avt, const octave_value &val)
 
void set_dispatch_class (const std::string &class_name)
 
void set_scope_flag (std::size_t data_offset, scope_flags flag)
 
std::size_t size (void) const
 
std::shared_ptr< stack_framestatic_link (void) const
 
void unmark_global (const symbol_record &sym)
 
void unmark_persistent (const symbol_record &sym)
 
virtual unwind_protectunwind_protect_frame (void)
 
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 (void) const
 
octave_valuevarref (const symbol_record &sym)
 
virtual octave_valuevarref (const symbol_record &sym)=0
 
octave_valuevarref (std::size_t data_offset)
 
virtual octave_valuevarref (std::size_t data_offset)
 
octave_valuevarref (std::size_t data_offset)
 
octave_value varval (const std::string &name) const
 
octave_value varval (const std::string &name) const
 
octave_value varval (const symbol_record &sym) const
 
virtual octave_value varval (const symbol_record &sym) const =0
 
octave_value varval (std::size_t data_offset) const
 
octave_value varval (std::size_t data_offset) const
 
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 (void)
 

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
 
std::vector< octave_valuem_auto_vars
 
int m_column
 
std::string m_dispatch_class
 
tree_evaluatorm_evaluator
 
std::vector< scope_flagsm_flags
 
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
 
std::vector< octave_valuem_values
 

Private Attributes

symbol_scope m_scope
 

Detailed Description

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

Member Typedef Documentation

◆ local_vars_map

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

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

enum stack_frame::scope_flags
inherited
Enumerator
LOCAL 
GLOBAL 
PERSISTENT 

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

Constructor & Destructor Documentation

◆ scope_stack_frame() [1/3]

scope_stack_frame::scope_stack_frame ( void  )
delete

◆ scope_stack_frame() [2/3]

scope_stack_frame::scope_stack_frame ( 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 
)
inline

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

◆ scope_stack_frame() [3/3]

scope_stack_frame::scope_stack_frame ( const scope_stack_frame elt)
default

◆ ~scope_stack_frame()

scope_stack_frame::~scope_stack_frame ( void  )
default

Member Function Documentation

◆ accept()

void scope_stack_frame::accept ( stack_frame_walker sfw)
virtual

Implements stack_frame.

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

References stack_frame_walker::visit_scope_stack_frame().

◆ access_link()

◆ all_variables()

symbol_info_list stack_frame::all_variables ( void  )
inherited

◆ assign() [1/3]

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

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

References stack_frame::assign(), and stack_frame::insert_symbol().

◆ assign() [2/3]

◆ 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 
)
inlineinherited

◆ break_closure_cycles()

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

Reimplemented in user_fcn_stack_frame.

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

◆ clear()

◆ clear_objects()

void stack_frame::clear_objects ( void  )
inherited

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

References stack_frame::accept().

◆ clear_values()

void stack_frame::clear_values ( void  )
virtualinherited

Reimplemented in user_fcn_stack_frame.

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

References warning().

◆ clear_variable()

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

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

References stack_frame::accept().

◆ clear_variable_pattern() [1/2]

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

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

References stack_frame::accept().

◆ clear_variable_pattern() [2/2]

void stack_frame::clear_variable_pattern ( const string_vector patterns)
inherited

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

References stack_frame::accept().

◆ clear_variable_regexp() [1/2]

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

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

References stack_frame::accept().

◆ clear_variable_regexp() [2/2]

void stack_frame::clear_variable_regexp ( const string_vector patterns)
inherited

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

References stack_frame::accept().

◆ clear_variables()

void stack_frame::clear_variables ( void  )
inherited

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

References stack_frame::accept().

◆ column() [1/2]

void stack_frame::column ( int  c)
inlineinherited

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

References stack_frame::m_column.

◆ column() [2/2]

int stack_frame::column ( void  ) const
inlineinherited

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

References stack_frame::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 
)
staticinherited

◆ 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 
)
staticinherited

◆ 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> () 
)
staticinherited

◆ 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> () 
)
staticinherited

◆ 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 
)
staticinherited

◆ display()

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

Reimplemented from base_value_stack_frame.

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

References base_value_stack_frame::display(), display_scope(), m_scope, and octave_stdout.

◆ display_stopped_in_message()

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

◆ fcn_file_name()

std::string stack_frame::fcn_file_name ( void  ) const
inlineinherited

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

References octave_function::fcn_file_name().

Referenced by stack_frame::display_stopped_in_message().

◆ fcn_name()

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

◆ find_subfunction()

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

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

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

◆ function()

virtual octave_function* stack_frame::function ( void  ) const
inlinevirtualinherited

Reimplemented in user_fcn_stack_frame, script_stack_frame, and compiled_fcn_stack_frame.

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

◆ get_auto_fcn_var()

octave_value base_value_stack_frame::get_auto_fcn_var ( auto_var_type  avt) const
inlinevirtualinherited

Implements stack_frame.

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

References base_value_stack_frame::m_auto_vars.

◆ get_dispatch_class()

std::string stack_frame::get_dispatch_class ( void  ) const
inlineinherited

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

References stack_frame::m_dispatch_class.

◆ get_scope()

symbol_scope scope_stack_frame::get_scope ( void  ) const
inlinevirtual

Implements stack_frame.

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

References m_scope.

◆ get_scope_flag()

stack_frame::scope_flags base_value_stack_frame::get_scope_flag ( std::size_t  data_offset) const
inlinevirtualinherited

Reimplemented from stack_frame.

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

References base_value_stack_frame::m_flags.

Referenced by user_fcn_stack_frame::clear_values(), scope_flag(), varref(), and varval().

◆ get_symbol_info()

symbol_info_list stack_frame::get_symbol_info ( void  )
inlineinherited

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

References stack_frame::all_variables().

◆ glob_symbol_info()

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

◆ index()

std::size_t stack_frame::index ( void  ) const
inlineinherited

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

References stack_frame::m_index.

Referenced by stack_frame::create(), and stack_frame::display_stopped_in_message().

◆ insert_symbol()

symbol_record scope_stack_frame::insert_symbol ( const std::string &  name)
virtual

◆ install_variable() [1/2]

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

◆ install_variable() [2/2]

◆ is_closure_context()

bool stack_frame::is_closure_context ( void  ) const
inlineinherited

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

References stack_frame::m_is_closure_context.

◆ is_compiled_fcn_frame()

virtual bool stack_frame::is_compiled_fcn_frame ( void  ) const
inlinevirtualinherited

Reimplemented in compiled_fcn_stack_frame.

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

◆ is_defined()

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

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

Referenced by symbol_info_accumulator::filter().

◆ is_global() [1/2]

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

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

References stack_frame::is_global(), and stack_frame::lookup_symbol().

◆ is_global() [2/2]

◆ is_local_variable()

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

◆ is_object() [1/2]

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

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

References stack_frame::is_object(), and stack_frame::lookup_symbol().

◆ is_object() [2/2]

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

◆ is_persistent() [1/2]

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

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

References stack_frame::is_persistent(), and stack_frame::lookup_symbol().

◆ is_persistent() [2/2]

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

◆ is_scope_frame()

bool scope_stack_frame::is_scope_frame ( void  ) const
inlinevirtual

Reimplemented from stack_frame.

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

◆ is_user_fcn_frame()

virtual bool stack_frame::is_user_fcn_frame ( void  ) const
inlinevirtualinherited

Reimplemented in user_fcn_stack_frame.

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

Referenced by stack_frame::make_symbol_info_list().

◆ is_user_script_frame()

virtual bool stack_frame::is_user_script_frame ( void  ) const
inlinevirtualinherited

Reimplemented in script_stack_frame.

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

◆ is_variable() [1/2]

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

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

References stack_frame::is_variable(), and stack_frame::lookup_symbol().

◆ is_variable() [2/2]

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

◆ line() [1/2]

void stack_frame::line ( int  l)
inlineinherited

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

References stack_frame::m_line.

◆ line() [2/2]

int stack_frame::line ( void  ) const
inlineinherited

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

References stack_frame::m_line.

Referenced by stack_frame::display_stopped_in_message().

◆ lookup_symbol()

symbol_record scope_stack_frame::lookup_symbol ( const std::string &  name) const
inlinevirtual

Implements stack_frame.

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

References symbol_scope::lookup_symbol(), and m_scope.

◆ make_global()

void stack_frame::make_global ( const symbol_record sym)
inlineinherited

◆ make_persistent()

void stack_frame::make_persistent ( const symbol_record sym)
inlineinherited

◆ make_symbol_info_list()

◆ mark_closure_context()

void stack_frame::mark_closure_context ( void  )
inlineinherited

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

References stack_frame::m_is_closure_context.

◆ mark_global()

void stack_frame::mark_global ( const symbol_record sym)
inlineinherited

◆ mark_persistent()

void stack_frame::mark_persistent ( const symbol_record sym)
inlineinherited

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

References stack_frame::mark_scope(), and stack_frame::PERSISTENT.

Referenced by stack_frame::make_persistent().

◆ mark_scope()

void scope_stack_frame::mark_scope ( const symbol_record sym,
scope_flags  flag 
)
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 
)
inlineinherited

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

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

◆ operator=()

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

◆ parent_link()

std::shared_ptr<stack_frame> stack_frame::parent_link ( void  ) const
inlineinherited

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

References stack_frame::m_parent_link.

Referenced by stack_frame::create().

◆ regexp_symbol_info()

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

◆ resize()

void base_value_stack_frame::resize ( std::size_t  size)
inlinevirtualinherited

◆ scope_flag()

stack_frame::scope_flags scope_stack_frame::scope_flag ( const symbol_record sym) const
virtual

◆ set_auto_fcn_var()

void base_value_stack_frame::set_auto_fcn_var ( auto_var_type  avt,
const octave_value val 
)
inlinevirtualinherited

Implements stack_frame.

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

References base_value_stack_frame::m_auto_vars.

◆ set_dispatch_class()

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

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

References stack_frame::m_dispatch_class.

◆ set_scope_flag()

void base_value_stack_frame::set_scope_flag ( std::size_t  data_offset,
scope_flags  flag 
)
inlinevirtualinherited

Reimplemented from stack_frame.

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

References base_value_stack_frame::m_flags.

Referenced by user_fcn_stack_frame::mark_scope(), and mark_scope().

◆ size()

std::size_t base_value_stack_frame::size ( void  ) const
inlinevirtualinherited

◆ static_link()

◆ unmark_global()

void stack_frame::unmark_global ( const symbol_record sym)
inlineinherited

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

References stack_frame::LOCAL, and stack_frame::mark_scope().

Referenced by stack_frame::clear().

◆ unmark_persistent()

void stack_frame::unmark_persistent ( const symbol_record sym)
inlineinherited

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

References stack_frame::LOCAL, and stack_frame::mark_scope().

Referenced by stack_frame::clear().

◆ unwind_protect_frame()

virtual unwind_protect* stack_frame::unwind_protect_frame ( void  )
inlinevirtualinherited

Reimplemented in user_fcn_stack_frame, and script_stack_frame.

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
inlineinherited

◆ variable_names()

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

◆ varref() [1/5]

◆ varref() [2/5]

virtual octave_value& stack_frame::varref

◆ varref() [3/5]

octave_value& base_value_stack_frame::varref ( std::size_t  data_offset)
inlinevirtualinherited

Reimplemented from stack_frame.

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

References base_value_stack_frame::m_values.

◆ varref() [4/5]

octave_value& base_value_stack_frame::varref
inline

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

◆ varref() [5/5]

octave_value & stack_frame::varref

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

◆ varval() [1/7]

octave_value stack_frame::varval
inline

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

◆ varval() [2/7]

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

◆ varval() [3/7]

◆ varval() [4/7]

virtual octave_value stack_frame::varval

◆ varval() [5/7]

octave_value base_value_stack_frame::varval ( std::size_t  data_offset) const
inlinevirtualinherited

Reimplemented from stack_frame.

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

References base_value_stack_frame::m_values.

◆ varval() [6/7]

octave_value base_value_stack_frame::varval
inline

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

◆ varval() [7/7]

octave_value stack_frame::varval

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

◆ 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 
)
inherited

◆ workspace()

Member Data Documentation

◆ m_access_link

◆ m_auto_vars

std::vector<octave_value> base_value_stack_frame::m_auto_vars
protectedinherited

◆ m_column

int stack_frame::m_column
protectedinherited

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

Referenced by stack_frame::column(), and stack_frame::display().

◆ m_dispatch_class

std::string stack_frame::m_dispatch_class
protectedinherited

◆ m_evaluator

◆ m_flags

std::vector<scope_flags> base_value_stack_frame::m_flags
protectedinherited

◆ m_index

std::size_t stack_frame::m_index
protectedinherited

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

Referenced by stack_frame::display(), and stack_frame::index().

◆ m_is_closure_context

bool stack_frame::m_is_closure_context
protectedinherited

◆ m_line

int stack_frame::m_line
protectedinherited

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

Referenced by stack_frame::display(), and stack_frame::line().

◆ m_parent_link

std::shared_ptr<stack_frame> stack_frame::m_parent_link
protectedinherited

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

Referenced by stack_frame::display(), and stack_frame::parent_link().

◆ m_scope

symbol_scope scope_stack_frame::m_scope
private

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

Referenced by display(), get_scope(), insert_symbol(), lookup_symbol(), varref(), and varval().

◆ m_static_link

std::shared_ptr<stack_frame> stack_frame::m_static_link
protectedinherited

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

Referenced by stack_frame::display(), and stack_frame::static_link().

◆ m_values


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