#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 |
Definition at line 151 of file pt-stmt.h.
References base_list< tree_statement * >::append().
|
delete |
|
inline |
Definition at line 161 of file pt-stmt.h.
References base_list< tree_statement * >::begin(), base_list< tree_statement * >::empty(), and base_list< tree_statement * >::erase().
|
inline |
Definition at line 199 of file pt-stmt.h.
References tree_walker::visit_statement_list().
Referenced by breakpoints_and_conds(), delete_breakpoint(), tree_evaluator::do_unwind_protect_cleanup_code(), tree_evaluator::execute_range_loop(), tree_evaluator::execute_user_function(), tree_evaluator::execute_user_script(), base_parser::finish_input(), cdef_class::cdef_class_rep::install_method(), list_breakpoints(), set_breakpoint(), tree_breakpoint::visit_complex_for_command(), tree_checker::visit_complex_for_command(), tree_evaluator::visit_complex_for_command(), tree_print_code::visit_complex_for_command(), tree_walker::visit_complex_for_command(), tree_breakpoint::visit_do_until_command(), tree_evaluator::visit_do_until_command(), tree_print_code::visit_do_until_command(), tree_walker::visit_do_until_command(), tree_print_code::visit_if_clause(), tree_walker::visit_if_clause(), tree_breakpoint::visit_if_command_list(), tree_evaluator::visit_if_command_list(), tree_print_code::visit_octave_user_function(), tree_walker::visit_octave_user_function(), parse_tree_validator::visit_octave_user_function(), tree_print_code::visit_octave_user_script(), tree_walker::visit_octave_user_script(), parse_tree_validator::visit_octave_user_script(), tree_breakpoint::visit_simple_for_command(), tree_checker::visit_simple_for_command(), tree_evaluator::visit_simple_for_command(), tree_print_code::visit_simple_for_command(), tree_walker::visit_simple_for_command(), tree_evaluator::visit_spmd_command(), tree_print_code::visit_spmd_command(), tree_walker::visit_spmd_command(), tree_print_code::visit_switch_case(), tree_walker::visit_switch_case(), tree_breakpoint::visit_switch_case_list(), tree_evaluator::visit_switch_command(), tree_breakpoint::visit_try_catch_command(), tree_checker::visit_try_catch_command(), tree_evaluator::visit_try_catch_command(), tree_print_code::visit_try_catch_command(), tree_walker::visit_try_catch_command(), tree_breakpoint::visit_unwind_protect_command(), tree_evaluator::visit_unwind_protect_command(), tree_print_code::visit_unwind_protect_command(), tree_walker::visit_unwind_protect_command(), tree_breakpoint::visit_while_command(), tree_evaluator::visit_while_command(), tree_print_code::visit_while_command(), and tree_walker::visit_while_command().
bp_table::bp_lines tree_statement_list::add_breakpoint | ( | event_manager & | evmgr, |
const std::string & | file, | ||
const bp_table::bp_lines & | lines, | ||
const std::string & | condition | ||
) |
Definition at line 255 of file pt-stmt.cc.
References set_breakpoint(), and event_manager::update_breakpoint().
Referenced by 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 > tree_statement_list::breakpoints_and_conds | ( | void | ) |
Definition at line 231 of file pt-stmt.cc.
References accept(), tree_breakpoint::get_cond_list(), tree_breakpoint::get_list(), octave_value_list::length(), and tree_breakpoint::list.
Referenced by bp_table::get_breakpoint_list().
|
inlineinherited |
Definition at line 63 of file base-list.h.
void tree_statement_list::delete_breakpoint | ( | int | line | ) |
Definition at line 199 of file pt-stmt.cc.
References accept(), tree_breakpoint::clear, len, octave_value_list::length(), and list_breakpoints().
Referenced by remove_all_breakpoints(), and 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 tree_statement_list::list_breakpoints | ( | void | ) |
Definition at line 221 of file pt-stmt.cc.
References accept(), tree_breakpoint::get_list(), and tree_breakpoint::list.
Referenced by delete_breakpoint(), remove_all_breakpoints(), and 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.
|
inline |
Definition at line 175 of file pt-stmt.h.
References m_script_body.
|
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::bp_lines tree_statement_list::remove_all_breakpoints | ( | event_manager & | evmgr, |
const std::string & | file | ||
) |
Definition at line 279 of file pt-stmt.cc.
References delete_breakpoint(), octave_value_list::length(), list_breakpoints(), and event_manager::update_breakpoint().
Referenced by bp_table::remove_all_breakpoints_from_function().
|
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 tree_statement_list::set_breakpoint | ( | int | line, |
const std::string & | condition | ||
) |
Definition at line 190 of file pt-stmt.cc.
References accept(), tree_breakpoint::get_line(), and 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().