#include "pt-bp.h"
Public Types | |
enum | action { set = 1 , clear = 2 , list = 3 } |
Private Member Functions | |
void | take_action (tree &tr) |
void | take_action (tree_statement &stmt) |
Private Attributes | |
action | m_action |
octave_value_list | m_bp_cond_list |
octave_value_list | m_bp_list |
std::string | m_condition |
bool | m_found |
int | m_line |
|
inline |
|
delete |
|
default |
|
inline |
Definition at line 152 of file pt-bp.h.
References m_bp_cond_list.
Referenced by tree_statement_list::breakpoints_and_conds().
|
inline |
Definition at line 154 of file pt-bp.h.
References m_found, and m_line.
Referenced by tree_statement_list::set_breakpoint().
|
inline |
Definition at line 150 of file pt-bp.h.
References m_bp_list.
Referenced by tree_statement_list::breakpoints_and_conds(), and tree_statement_list::list_breakpoints().
|
delete |
|
inline |
|
private |
Definition at line 422 of file pt-bp.cc.
References octave_value_list::append(), tree::bp_cond(), clear, tree::delete_breakpoint(), tree::is_breakpoint(), tree::line(), list, m_action, m_bp_cond_list, m_bp_list, m_condition, m_found, m_line, panic_impossible, set, and tree::set_breakpoint().
Referenced by visit_break_command(), visit_complex_for_command(), visit_continue_command(), visit_decl_command(), visit_do_until_command(), visit_if_command_list(), visit_no_op_command(), visit_return_command(), visit_simple_for_command(), visit_statement(), visit_switch_case_list(), visit_switch_command(), and visit_while_command().
|
private |
Definition at line 451 of file pt-bp.cc.
References octave_value_list::append(), tree_statement::bp_cond(), clear, tree_statement::delete_breakpoint(), tree_statement::is_breakpoint(), tree_statement::line(), list, m_action, m_bp_cond_list, m_bp_list, m_condition, m_found, m_line, panic_impossible, set, and tree_statement::set_breakpoint().
|
virtual |
Reimplemented from tree_walker.
Definition at line 263 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 100 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 94 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 106 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 82 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 88 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 70 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
|
virtual |
Reimplemented from tree_walker.
Definition at line 112 of file pt-bp.cc.
References panic_impossible.
|
virtualinherited |
Reimplemented in tree_evaluator.
Definition at line 147 of file pt-walk.cc.
References tree_walker::visit_binary_expression().
Referenced by tree_boolean_expression::accept().
|
virtual |
Reimplemented from tree_walker.
Definition at line 118 of file pt-bp.cc.
References tree::line(), m_line, and take_action().
|
virtual |
Reimplemented from tree_walker.
Definition at line 244 of file pt-bp.cc.
References panic_impossible.
|
virtualinherited |
Definition at line 766 of file pt-walk.cc.
References tree_classdef_attribute_list::accept(), tree_classdef_superclass_list::accept(), tree_classdef_body::accept(), tree_identifier::accept(), tree_classdef::attribute_list(), tree_classdef::body(), tree_classdef::ident(), and tree_classdef::superclass_list().
Referenced by tree_classdef::accept().
|
virtualinherited |
Definition at line 616 of file pt-walk.cc.
References tree_identifier::accept(), tree::accept(), tree_classdef_attribute::expression(), and tree_classdef_attribute::ident().
Referenced by tree_classdef_attribute::accept().
|
virtualinherited |
Definition at line 629 of file pt-walk.cc.
Referenced by tree_classdef_attribute_list::accept().
|
virtualinherited |
Definition at line 738 of file pt-walk.cc.
References tree_classdef_body::enum_list(), tree_classdef_body::events_list(), tree_classdef_body::methods_list(), and tree_classdef_body::properties_list().
Referenced by tree_classdef_body::accept().
|
virtualinherited |
Definition at line 716 of file pt-walk.cc.
Referenced by tree_classdef_enum::accept().
|
virtualinherited |
Definition at line 730 of file pt-walk.cc.
References tree_classdef_enum_list::accept(), and tree_classdef_element< T >::element_list().
Referenced by tree_classdef_enum_block::accept().
|
virtualinherited |
Definition at line 721 of file pt-walk.cc.
Referenced by tree_classdef_enum_list::accept().
|
virtualinherited |
Definition at line 694 of file pt-walk.cc.
Referenced by tree_classdef_event::accept().
|
virtualinherited |
Definition at line 708 of file pt-walk.cc.
References tree_classdef_events_list::accept(), and tree_classdef_element< T >::element_list().
Referenced by tree_classdef_events_block::accept().
|
virtualinherited |
Definition at line 699 of file pt-walk.cc.
Referenced by tree_classdef_events_list::accept().
|
virtualinherited |
Definition at line 686 of file pt-walk.cc.
References tree_classdef_methods_list::accept(), and tree_classdef_element< T >::element_list().
Referenced by tree_classdef_methods_block::accept().
|
virtualinherited |
Definition at line 675 of file pt-walk.cc.
References octave_user_function::accept(), and octave_user_function::user_function_value().
Referenced by tree_classdef_methods_list::accept().
|
virtualinherited |
Definition at line 667 of file pt-walk.cc.
References tree_classdef_property_list::accept(), and tree_classdef_element< T >::element_list().
Referenced by tree_classdef_properties_block::accept().
|
virtualinherited |
Definition at line 652 of file pt-walk.cc.
Referenced by tree_classdef_property::accept().
|
virtualinherited |
Definition at line 658 of file pt-walk.cc.
Referenced by tree_classdef_property_list::accept().
|
virtualinherited |
Definition at line 638 of file pt-walk.cc.
Referenced by tree_classdef_superclass::accept().
|
virtualinherited |
Definition at line 643 of file pt-walk.cc.
Referenced by tree_classdef_superclass_list::accept().
|
virtual |
Reimplemented from tree_walker.
Definition at line 125 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 172 of file pt-bp.cc.
References tree_statement_list::accept(), tree_complex_for_command::body(), tree::line(), m_found, m_line, and take_action().
|
virtualinherited |
Reimplemented in tree_evaluator.
Definition at line 152 of file pt-walk.cc.
References tree_walker::visit_binary_expression().
Referenced by tree_compound_binary_expression::accept().
|
virtual |
Reimplemented from tree_walker.
Definition at line 269 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 131 of file pt-bp.cc.
References tree::line(), m_line, and take_action().
|
virtual |
Reimplemented from tree_walker.
Definition at line 138 of file pt-bp.cc.
References tree::line(), m_line, and take_action().
|
virtual |
Reimplemented from tree_walker.
Definition at line 151 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 145 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 52 of file pt-bp.cc.
References tree_statement_list::accept(), tree_while_command::body(), tree::line(), m_found, m_line, and take_action().
|
virtual |
Reimplemented from tree_walker.
Definition at line 275 of file pt-bp.cc.
References panic_impossible.
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, and ctor_analyzer.
Definition at line 283 of file pt-walk.cc.
References f, tree_function_def::function(), and octave_value::function_value().
Referenced by tree_function_def::accept().
|
virtual |
Reimplemented from tree_walker.
Definition at line 199 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 205 of file pt-bp.cc.
References panic_impossible.
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, and ctor_analyzer.
Definition at line 311 of file pt-walk.cc.
References tree_if_command_list::accept(), and tree_if_command::cmd_list().
Referenced by tree_if_command::accept().
|
virtual |
Reimplemented from tree_walker.
Definition at line 211 of file pt-bp.cc.
References tree_statement_list::accept(), m_found, m_line, and take_action().
|
virtual |
Reimplemented from tree_walker.
Definition at line 232 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 238 of file pt-bp.cc.
References panic_impossible.
|
virtualinherited |
Reimplemented in tree_print_code, and tree_evaluator.
Definition at line 611 of file pt-walk.cc.
Referenced by tree_metaclass_query::accept().
|
virtual |
Reimplemented from tree_walker.
Definition at line 250 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 256 of file pt-bp.cc.
References tree_no_op_command::is_end_of_fcn_or_script(), tree::line(), m_line, and take_action().
|
virtualinherited |
Reimplemented in parse_tree_validator, tree_print_code, tree_evaluator, and ctor_analyzer.
Definition at line 275 of file pt-walk.cc.
References tree_statement_list::accept(), and octave_user_code::body().
void tree_breakpoint::visit_octave_user_function_header | ( | octave_user_function & | ) |
Definition at line 187 of file pt-bp.cc.
References panic_impossible.
void tree_breakpoint::visit_octave_user_function_trailer | ( | octave_user_function & | ) |
Definition at line 193 of file pt-bp.cc.
References panic_impossible.
|
virtualinherited |
Reimplemented in parse_tree_validator, tree_print_code, tree_evaluator, and ctor_analyzer.
Definition at line 267 of file pt-walk.cc.
References tree_statement_list::accept(), and octave_user_code::body().
|
virtual |
Reimplemented from tree_walker.
Definition at line 281 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 287 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 293 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 299 of file pt-bp.cc.
References tree::line(), m_line, and take_action().
|
virtual |
Reimplemented from tree_walker.
Definition at line 306 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 157 of file pt-bp.cc.
References tree_statement_list::accept(), tree_simple_for_command::body(), tree::line(), m_found, m_line, and take_action().
|
virtualinherited |
Reimplemented in tree_print_code, and tree_evaluator.
Definition at line 259 of file pt-walk.cc.
References tree_statement_list::accept(), and tree_spmd_command::body().
Referenced by tree_spmd_command::accept().
|
virtual |
Reimplemented from tree_walker.
Definition at line 312 of file pt-bp.cc.
References tree::accept(), tree_statement::command(), tree_statement::is_command(), tree_statement::line(), m_line, and take_action().
|
virtual |
|
virtualinherited |
Reimplemented in ctor_analyzer, tree_print_code, and tree_evaluator.
Definition at line 606 of file pt-walk.cc.
Referenced by tree_superclass_ref::accept().
|
virtual |
Reimplemented from tree_walker.
Definition at line 346 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 352 of file pt-bp.cc.
References tree_statement_list::accept(), m_found, m_line, and take_action().
|
virtual |
Reimplemented from tree_walker.
Definition at line 373 of file pt-bp.cc.
References tree_switch_case_list::accept(), tree_switch_command::case_list(), tree::line(), m_found, m_line, and take_action().
|
virtual |
Reimplemented from tree_walker.
Definition at line 388 of file pt-bp.cc.
References tree_statement_list::accept(), tree_try_catch_command::body(), tree_try_catch_command::cleanup(), and m_found.
|
virtual |
Reimplemented from tree_walker.
Definition at line 405 of file pt-bp.cc.
References tree_statement_list::accept(), tree_unwind_protect_command::body(), tree_unwind_protect_command::cleanup(), and m_found.
|
virtual |
Reimplemented from tree_walker.
Definition at line 37 of file pt-bp.cc.
References tree_statement_list::accept(), tree_while_command::body(), tree::line(), m_found, m_line, and take_action().
|
private |
Definition at line 166 of file pt-bp.h.
Referenced by take_action().
|
private |
Definition at line 178 of file pt-bp.h.
Referenced by get_cond_list(), and take_action().
|
private |
Definition at line 175 of file pt-bp.h.
Referenced by get_list(), and take_action().
|
private |
Definition at line 169 of file pt-bp.h.
Referenced by take_action().
|
private |
Definition at line 172 of file pt-bp.h.
Referenced by get_line(), success(), take_action(), visit_complex_for_command(), visit_do_until_command(), visit_if_command_list(), visit_simple_for_command(), visit_statement_list(), visit_switch_case_list(), visit_switch_command(), visit_try_catch_command(), visit_unwind_protect_command(), and visit_while_command().
|
private |
Definition at line 163 of file pt-bp.h.
Referenced by get_line(), take_action(), visit_break_command(), visit_complex_for_command(), visit_continue_command(), visit_decl_command(), visit_do_until_command(), visit_if_command_list(), visit_no_op_command(), visit_return_command(), visit_simple_for_command(), visit_statement(), visit_switch_case_list(), visit_switch_command(), and visit_while_command().