#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 140 of file pt-bp.h.
References m_bp_cond_list.
Referenced by octave::tree_statement_list::breakpoints_and_conds().
|
inline |
Definition at line 142 of file pt-bp.h.
References m_found, and m_line.
Referenced by octave::tree_statement_list::set_breakpoint().
|
inline |
Definition at line 138 of file pt-bp.h.
References m_bp_list.
Referenced by octave::tree_statement_list::breakpoints_and_conds(), and octave::tree_statement_list::list_breakpoints().
|
delete |
|
inline |
|
private |
Definition at line 386 of file pt-bp.cc.
References octave_value_list::append(), octave::tree::bp_cond(), clear, octave::tree::delete_breakpoint(), octave::tree::is_breakpoint(), octave::tree::line(), list, m_action, m_bp_cond_list, m_bp_list, m_condition, m_found, m_line, panic_impossible, set, and octave::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 415 of file pt-bp.cc.
References octave_value_list::append(), octave::tree_statement::bp_cond(), clear, octave::tree_statement::delete_breakpoint(), octave::tree_statement::is_breakpoint(), octave::tree_statement::line(), list, m_action, m_bp_cond_list, m_bp_list, m_condition, m_found, m_line, panic_impossible, set, and octave::tree_statement::set_breakpoint().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 227 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 70 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 76 of file pt-bp.cc.
References panic_impossible.
|
virtualinherited |
Reimplemented in octave::jit_convert, and octave::tree_evaluator.
Definition at line 65 of file pt-walk.cc.
References octave::tree_walker::visit_binary_expression().
Referenced by octave::tree_boolean_expression::accept().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 82 of file pt-bp.cc.
References octave::tree::line(), m_line, and take_action().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 208 of file pt-bp.cc.
References panic_impossible.
|
virtualinherited |
Definition at line 606 of file pt-walk.cc.
Referenced by octave::tree_classdef::accept().
|
virtualinherited |
Definition at line 526 of file pt-walk.cc.
Referenced by octave::tree_classdef_attribute::accept().
|
virtualinherited |
Definition at line 531 of file pt-walk.cc.
Referenced by octave::tree_classdef_attribute_list::accept().
|
virtualinherited |
Definition at line 601 of file pt-walk.cc.
Referenced by octave::tree_classdef_body::accept().
|
virtualinherited |
Definition at line 586 of file pt-walk.cc.
Referenced by octave::tree_classdef_enum::accept().
|
virtualinherited |
Definition at line 596 of file pt-walk.cc.
Referenced by octave::tree_classdef_enum_block::accept().
|
virtualinherited |
Definition at line 591 of file pt-walk.cc.
Referenced by octave::tree_classdef_enum_list::accept().
|
virtualinherited |
Definition at line 571 of file pt-walk.cc.
Referenced by octave::tree_classdef_event::accept().
|
virtualinherited |
Definition at line 581 of file pt-walk.cc.
Referenced by octave::tree_classdef_events_block::accept().
|
virtualinherited |
Definition at line 576 of file pt-walk.cc.
Referenced by octave::tree_classdef_events_list::accept().
|
virtualinherited |
Definition at line 566 of file pt-walk.cc.
Referenced by octave::tree_classdef_methods_block::accept().
|
virtualinherited |
Definition at line 561 of file pt-walk.cc.
Referenced by octave::tree_classdef_methods_list::accept().
|
virtualinherited |
Definition at line 556 of file pt-walk.cc.
Referenced by octave::tree_classdef_properties_block::accept().
|
virtualinherited |
Definition at line 546 of file pt-walk.cc.
Referenced by octave::tree_classdef_property::accept().
|
virtualinherited |
Definition at line 551 of file pt-walk.cc.
Referenced by octave::tree_classdef_property_list::accept().
|
virtualinherited |
Definition at line 536 of file pt-walk.cc.
Referenced by octave::tree_classdef_superclass::accept().
|
virtualinherited |
Definition at line 541 of file pt-walk.cc.
Referenced by octave::tree_classdef_superclass_list::accept().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 89 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 136 of file pt-bp.cc.
References octave::tree_statement_list::accept(), octave::tree_complex_for_command::body(), octave::tree::line(), m_found, m_line, and take_action().
|
virtualinherited |
Reimplemented in octave::tree_evaluator.
Definition at line 70 of file pt-walk.cc.
References octave::tree_walker::visit_binary_expression().
Referenced by octave::tree_compound_binary_expression::accept().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 233 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 95 of file pt-bp.cc.
References octave::tree::line(), m_line, and take_action().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 102 of file pt-bp.cc.
References octave::tree::line(), m_line, and take_action().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 115 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 109 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 52 of file pt-bp.cc.
References octave::tree_statement_list::accept(), octave::tree_while_command::body(), octave::tree::line(), m_found, m_line, and take_action().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 239 of file pt-bp.cc.
References panic_impossible.
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, and octave::ctor_analyzer.
Definition at line 193 of file pt-walk.cc.
References octave::f(), octave::tree_function_def::function(), and octave_value::function_value().
Referenced by octave::tree_function_def::accept().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 163 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 169 of file pt-bp.cc.
References panic_impossible.
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, and octave::ctor_analyzer.
Definition at line 221 of file pt-walk.cc.
References octave::tree_if_command_list::accept(), and octave::tree_if_command::cmd_list().
Referenced by octave::tree_if_command::accept().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 175 of file pt-bp.cc.
References octave::tree_statement_list::accept(), m_found, m_line, and take_action().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 196 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 202 of file pt-bp.cc.
References panic_impossible.
|
virtualinherited |
Reimplemented in octave::tree_print_code, and octave::tree_evaluator.
Definition at line 521 of file pt-walk.cc.
Referenced by octave::tree_metaclass_query::accept().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 214 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 220 of file pt-bp.cc.
References octave::tree_no_op_command::is_end_of_fcn_or_script(), octave::tree::line(), m_line, and take_action().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, and octave::ctor_analyzer.
Definition at line 185 of file pt-walk.cc.
References octave::tree_statement_list::accept(), and octave_user_code::body().
Referenced by octave_user_function::accept().
void octave::tree_breakpoint::visit_octave_user_function_header | ( | octave_user_function & | ) |
Definition at line 151 of file pt-bp.cc.
References panic_impossible.
void octave::tree_breakpoint::visit_octave_user_function_trailer | ( | octave_user_function & | ) |
Definition at line 157 of file pt-bp.cc.
References panic_impossible.
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, and octave::ctor_analyzer.
Definition at line 177 of file pt-walk.cc.
References octave::tree_statement_list::accept(), and octave_user_code::body().
Referenced by octave_user_script::accept().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 245 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 251 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 257 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 263 of file pt-bp.cc.
References octave::tree::line(), m_line, and take_action().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 270 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 121 of file pt-bp.cc.
References octave::tree_statement_list::accept(), octave::tree_simple_for_command::body(), octave::tree::line(), m_found, m_line, and take_action().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 276 of file pt-bp.cc.
References octave::tree::accept(), octave::tree_statement::command(), octave::tree_statement::is_command(), octave::tree_statement::line(), m_line, and take_action().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 295 of file pt-bp.cc.
References m_found.
|
virtualinherited |
Reimplemented in octave::ctor_analyzer, octave::tree_print_code, and octave::tree_evaluator.
Definition at line 516 of file pt-walk.cc.
Referenced by octave::tree_superclass_ref::accept().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 310 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 316 of file pt-bp.cc.
References octave::tree_statement_list::accept(), m_found, m_line, and take_action().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 337 of file pt-bp.cc.
References octave::tree_switch_case_list::accept(), octave::tree_switch_command::case_list(), octave::tree::line(), m_found, m_line, and take_action().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 352 of file pt-bp.cc.
References octave::tree_statement_list::accept(), octave::tree_try_catch_command::body(), octave::tree_try_catch_command::cleanup(), and m_found.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 369 of file pt-bp.cc.
References octave::tree_statement_list::accept(), octave::tree_unwind_protect_command::body(), octave::tree_unwind_protect_command::cleanup(), and m_found.
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 37 of file pt-bp.cc.
References octave::tree_statement_list::accept(), octave::tree_while_command::body(), octave::tree::line(), m_found, m_line, and take_action().
|
private |
Definition at line 154 of file pt-bp.h.
Referenced by take_action().
|
private |
Definition at line 166 of file pt-bp.h.
Referenced by get_cond_list(), and take_action().
|
private |
Definition at line 163 of file pt-bp.h.
Referenced by get_list(), and take_action().
|
private |
Definition at line 157 of file pt-bp.h.
Referenced by take_action().
|
private |
Definition at line 160 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 151 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().