GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "toplev.h"
Classes | |
struct | call_stack_elt |
Public Types | |
typedef std::deque < call_stack_elt > ::const_iterator | const_iterator |
typedef std::deque < call_stack_elt > ::const_reverse_iterator | const_reverse_iterator |
typedef std::deque < call_stack_elt >::iterator | iterator |
typedef std::deque < call_stack_elt > ::reverse_iterator | reverse_iterator |
Protected Member Functions | |
octave_call_stack (void) |
Static Private Member Functions | |
static void | cleanup_instance (void) |
Private Attributes | |
std::deque< call_stack_elt > | cs |
size_t | curr_frame |
Static Private Attributes | |
static octave_call_stack * | instance = 0 |
typedef std::deque<call_stack_elt>::const_iterator octave_call_stack::const_iterator |
typedef std::deque<call_stack_elt>::const_reverse_iterator octave_call_stack::const_reverse_iterator |
typedef std::deque<call_stack_elt>::iterator octave_call_stack::iterator |
typedef std::deque<call_stack_elt>::reverse_iterator octave_call_stack::reverse_iterator |
|
inlineprotected |
Definition at line 103 of file toplev.h.
Referenced by create_instance().
|
inlinestatic |
Definition at line 272 of file toplev.h.
Referenced by do_dbstack(), Flasterror(), pr_where(), and verror().
Definition at line 292 of file toplev.h.
Referenced by octave_user_script::do_multi_index_op(), octave_user_function::do_multi_index_op(), and octave_oncleanup::~octave_oncleanup().
|
inlinestatic |
Definition at line 165 of file toplev.h.
Referenced by called_from_builtin(), DEFUN(), do_who(), Fmislocked(), Fmlock(), and Fmunlock().
|
inlinestatic |
Definition at line 204 of file toplev.h.
Referenced by error_2(), get_debug_input(), get_user_code(), parse_dbfunction_params(), try_local_protect(), verror(), and warning_1().
Definition at line 153 of file toplev.h.
Referenced by Fdblist(), and Fdbwhere().
Definition at line 307 of file toplev.h.
Referenced by create_instance().
Definition at line 108 of file toplev.cc.
References singleton_cleanup_list::add(), cleanup_instance(), do_push(), instance, octave_call_stack(), and symbol_table::top_scope().
|
inlinestatic |
Definition at line 135 of file toplev.h.
Referenced by mex::function_name(), octave_class::get_current_method_class(), get_current_shlib(), octave_class::in_class_method(), mlock(), octave_fcn_inline::octave_fcn_inline(), print_usage(), tree_anon_fcn_handle::rvalue1(), and verror().
Definition at line 147 of file toplev.h.
Referenced by tree_evaluator::do_unwind_protect_cleanup_code().
|
inlinestatic |
Definition at line 191 of file toplev.h.
Referenced by Fwarning().
Definition at line 170 of file toplev.h.
Referenced by tree_evaluator::do_breakpoint(), do_keyboard(), Fkeyboard(), and tree_evaluator::visit_return_command().
Definition at line 141 of file toplev.h.
Referenced by tree_evaluator::do_unwind_protect_cleanup_code(), and get_debug_input().
|
inlinestatic |
Definition at line 186 of file toplev.h.
Referenced by Fwarning().
|
private |
Definition at line 280 of file toplev.cc.
References bt_fields, octave_call_stack::call_stack_elt::column, octave_map::contents(), context, octave_call_stack::call_stack_elt::context, cs, do_num_user_code_frames(), f, octave_call_stack::call_stack_elt::fcn, octave_function::fcn_file_name(), octave_base_value::is_user_code(), octave_call_stack::call_stack_elt::line, octave_function::name(), octave_function::parent_fcn_name(), octave_call_stack::call_stack_elt::scope, and Vfilemarker.
Definition at line 486 of file toplev.cc.
References octave_call_stack::call_stack_elt::column, cs, error(), error_state, octave_call_stack::call_stack_elt::fcn, octave_function::fcn_file_name(), octave_call_stack::call_stack_elt::line, and octave_function::name().
|
inlineprivate |
|
private |
Definition at line 239 of file toplev.cc.
References cs, f, octave_call_stack::call_stack_elt::fcn, and octave_base_value::is_user_code().
Definition at line 175 of file toplev.cc.
References octave_call_stack::call_stack_elt::column, cs, f, octave_call_stack::call_stack_elt::fcn, and octave_base_value::is_user_code().
Definition at line 149 of file toplev.cc.
References cs, f, octave_call_stack::call_stack_elt::fcn, octave_base_value::is_user_code(), and octave_call_stack::call_stack_elt::line.
|
inlineprivate |
Definition at line 364 of file toplev.h.
References octave_call_stack::call_stack_elt::fcn.
Definition at line 135 of file toplev.cc.
References octave_call_stack::call_stack_elt::column, cs, and curr_frame.
|
inlineprivate |
Definition at line 121 of file toplev.cc.
References cs, curr_frame, and octave_call_stack::call_stack_elt::line.
|
inlineprivate |
|
inlineprivate |
Definition at line 340 of file toplev.h.
References octave_call_stack::call_stack_elt::fcn.
Definition at line 473 of file toplev.cc.
References octave_call_stack::call_stack_elt::context, cs, curr_frame, octave_call_stack::call_stack_elt::prev, octave_call_stack::call_stack_elt::scope, and symbol_table::set_scope_and_context().
Definition at line 435 of file toplev.cc.
References octave_call_stack::call_stack_elt::context, cs, curr_frame, f, octave_call_stack::call_stack_elt::fcn, octave_base_value::is_user_code(), octave_call_stack::call_stack_elt::prev, octave_call_stack::call_stack_elt::scope, and symbol_table::set_scope_and_context().
Definition at line 338 of file toplev.cc.
References octave_call_stack::call_stack_elt::column, octave_call_stack::call_stack_elt::context, cs, curr_frame, f, octave_call_stack::call_stack_elt::fcn, octave_call_stack::call_stack_elt::line, octave_function::name(), octave_stdout, octave_call_stack::call_stack_elt::scope, and symbol_table::set_scope_and_context().
Definition at line 369 of file toplev.cc.
References octave_call_stack::call_stack_elt::context, cs, curr_frame, f, octave_call_stack::call_stack_elt::fcn, octave_base_value::is_user_code(), octave_call_stack::call_stack_elt::line, octave_function::name(), octave_stdout, octave_call_stack::call_stack_elt::scope, and symbol_table::set_scope_and_context().
|
private |
Definition at line 202 of file toplev.cc.
References f, and octave_base_value::is_user_code().
Referenced by do_backtrace().
Definition at line 419 of file toplev.h.
References octave_call_stack::call_stack_elt::context, octave_call_stack::call_stack_elt::prev, octave_call_stack::call_stack_elt::scope, and symbol_table::set_scope_and_context().
|
inlineprivate |
Definition at line 355 of file toplev.h.
References symbol_table::set_scope_and_context().
Referenced by create_instance().
Definition at line 398 of file toplev.h.
References octave_call_stack::call_stack_elt::column.
Definition at line 388 of file toplev.h.
References octave_call_stack::call_stack_elt::line.
Definition at line 377 of file toplev.h.
References octave_call_stack::call_stack_elt::column, and octave_call_stack::call_stack_elt::line.
|
inlinestatic |
|
static |
Definition at line 274 of file toplev.cc.
References bt_fields.
Referenced by initialize_last_error_stack().
Definition at line 266 of file toplev.h.
Referenced by mexGetVariable(), and mexPutVariable().
Definition at line 254 of file toplev.h.
Referenced by do_dbupdown(), and Fkeyboard().
|
inlinestatic |
Definition at line 280 of file toplev.h.
Referenced by octave_builtin::do_multi_index_op(), octave_mex_function::do_multi_index_op(), octave_user_script::do_multi_index_op(), octave_user_function::do_multi_index_op(), do_who(), octave_fcn_handle::load_ascii(), octave_fcn_handle::load_binary(), octave_fcn_handle::load_hdf5(), mexGetVariable(), mexPutVariable(), and read_mat5_binary_element().
|
inlinestatic |
Definition at line 210 of file toplev.h.
References context.
Referenced by octave_builtin::do_multi_index_op(), octave_mex_function::do_multi_index_op(), octave_user_script::do_multi_index_op(), octave_user_function::do_multi_index_op(), do_who(), octave_fcn_handle::load_ascii(), octave_fcn_handle::load_binary(), octave_fcn_handle::load_hdf5(), and read_mat5_binary_element().
|
inlinestatic |
Definition at line 249 of file toplev.h.
Referenced by do_keyboard(), and Fkeyboard().
Definition at line 238 of file toplev.h.
Referenced by tree_evaluator::do_unwind_protect_cleanup_code().
Definition at line 232 of file toplev.h.
Referenced by tree_evaluator::do_unwind_protect_cleanup_code().
Definition at line 226 of file toplev.h.
Referenced by tree_evaluator::visit_if_command_list(), and tree_evaluator::visit_statement().
|
private |
Definition at line 301 of file toplev.h.
Referenced by do_backtrace(), do_backtrace_error_message(), do_caller_user_code(), do_caller_user_code_column(), do_caller_user_code_line(), do_current_column(), do_current_line(), do_goto_base_frame(), do_goto_caller_frame(), do_goto_frame(), and do_goto_frame_relative().
|
private |
Definition at line 303 of file toplev.h.
Referenced by do_current_column(), do_current_line(), do_goto_base_frame(), do_goto_caller_frame(), do_goto_frame(), and do_goto_frame_relative().
|
staticprivate |
Definition at line 305 of file toplev.h.
Referenced by create_instance().