#include "pt-stmt.h"
Public Types | |
typedef std::list< tree_statement * >::const_iterator | const_iterator |
typedef std::list< tree_statement * >::const_reverse_iterator | const_reverse_iterator |
typedef std::list< tree_statement * >::iterator | iterator |
typedef std::list< tree_statement * >::reverse_iterator | reverse_iterator |
Protected Attributes | |
std::list< tree_statement * > | m_lst |
Private Attributes | |
bool | m_anon_function_body |
bool | m_function_body |
bool | m_script_body |
|
inherited |
Definition at line 44 of file base-list.h.
|
inherited |
Definition at line 48 of file base-list.h.
|
inherited |
Definition at line 43 of file base-list.h.
|
inherited |
Definition at line 46 of file base-list.h.
|
inline |
|
inline |
Definition at line 151 of file pt-stmt.h.
References octave::base_list< tree_statement * >::append().
|
delete |
|
inline |
Definition at line 161 of file pt-stmt.h.
References octave::base_list< tree_statement * >::begin(), octave::base_list< tree_statement * >::empty(), and octave::base_list< tree_statement * >::erase().
|
inline |
Definition at line 199 of file pt-stmt.h.
References octave::tree_walker::visit_statement_list().
Referenced by breakpoints_and_conds(), delete_breakpoint(), octave::tree_evaluator::do_unwind_protect_cleanup_code(), octave::tree_evaluator::execute_user_function(), octave::tree_evaluator::execute_user_script(), octave::cdef_class::cdef_class_rep::install_method(), list_breakpoints(), set_breakpoint(), octave::tree_breakpoint::visit_complex_for_command(), octave::tree_checker::visit_complex_for_command(), octave::tree_evaluator::visit_complex_for_command(), octave::tree_print_code::visit_complex_for_command(), octave::tree_walker::visit_complex_for_command(), octave::tree_breakpoint::visit_do_until_command(), octave::tree_evaluator::visit_do_until_command(), octave::jit_convert::visit_do_until_command(), octave::tree_print_code::visit_do_until_command(), octave::tree_walker::visit_do_until_command(), octave::tree_print_code::visit_if_clause(), octave::tree_walker::visit_if_clause(), octave::tree_breakpoint::visit_if_command_list(), octave::tree_evaluator::visit_if_command_list(), octave::jit_convert::visit_if_command_list(), octave::tree_print_code::visit_octave_user_function(), octave::tree_walker::visit_octave_user_function(), octave::tree_print_code::visit_octave_user_script(), octave::tree_walker::visit_octave_user_script(), octave::tree_breakpoint::visit_simple_for_command(), octave::tree_checker::visit_simple_for_command(), octave::tree_evaluator::visit_simple_for_command(), octave::jit_convert::visit_simple_for_command(), octave::tree_print_code::visit_simple_for_command(), octave::tree_walker::visit_simple_for_command(), octave::tree_print_code::visit_switch_case(), octave::tree_walker::visit_switch_case(), octave::tree_breakpoint::visit_switch_case_list(), octave::tree_evaluator::visit_switch_command(), octave::jit_convert::visit_switch_command(), octave::tree_breakpoint::visit_try_catch_command(), octave::tree_checker::visit_try_catch_command(), octave::tree_evaluator::visit_try_catch_command(), octave::tree_print_code::visit_try_catch_command(), octave::tree_walker::visit_try_catch_command(), octave::tree_breakpoint::visit_unwind_protect_command(), octave::tree_evaluator::visit_unwind_protect_command(), octave::tree_print_code::visit_unwind_protect_command(), octave::tree_walker::visit_unwind_protect_command(), octave::tree_breakpoint::visit_while_command(), octave::tree_evaluator::visit_while_command(), octave::jit_convert::visit_while_command(), octave::tree_print_code::visit_while_command(), and octave::tree_walker::visit_while_command().
bp_table::intmap octave::tree_statement_list::add_breakpoint | ( | event_manager & | evmgr, |
const std::string & | file, | ||
const bp_table::intmap & | line, | ||
const std::string & | condition | ||
) |
Definition at line 253 of file pt-stmt.cc.
References len, retval, set_breakpoint(), and octave::event_manager::update_breakpoint().
Referenced by octave::bp_table::add_breakpoint_1().
|
inlineinherited |
Definition at line 92 of file base-list.h.
|
inlineinherited |
Definition at line 80 of file base-list.h.
|
inlineinherited |
Definition at line 83 of file base-list.h.
|
inlineinherited |
Definition at line 65 of file base-list.h.
|
inlineinherited |
Definition at line 66 of file base-list.h.
std::list< bp_type > octave::tree_statement_list::breakpoints_and_conds | ( | void | ) |
Definition at line 229 of file pt-stmt.cc.
References accept(), octave::tree_breakpoint::get_cond_list(), octave::tree_breakpoint::get_list(), octave_value_list::length(), octave::tree_breakpoint::list, and retval.
Referenced by octave::bp_table::get_breakpoint_list().
|
inlineinherited |
Definition at line 63 of file base-list.h.
void octave::tree_statement_list::delete_breakpoint | ( | int | line | ) |
Definition at line 197 of file pt-stmt.cc.
References accept(), octave::tree_breakpoint::clear, len, octave_value_list::length(), and list_breakpoints().
Referenced by remove_all_breakpoints(), and octave::bp_table::remove_breakpoint_1().
|
inlineinherited |
Definition at line 50 of file base-list.h.
|
inlineinherited |
Definition at line 68 of file base-list.h.
|
inlineinherited |
Definition at line 69 of file base-list.h.
|
inlineinherited |
Definition at line 55 of file base-list.h.
|
inlineinherited |
Definition at line 79 of file base-list.h.
|
inlineinherited |
Definition at line 82 of file base-list.h.
|
inline |
Definition at line 179 of file pt-stmt.h.
References m_anon_function_body.
|
inline |
Definition at line 177 of file pt-stmt.h.
References m_function_body.
|
inline |
Definition at line 181 of file pt-stmt.h.
References m_script_body.
|
inlineinherited |
Definition at line 53 of file base-list.h.
octave_value_list octave::tree_statement_list::list_breakpoints | ( | void | ) |
Definition at line 219 of file pt-stmt.cc.
References accept(), octave::tree_breakpoint::get_list(), and octave::tree_breakpoint::list.
Referenced by delete_breakpoint(), remove_all_breakpoints(), and octave::bp_table::remove_breakpoint_1().
|
inline |
Definition at line 173 of file pt-stmt.h.
References m_anon_function_body.
|
inline |
Definition at line 171 of file pt-stmt.h.
References m_function_body.
Referenced by octave_user_function::octave_user_function().
|
inline |
Definition at line 175 of file pt-stmt.h.
References m_script_body.
Referenced by octave_user_script::octave_user_script().
|
delete |
|
inlineinherited |
Definition at line 89 of file base-list.h.
|
inlineinherited |
Definition at line 88 of file base-list.h.
|
inlineinherited |
Definition at line 86 of file base-list.h.
|
inlineinherited |
Definition at line 85 of file base-list.h.
|
inlineinherited |
Definition at line 71 of file base-list.h.
|
inlineinherited |
Definition at line 72 of file base-list.h.
bp_table::intmap octave::tree_statement_list::remove_all_breakpoints | ( | event_manager & | evmgr, |
const std::string & | file | ||
) |
Definition at line 281 of file pt-stmt.cc.
References delete_breakpoint(), octave_value_list::length(), list_breakpoints(), retval, and octave::event_manager::update_breakpoint().
Referenced by octave_user_code::~octave_user_code(), and octave::bp_table::remove_all_breakpoints_in_file().
|
inlineinherited |
Definition at line 58 of file base-list.h.
|
inlineinherited |
Definition at line 75 of file base-list.h.
|
inlineinherited |
Definition at line 76 of file base-list.h.
int octave::tree_statement_list::set_breakpoint | ( | int | line, |
const std::string & | condition | ||
) |
Definition at line 188 of file pt-stmt.cc.
References accept(), octave::tree_breakpoint::get_line(), and octave::tree_breakpoint::set.
Referenced by add_breakpoint().
|
inlineinherited |
Definition at line 52 of file base-list.h.
|
private |
Definition at line 210 of file pt-stmt.h.
Referenced by is_anon_function_body(), and mark_as_anon_function_body().
|
private |
Definition at line 207 of file pt-stmt.h.
Referenced by is_function_body(), and mark_as_function_body().
|
protectedinherited |
Definition at line 106 of file base-list.h.
|
private |
Definition at line 213 of file pt-stmt.h.
Referenced by is_script_body(), and mark_as_script_body().