#include "call-stack.h"
Public Member Functions | |
stack_frame (octave_function *fcn=nullptr, const symbol_scope &scope=symbol_scope(), symbol_record::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_record::context_id | m_context |
octave_function * | m_fcn |
int | m_line |
size_t | m_prev |
symbol_scope | m_scope |
Friends | |
class | call_stack |
Definition at line 50 of file call-stack.h.
|
inline |
Definition at line 56 of file call-stack.h.
|
inline |
Definition at line 63 of file call-stack.h.
|
inline |
Definition at line 70 of file call-stack.h.
Referenced by operator==().
std::string octave::call_stack::stack_frame::fcn_file_name | ( | void | ) | const |
Definition at line 47 of file call-stack.cc.
References octave_function::fcn_file_name(), and m_fcn.
Referenced by octave::call_stack::goto_frame(), octave::call_stack::goto_frame_relative(), and operator==().
std::string octave::call_stack::stack_frame::fcn_name | ( | bool | print_subfn = true | ) | const |
Definition at line 53 of file call-stack.cc.
References octave_fcn_handle::anonymous, retval, and string.
Referenced by octave::call_stack::goto_frame(), octave::call_stack::goto_frame_relative(), and operator==().
|
inline |
Definition at line 68 of file call-stack.h.
Referenced by operator==().
bool octave::call_stack::stack_frame::operator== | ( | const stack_frame & | rhs | ) | const |
Definition at line 76 of file call-stack.cc.
References column(), column, fcn_file_name(), fcn_name(), and line().
|
friend |
Definition at line 54 of file call-stack.h.
|
private |
|
private |
Definition at line 84 of file call-stack.h.
Referenced by octave::call_stack::goto_frame(), octave::call_stack::goto_frame_relative(), and octave::call_stack::pop().
|
private |
Definition at line 80 of file call-stack.h.
Referenced by octave::call_stack::all_scripts(), octave::call_stack::backtrace_frames(), octave::call_stack::caller_user_code(), octave::call_stack::caller_user_code_column(), octave::call_stack::caller_user_code_line(), octave::call_stack::current(), octave::call_stack::debug_user_code(), octave::call_stack::debug_user_code_column(), octave::call_stack::debug_user_code_line(), octave::call_stack::element(), fcn_file_name(), octave::call_stack::goto_caller_frame(), and octave::call_stack::goto_frame_relative().
|
private |
Definition at line 81 of file call-stack.h.
Referenced by octave::call_stack::caller_user_code_line(), octave::call_stack::current_line(), octave::call_stack::debug_user_code_line(), octave::call_stack::goto_frame(), octave::call_stack::goto_frame_relative(), octave::call_stack::set_line(), and octave::call_stack::set_location().
|
private |
Definition at line 85 of file call-stack.h.
Referenced by octave::call_stack::pop().
|
private |
Definition at line 83 of file call-stack.h.
Referenced by octave::call_stack::goto_caller_frame(), octave::call_stack::goto_frame(), octave::call_stack::goto_frame_relative(), and octave::call_stack::pop().