Public Types | |
enum | auto_var_type { ARG_NAMES , IGNORED , NARGIN , NARGOUT , SAVED_WARNING_STATES , NUM_AUTO_VARS } |
typedef std::map< std::string, octave_value > | local_vars_map |
enum | scope_flags { LOCAL , GLOBAL , PERSISTENT } |
Public Member Functions | |
script_stack_frame (const script_stack_frame &elt)=default | |
script_stack_frame (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) | |
script_stack_frame (void)=delete | |
~script_stack_frame (void) | |
void | accept (stack_frame_walker &sfw) |
std::shared_ptr< stack_frame > | access_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 |
octave_function * | function (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 |
virtual scope_flags | get_scope_flag (std::size_t) const |
symbol_info_list | get_symbol_info (void) |
bool | get_val_offsets (const symbol_record &sym, std::size_t &frame_offset, std::size_t &data_offset) const |
bool | get_val_offsets_internal (const symbol_record &sym, std::size_t &frame_offset, std::size_t &data_offset) const |
void | get_val_offsets_with_insert (const symbol_record &sym, std::size_t &frame_offset, std::size_t &data_offset) |
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 |
virtual bool | is_scope_frame (void) const |
virtual bool | is_user_fcn_frame (void) const |
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) |
script_stack_frame & | operator= (const script_stack_frame &elt)=delete |
std::shared_ptr< stack_frame > | parent_link (void) const |
symbol_info_list | regexp_symbol_info (const std::string &pattern) |
void | resize (std::size_t size) |
void | resize_and_update_script_offsets (const symbol_record &sym) |
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) |
virtual void | set_scope_flag (std::size_t, scope_flags) |
void | set_script_offsets (void) |
void | set_script_offsets_internal (const std::map< std::string, symbol_record > &symbols) |
std::size_t | size (void) const |
std::shared_ptr< stack_frame > | static_link (void) const |
void | unmark_global (const symbol_record &sym) |
void | unmark_persistent (const symbol_record &sym) |
unwind_protect * | unwind_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_value & | varref (const symbol_record &sym) |
virtual octave_value & | varref (const symbol_record &sym)=0 |
virtual octave_value & | varref (std::size_t data_offset) |
virtual octave_value & | varref (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 |
virtual 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_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 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 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 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 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 std::shared_ptr< stack_frame > | get_access_link (const std::shared_ptr< stack_frame > &static_link) |
static std::size_t | get_num_symbols (octave_user_script *script) |
Protected Attributes | |
std::shared_ptr< stack_frame > | m_access_link |
int | m_column |
std::string | m_dispatch_class |
tree_evaluator & | m_evaluator |
std::size_t | m_index |
bool | m_is_closure_context |
int | m_line |
std::shared_ptr< stack_frame > | m_parent_link |
std::shared_ptr< stack_frame > | m_static_link |
Private Attributes | |
std::vector< std::size_t > | m_lexical_frame_offsets |
octave_user_script * | m_script |
unwind_protect * | m_unwind_protect_frame |
std::vector< std::size_t > | m_value_offsets |
Definition at line 174 of file stack-frame.cc.
|
inherited |
Definition at line 112 of file stack-frame.h.
|
inherited |
Enumerator | |
---|---|
ARG_NAMES | |
IGNORED | |
NARGIN | |
NARGOUT | |
SAVED_WARNING_STATES | |
NUM_AUTO_VARS |
Definition at line 130 of file stack-frame.h.
|
inherited |
Enumerator | |
---|---|
LOCAL | |
GLOBAL | |
PERSISTENT |
Definition at line 120 of file stack-frame.h.
|
delete |
script_stack_frame::script_stack_frame | ( | 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 | ||
) |
Definition at line 1473 of file stack-frame.cc.
References set_script_offsets().
|
default |
|
inline |
Definition at line 189 of file stack-frame.cc.
References m_unwind_protect_frame.
|
virtual |
Implements stack_frame.
Definition at line 2057 of file stack-frame.cc.
References stack_frame_walker::visit_script_stack_frame().
|
inlineinherited |
Definition at line 317 of file stack-frame.h.
References stack_frame::m_access_link.
Referenced by stack_frame::create(), stack_frame::display(), user_fcn_stack_frame::lookup_symbol(), mark_scope(), scope_flag(), user_fcn_stack_frame::scope_flag(), varref(), user_fcn_stack_frame::varref(), varval(), user_fcn_stack_frame::varval(), symbol_cleaner::visit_scope_stack_frame(), symbol_info_accumulator::visit_scope_stack_frame(), symbol_cleaner::visit_script_stack_frame(), symbol_info_accumulator::visit_script_stack_frame(), symbol_cleaner::visit_user_fcn_stack_frame(), symbol_info_accumulator::visit_user_fcn_stack_frame(), and stack_frame::workspace().
|
inherited |
Definition at line 1161 of file stack-frame.cc.
References stack_frame::accept(), and symbol_info_accumulator::symbol_info().
Referenced by stack_frame::get_symbol_info(), and stack_frame::workspace().
|
inlineinherited |
Definition at line 456 of file stack-frame.h.
References stack_frame::assign(), and stack_frame::insert_symbol().
|
inlineinherited |
Definition at line 445 of file stack-frame.h.
References octave_value::call_object_destructor(), octave_value::get_count(), octave_value::storable_value(), and stack_frame::varref().
Referenced by user_fcn_stack_frame::user_fcn_stack_frame(), stack_frame::assign(), stack_frame::clear(), and stack_frame::install_variable().
|
inlineinherited |
Definition at line 463 of file stack-frame.h.
References octave_value::assign(), stack_frame::assign(), octave_value::op_asn_eq, and stack_frame::varref().
|
inlinevirtualinherited |
Reimplemented in user_fcn_stack_frame.
Definition at line 555 of file stack-frame.h.
|
inlineinherited |
Definition at line 517 of file stack-frame.h.
References stack_frame::assign(), stack_frame::is_global(), stack_frame::is_persistent(), stack_frame::unmark_global(), and stack_frame::unmark_persistent().
Referenced by stack_frame::install_variable(), and symbol_cleaner::maybe_clear_symbol().
|
inherited |
Definition at line 1345 of file stack-frame.cc.
References stack_frame::accept().
|
virtualinherited |
Reimplemented in user_fcn_stack_frame.
Definition at line 1092 of file stack-frame.cc.
References warning().
|
inherited |
Definition at line 1352 of file stack-frame.cc.
References stack_frame::accept().
|
inherited |
Definition at line 1359 of file stack-frame.cc.
References stack_frame::accept().
|
inherited |
Definition at line 1366 of file stack-frame.cc.
References stack_frame::accept().
|
inherited |
Definition at line 1373 of file stack-frame.cc.
References stack_frame::accept().
|
inherited |
Definition at line 1380 of file stack-frame.cc.
References stack_frame::accept().
|
inherited |
Definition at line 1387 of file stack-frame.cc.
References stack_frame::accept().
|
inlineinherited |
Definition at line 207 of file stack-frame.h.
References stack_frame::m_column.
|
inlineinherited |
Definition at line 208 of file stack-frame.h.
References stack_frame::m_column.
|
staticinherited |
Definition at line 1080 of file stack-frame.cc.
References stack_frame::index(), stack_frame::parent_link(), and stack_frame::static_link().
|
staticinherited |
Definition at line 1040 of file stack-frame.cc.
References stack_frame::index(), stack_frame::parent_link(), and stack_frame::static_link().
Referenced by call_stack::push().
|
staticinherited |
Definition at line 1068 of file stack-frame.cc.
References stack_frame::access_link(), stack_frame::index(), stack_frame::parent_link(), and stack_frame::static_link().
|
staticinherited |
Definition at line 1058 of file stack-frame.cc.
References stack_frame::access_link(), stack_frame::index(), stack_frame::parent_link(), and stack_frame::static_link().
|
staticinherited |
Definition at line 1049 of file stack-frame.cc.
References stack_frame::index(), stack_frame::parent_link(), and stack_frame::static_link().
|
virtual |
Reimplemented from stack_frame.
Definition at line 2032 of file stack-frame.cc.
References stack_frame::display(), display_scope(), get_scope(), m_lexical_frame_offsets, m_script, m_value_offsets, octave_function::name(), octave_stdout, and octave_user_script::type_name().
|
inherited |
Definition at line 1394 of file stack-frame.cc.
References stack_frame::fcn_file_name(), stack_frame::fcn_name(), stack_frame::index(), and stack_frame::line().
|
inlineinherited |
Definition at line 210 of file stack-frame.h.
References octave_function::fcn_file_name().
Referenced by stack_frame::display_stopped_in_message().
|
inlineinherited |
Definition at line 217 of file stack-frame.h.
References octave_base_value::is_anonymous_function(), octave_function::name(), and octave_function::parent_fcn_name().
Referenced by stack_frame::display_stopped_in_message().
|
inlineinherited |
Definition at line 510 of file stack-frame.h.
References symbol_scope::find_subfunction(), and stack_frame::get_scope().
|
inlinevirtual |
|
static |
Definition at line 1624 of file stack-frame.cc.
References stack_frame::static_link().
|
inlinevirtual |
Implements stack_frame.
Definition at line 244 of file stack-frame.cc.
References stack_frame::m_access_link.
|
inlineinherited |
Definition at line 540 of file stack-frame.h.
References stack_frame::m_dispatch_class.
|
static |
Definition at line 1487 of file stack-frame.cc.
References symbol_scope::num_symbols(), and octave_user_code::scope().
|
inlinevirtual |
Implements stack_frame.
Definition at line 208 of file stack-frame.cc.
References m_script, and octave_user_code::scope().
Referenced by display(), insert_symbol(), and lookup_symbol().
|
virtualinherited |
Reimplemented in base_value_stack_frame.
Definition at line 1263 of file stack-frame.cc.
References panic_impossible.
Referenced by scope_flag(), user_fcn_stack_frame::scope_flag(), varref(), user_fcn_stack_frame::varref(), varval(), and user_fcn_stack_frame::varval().
|
inlineinherited |
Definition at line 273 of file stack-frame.h.
References stack_frame::all_variables().
bool script_stack_frame::get_val_offsets | ( | const symbol_record & | sym, |
std::size_t & | frame_offset, | ||
std::size_t & | data_offset | ||
) | const |
Definition at line 1781 of file stack-frame.cc.
References symbol_record::data_offset(), symbol_record::frame_offset(), get_val_offsets_internal(), m_lexical_frame_offsets, m_value_offsets, and size().
Referenced by scope_flag(), and varval().
bool script_stack_frame::get_val_offsets_internal | ( | const symbol_record & | sym, |
std::size_t & | frame_offset, | ||
std::size_t & | data_offset | ||
) | const |
Definition at line 1709 of file stack-frame.cc.
References symbol_record::data_offset(), symbol_record::frame_offset(), symbol_scope::is_nested(), stack_frame::m_access_link, symbol_record::name(), symbol_scope::parent_scope(), and symbol_scope::symbols().
Referenced by get_val_offsets().
void script_stack_frame::get_val_offsets_with_insert | ( | const symbol_record & | sym, |
std::size_t & | frame_offset, | ||
std::size_t & | data_offset | ||
) |
Definition at line 1830 of file stack-frame.cc.
References symbol_record::data_offset(), symbol_record::frame_offset(), m_lexical_frame_offsets, m_value_offsets, symbol_record::name(), resize_and_update_script_offsets(), set_script_offsets_internal(), and size().
Referenced by varref().
|
inherited |
Definition at line 1227 of file stack-frame.cc.
References stack_frame::accept(), and symbol_info_accumulator::symbol_info().
|
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().
|
virtual |
Implements stack_frame.
Definition at line 1673 of file stack-frame.cc.
References symbol_scope::find_symbol(), symbol_record::frame_offset(), get_scope(), symbol_record::is_valid(), symbol_scope::lookup_symbol(), panic_unless(), and resize_and_update_script_offsets().
|
inlineinherited |
Definition at line 418 of file stack-frame.h.
References stack_frame::insert_symbol(), stack_frame::install_variable(), and stack_frame::value().
|
inherited |
Definition at line 1281 of file stack-frame.cc.
References stack_frame::assign(), stack_frame::clear(), tree_evaluator::global_varref(), tree_evaluator::global_varval(), octave_value::is_defined(), stack_frame::is_global(), stack_frame::m_evaluator, stack_frame::mark_global(), symbol_record::name(), stack_frame::value(), stack_frame::varval(), and warning_with_id().
Referenced by stack_frame::install_variable(), stack_frame::make_global(), and stack_frame::make_persistent().
|
inlineinherited |
Definition at line 558 of file stack-frame.h.
References stack_frame::m_is_closure_context.
|
inlinevirtualinherited |
Reimplemented in compiled_fcn_stack_frame.
Definition at line 195 of file stack-frame.h.
|
inlineinherited |
Definition at line 343 of file stack-frame.h.
Referenced by symbol_info_accumulator::filter().
|
inlineinherited |
Definition at line 396 of file stack-frame.h.
References stack_frame::is_global(), and stack_frame::lookup_symbol().
|
inlineinherited |
Definition at line 391 of file stack-frame.h.
References stack_frame::GLOBAL, and stack_frame::scope_flag().
Referenced by stack_frame::clear(), stack_frame::install_variable(), stack_frame::is_global(), stack_frame::is_local_variable(), stack_frame::make_persistent(), and stack_frame::make_symbol_info_list().
|
inlineinherited |
Definition at line 364 of file stack-frame.h.
References stack_frame::is_global(), stack_frame::is_variable(), and stack_frame::lookup_symbol().
|
inlineinherited |
Definition at line 378 of file stack-frame.h.
References stack_frame::is_object(), and stack_frame::lookup_symbol().
|
inlineinherited |
Definition at line 371 of file stack-frame.h.
References octave_value::isobject(), and stack_frame::varval().
Referenced by stack_frame::is_object(), and symbol_cleaner::maybe_clear_symbol().
|
inlineinherited |
Definition at line 408 of file stack-frame.h.
References stack_frame::is_persistent(), and stack_frame::lookup_symbol().
|
inlineinherited |
Definition at line 403 of file stack-frame.h.
References stack_frame::PERSISTENT, and stack_frame::scope_flag().
Referenced by stack_frame::clear(), stack_frame::is_persistent(), stack_frame::make_global(), and stack_frame::make_symbol_info_list().
|
inlinevirtualinherited |
Reimplemented in scope_stack_frame.
Definition at line 198 of file stack-frame.h.
|
inlinevirtualinherited |
Reimplemented in user_fcn_stack_frame.
Definition at line 197 of file stack-frame.h.
Referenced by stack_frame::make_symbol_info_list().
|
inlinevirtual |
Reimplemented from stack_frame.
Definition at line 194 of file stack-frame.cc.
|
inlineinherited |
Definition at line 357 of file stack-frame.h.
References stack_frame::is_variable(), and stack_frame::lookup_symbol().
|
inlineinherited |
Definition at line 350 of file stack-frame.h.
References octave_value::is_defined(), and stack_frame::varval().
Referenced by stack_frame::is_local_variable(), stack_frame::is_variable(), and stack_frame::variable_names().
|
inlineinherited |
Definition at line 204 of file stack-frame.h.
References stack_frame::m_line.
|
inlineinherited |
Definition at line 205 of file stack-frame.h.
References stack_frame::m_line.
Referenced by stack_frame::display_stopped_in_message().
|
virtual |
Implements stack_frame.
Definition at line 1650 of file stack-frame.cc.
References symbol_record::dup(), symbol_record::frame_offset(), get_scope(), symbol_scope::lookup_symbol(), stack_frame::m_access_link, panic_unless(), and symbol_record::set_frame_offset().
|
inlineinherited |
Definition at line 297 of file stack-frame.h.
References error(), stack_frame::install_variable(), stack_frame::is_persistent(), stack_frame::mark_global(), and symbol_record::name().
|
inlineinherited |
Definition at line 278 of file stack-frame.h.
References error(), stack_frame::install_variable(), symbol_record::is_formal(), stack_frame::is_global(), stack_frame::mark_persistent(), and symbol_record::name().
|
inherited |
Definition at line 1098 of file stack-frame.cc.
References base_list< elt_type >::append(), octave_value::is_defined(), stack_frame::is_global(), stack_frame::is_persistent(), stack_frame::is_user_fcn_frame(), stack_frame::value(), and stack_frame::varval().
Referenced by symbol_info_accumulator::append_list().
|
inlineinherited |
Definition at line 557 of file stack-frame.h.
References stack_frame::m_is_closure_context.
|
inlineinherited |
Definition at line 323 of file stack-frame.h.
References stack_frame::GLOBAL, and stack_frame::mark_scope().
Referenced by stack_frame::install_variable(), and stack_frame::make_global().
|
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().
|
virtual |
Implements stack_frame.
Definition at line 2008 of file stack-frame.cc.
References stack_frame::access_link(), symbol_record::data_offset(), error(), m_lexical_frame_offsets, m_value_offsets, resize_and_update_script_offsets(), and size().
|
inlineinherited |
Definition at line 479 of file stack-frame.h.
References octave_value::non_const_unary_op(), and stack_frame::varref().
|
delete |
|
inlineinherited |
Definition at line 311 of file stack-frame.h.
References stack_frame::m_parent_link.
Referenced by stack_frame::create().
|
inherited |
Definition at line 1236 of file stack-frame.cc.
References stack_frame::accept(), and symbol_info_accumulator::symbol_info().
|
inlinevirtual |
Reimplemented from stack_frame.
Definition at line 220 of file stack-frame.cc.
References m_lexical_frame_offsets, m_value_offsets, and size().
Referenced by resize_and_update_script_offsets(), and set_script_offsets().
void script_stack_frame::resize_and_update_script_offsets | ( | const symbol_record & | sym | ) |
Definition at line 1599 of file stack-frame.cc.
References symbol_record::data_offset(), symbol_record::name(), panic_unless(), resize(), set_script_offsets_internal(), and size().
Referenced by get_val_offsets_with_insert(), insert_symbol(), and mark_scope().
|
virtual |
Implements stack_frame.
Definition at line 1892 of file stack-frame.cc.
References stack_frame::access_link(), error(), stack_frame::get_scope_flag(), get_val_offsets(), stack_frame::LOCAL, and stack_frame::size().
|
inlinevirtual |
Implements stack_frame.
Definition at line 239 of file stack-frame.cc.
References stack_frame::m_access_link.
|
inlineinherited |
Definition at line 542 of file stack-frame.h.
References stack_frame::m_dispatch_class.
|
virtualinherited |
Reimplemented in base_value_stack_frame.
Definition at line 1272 of file stack-frame.cc.
References panic_impossible.
void script_stack_frame::set_script_offsets | ( | void | ) |
Definition at line 1494 of file stack-frame.cc.
References m_script, symbol_scope::num_symbols(), resize(), octave_user_code::scope(), set_script_offsets_internal(), and symbol_scope::symbols().
Referenced by script_stack_frame().
void script_stack_frame::set_script_offsets_internal | ( | const std::map< std::string, symbol_record > & | symbols | ) |
Definition at line 1511 of file stack-frame.cc.
References symbol_record::data_offset(), error(), symbol_record::frame_offset(), symbol_scope::insert(), symbol_scope::is_nested(), stack_frame::m_access_link, m_lexical_frame_offsets, m_value_offsets, symbol_scope::parent_scope(), and symbol_scope::symbols().
Referenced by get_val_offsets_with_insert(), resize_and_update_script_offsets(), and set_script_offsets().
|
inlinevirtual |
Reimplemented from stack_frame.
Definition at line 218 of file stack-frame.cc.
References m_lexical_frame_offsets.
Referenced by get_val_offsets(), get_val_offsets_with_insert(), mark_scope(), resize(), and resize_and_update_script_offsets().
|
inlineinherited |
Definition at line 314 of file stack-frame.h.
References stack_frame::m_static_link.
Referenced by stack_frame::create(), get_access_link(), user_fcn_stack_frame::get_access_link(), symbol_cleaner::visit_compiled_fcn_stack_frame(), and symbol_info_accumulator::visit_compiled_fcn_stack_frame().
|
inlineinherited |
Definition at line 328 of file stack-frame.h.
References stack_frame::LOCAL, and stack_frame::mark_scope().
Referenced by stack_frame::clear().
|
inlineinherited |
Definition at line 338 of file stack-frame.h.
References stack_frame::LOCAL, and stack_frame::mark_scope().
Referenced by stack_frame::clear().
|
virtual |
Reimplemented from stack_frame.
Definition at line 1642 of file stack-frame.cc.
References m_unwind_protect_frame.
|
inlineinherited |
Definition at line 490 of file stack-frame.h.
References octave_value::is_constant(), octave_value_list::length(), octave_value(), octave_value::subsref(), and stack_frame::varval().
Referenced by stack_frame::install_variable(), and stack_frame::make_symbol_info_list().
|
inherited |
Definition at line 1208 of file stack-frame.cc.
References stack_frame::get_scope(), stack_frame::is_variable(), and symbol_scope::symbols().
|
virtual |
Implements stack_frame.
Definition at line 1969 of file stack-frame.cc.
References stack_frame::access_link(), error(), stack_frame::get_scope(), stack_frame::get_scope_flag(), get_val_offsets_with_insert(), stack_frame::GLOBAL, tree_evaluator::global_varref(), stack_frame::LOCAL, stack_frame::m_evaluator, symbol_record::name(), stack_frame::PERSISTENT, symbol_scope::persistent_varref(), stack_frame::resize(), stack_frame::size(), and stack_frame::varref().
virtual octave_value& stack_frame::varref |
octave_value & stack_frame::varref |
Definition at line 443 of file stack-frame.cc.
|
virtualinherited |
Reimplemented in base_value_stack_frame.
Definition at line 1336 of file stack-frame.cc.
References panic_impossible.
|
inline |
Definition at line 434 of file stack-frame.h.
|
inlineinherited |
Definition at line 434 of file stack-frame.h.
References stack_frame::lookup_symbol(), octave_value(), and stack_frame::varval().
|
virtual |
Implements stack_frame.
Definition at line 1923 of file stack-frame.cc.
References stack_frame::access_link(), error(), stack_frame::get_scope(), stack_frame::get_scope_flag(), get_val_offsets(), stack_frame::GLOBAL, tree_evaluator::global_varval(), stack_frame::LOCAL, stack_frame::m_evaluator, symbol_record::name(), octave_value(), stack_frame::PERSISTENT, symbol_scope::persistent_varval(), stack_frame::size(), and stack_frame::varval().
virtual octave_value stack_frame::varval |
octave_value stack_frame::varval |
Definition at line 432 of file stack-frame.cc.
|
virtualinherited |
Reimplemented in base_value_stack_frame.
Definition at line 1327 of file stack-frame.cc.
References panic_impossible.
|
inherited |
Definition at line 1119 of file stack-frame.cc.
References stack_frame::accept(), symbol_info_accumulator::display(), symbol_info_accumulator::is_empty(), string_vector::list_in_columns(), symbol_info_accumulator::map_value(), symbol_info_accumulator::names(), octave_stdout, and octave_value().
|
inherited |
Definition at line 1170 of file stack-frame.cc.
References stack_frame::access_link(), stack_frame::all_variables(), octave_scalar_map::assign(), octave_value::is_defined(), symbol_info_list::names(), and symbol_info_list::varval().
|
protectedinherited |
Definition at line 591 of file stack-frame.h.
Referenced by stack_frame::access_link(), user_fcn_stack_frame::break_closure_cycles(), stack_frame::display(), get_auto_fcn_var(), get_val_offsets_internal(), lookup_symbol(), set_auto_fcn_var(), and set_script_offsets_internal().
|
protectedinherited |
Definition at line 574 of file stack-frame.h.
Referenced by stack_frame::column(), and stack_frame::display().
|
protectedinherited |
Definition at line 595 of file stack-frame.h.
Referenced by stack_frame::get_dispatch_class(), and stack_frame::set_dispatch_class().
|
protectedinherited |
Definition at line 565 of file stack-frame.h.
Referenced by stack_frame::install_variable(), varref(), user_fcn_stack_frame::varref(), scope_stack_frame::varref(), varval(), user_fcn_stack_frame::varval(), and scope_stack_frame::varval().
|
protectedinherited |
Definition at line 577 of file stack-frame.h.
Referenced by stack_frame::display(), and stack_frame::index().
|
protectedinherited |
Definition at line 569 of file stack-frame.h.
Referenced by stack_frame::is_closure_context(), and stack_frame::mark_closure_context().
|
private |
Definition at line 280 of file stack-frame.cc.
Referenced by display(), get_val_offsets(), get_val_offsets_with_insert(), mark_scope(), resize(), set_script_offsets_internal(), and size().
|
protectedinherited |
Definition at line 573 of file stack-frame.h.
Referenced by stack_frame::display(), and stack_frame::line().
|
protectedinherited |
Definition at line 581 of file stack-frame.h.
Referenced by stack_frame::display(), and stack_frame::parent_link().
|
private |
Definition at line 269 of file stack-frame.cc.
Referenced by display(), function(), get_scope(), and set_script_offsets().
|
protectedinherited |
Definition at line 586 of file stack-frame.h.
Referenced by stack_frame::display(), and stack_frame::static_link().
|
private |
Definition at line 273 of file stack-frame.cc.
Referenced by ~script_stack_frame(), and unwind_protect_frame().
|
private |
Definition at line 281 of file stack-frame.cc.
Referenced by display(), get_val_offsets(), get_val_offsets_with_insert(), mark_scope(), resize(), and set_script_offsets_internal().