GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "call-stack.h"
Public Member Functions | |
stack_frame (octave_function *fcn=0, symbol_table::scope_id scope=0, symbol_table::context_id context=0, size_t prev=0) | |
stack_frame (const stack_frame &elt) | |
int | column (void) const |
std::string | fcn_file_name (void) const |
std::string | fcn_name (bool print_subfn=true) const |
int | line (void) const |
bool | operator== (const stack_frame &rhs) const |
Private Attributes | |
int | m_column |
symbol_table::context_id | m_context |
octave_function * | m_fcn |
int | m_line |
size_t | m_prev |
symbol_table::scope_id | m_scope |
Friends | |
class | octave_call_stack |
Definition at line 49 of file call-stack.h.
|
inline |
Definition at line 55 of file call-stack.h.
|
inline |
Definition at line 61 of file call-stack.h.
|
inline |
Definition at line 68 of file call-stack.h.
References m_column.
Referenced by operator==(), and pr_where().
std::string octave_call_stack::stack_frame::fcn_file_name | ( | void | ) | const |
Definition at line 39 of file call-stack.cc.
References octave_function::fcn_file_name(), and m_fcn.
Referenced by octave_call_stack::do_backtrace(), octave_call_stack::do_goto_frame(), octave_call_stack::do_goto_frame_relative(), and operator==().
std::string octave_call_stack::stack_frame::fcn_name | ( | bool | print_subfn = true | ) | const |
Definition at line 45 of file call-stack.cc.
References octave_fcn_handle::anonymous, retval, string, and Vfilemarker.
Referenced by octave_call_stack::do_backtrace(), octave_call_stack::do_goto_frame(), octave_call_stack::do_goto_frame_relative(), operator==(), and pr_where().
|
inline |
Definition at line 66 of file call-stack.h.
References m_line.
Referenced by operator==(), and pr_where().
bool octave_call_stack::stack_frame::operator== | ( | const stack_frame & | rhs | ) | const |
Definition at line 68 of file call-stack.cc.
References column(), column, fcn_file_name(), fcn_file_name(), fcn_name(), and line().
|
friend |
Definition at line 53 of file call-stack.h.
|
private |
Definition at line 80 of file call-stack.h.
Referenced by column(), octave_call_stack::do_backtrace(), octave_call_stack::do_caller_user_code_column(), octave_call_stack::do_current_column(), octave_call_stack::do_debug_user_code_column(), octave_call_stack::do_goto_frame(), octave_call_stack::do_set_column(), and octave_call_stack::do_set_location().
|
private |
Definition at line 82 of file call-stack.h.
Referenced by octave_call_stack::do_backtrace(), octave_call_stack::do_goto_base_frame(), octave_call_stack::do_goto_caller_frame(), octave_call_stack::do_goto_frame(), octave_call_stack::do_goto_frame_relative(), and octave_call_stack::do_pop().
|
private |
Definition at line 78 of file call-stack.h.
Referenced by octave_call_stack::do_all_scripts(), octave_call_stack::do_backtrace_frames(), octave_call_stack::do_caller_user_code(), octave_call_stack::do_caller_user_code_column(), octave_call_stack::do_caller_user_code_line(), octave_call_stack::do_current(), octave_call_stack::do_debug_user_code(), octave_call_stack::do_debug_user_code_column(), octave_call_stack::do_debug_user_code_line(), octave_call_stack::do_element(), octave_call_stack::do_goto_caller_frame(), octave_call_stack::do_goto_frame_relative(), and fcn_file_name().
|
private |
Definition at line 79 of file call-stack.h.
Referenced by octave_call_stack::do_backtrace(), octave_call_stack::do_caller_user_code_line(), octave_call_stack::do_current_line(), octave_call_stack::do_debug_user_code_line(), octave_call_stack::do_goto_frame(), octave_call_stack::do_goto_frame_relative(), octave_call_stack::do_set_line(), octave_call_stack::do_set_location(), and line().
|
private |
Definition at line 83 of file call-stack.h.
Referenced by octave_call_stack::do_goto_base_frame(), octave_call_stack::do_goto_caller_frame(), and octave_call_stack::do_pop().
|
private |
Definition at line 81 of file call-stack.h.
Referenced by octave_call_stack::do_backtrace(), octave_call_stack::do_goto_base_frame(), octave_call_stack::do_goto_caller_frame(), octave_call_stack::do_goto_frame(), octave_call_stack::do_goto_frame_relative(), and octave_call_stack::do_pop().