#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 148 of file pt-bp.h.
References m_bp_cond_list.
Referenced by octave::tree_statement_list::breakpoints_and_conds().
|
inline |
Definition at line 150 of file pt-bp.h.
References m_found, and m_line.
Referenced by octave::tree_statement_list::set_breakpoint().
|
inline |
Definition at line 146 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 437 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, 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 466 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, and octave::tree_statement::set_breakpoint().
|
virtual |
Implements octave::tree_walker.
Definition at line 266 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 71 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 77 of file pt-bp.cc.
References panic_impossible.
|
virtualinherited |
Reimplemented in octave::tree_evaluator, and octave::jit_convert.
Definition at line 34 of file pt-walk.cc.
References octave::tree_walker::visit_binary_expression().
Referenced by octave::tree_boolean_expression::accept().
|
virtual |
Implements octave::tree_walker.
Definition at line 83 of file pt-bp.cc.
References octave::tree::line(), m_line, and take_action().
|
virtual |
Implements octave::tree_walker.
Definition at line 247 of file pt-bp.cc.
References panic_impossible.
|
inlinevirtualinherited |
Definition at line 294 of file pt-walk.h.
Referenced by octave::tree_classdef::accept().
|
inlinevirtualinherited |
Definition at line 246 of file pt-walk.h.
Referenced by octave::tree_classdef_attribute::accept().
|
inlinevirtualinherited |
Definition at line 249 of file pt-walk.h.
Referenced by octave::tree_classdef_attribute_list::accept().
|
inlinevirtualinherited |
Definition at line 291 of file pt-walk.h.
Referenced by octave::tree_classdef_body::accept().
|
inlinevirtualinherited |
Definition at line 282 of file pt-walk.h.
Referenced by octave::tree_classdef_enum::accept().
|
inlinevirtualinherited |
Definition at line 288 of file pt-walk.h.
Referenced by octave::tree_classdef_enum_block::accept().
|
inlinevirtualinherited |
Definition at line 285 of file pt-walk.h.
Referenced by octave::tree_classdef_enum_list::accept().
|
inlinevirtualinherited |
Definition at line 273 of file pt-walk.h.
Referenced by octave::tree_classdef_event::accept().
|
inlinevirtualinherited |
Definition at line 279 of file pt-walk.h.
Referenced by octave::tree_classdef_events_block::accept().
|
inlinevirtualinherited |
Definition at line 276 of file pt-walk.h.
Referenced by octave::tree_classdef_events_list::accept().
|
inlinevirtualinherited |
Definition at line 270 of file pt-walk.h.
Referenced by octave::tree_classdef_methods_block::accept().
|
inlinevirtualinherited |
Definition at line 267 of file pt-walk.h.
Referenced by octave::tree_classdef_methods_list::accept().
|
inlinevirtualinherited |
Definition at line 264 of file pt-walk.h.
Referenced by octave::tree_classdef_properties_block::accept().
|
inlinevirtualinherited |
Definition at line 258 of file pt-walk.h.
Referenced by octave::tree_classdef_property::accept().
|
inlinevirtualinherited |
Definition at line 261 of file pt-walk.h.
Referenced by octave::tree_classdef_property_list::accept().
|
inlinevirtualinherited |
Definition at line 252 of file pt-walk.h.
Referenced by octave::tree_classdef_superclass::accept().
|
inlinevirtualinherited |
Definition at line 255 of file pt-walk.h.
Referenced by octave::tree_classdef_superclass_list::accept().
|
virtual |
Implements octave::tree_walker.
Definition at line 90 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 137 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 40 of file pt-walk.cc.
References octave::tree_walker::visit_binary_expression().
Referenced by octave::tree_compound_binary_expression::accept().
|
virtual |
Implements octave::tree_walker.
Definition at line 272 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 96 of file pt-bp.cc.
References octave::tree::line(), m_line, and take_action().
|
virtual |
Implements octave::tree_walker.
Definition at line 103 of file pt-bp.cc.
References octave::tree::line(), m_line, and take_action().
|
virtual |
Implements octave::tree_walker.
Definition at line 116 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 110 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 53 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 |
Implements octave::tree_walker.
Definition at line 278 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 284 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 182 of file pt-bp.cc.
References f, fcn, octave::tree_function_def::function(), and octave_base_value::function_value().
|
virtual |
Implements octave::tree_walker.
Definition at line 193 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 199 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 205 of file pt-bp.cc.
References octave::tree_if_command_list::accept(), and octave::tree_if_command::cmd_list().
|
virtual |
Implements octave::tree_walker.
Definition at line 214 of file pt-bp.cc.
References octave::tree_statement_list::accept(), m_found, m_line, t, and take_action().
|
virtual |
Implements octave::tree_walker.
Definition at line 235 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 241 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 253 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 259 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().
|
virtual |
Implements octave::tree_walker.
Definition at line 161 of file pt-bp.cc.
References octave::tree_statement_list::accept(), and fcn.
void octave::tree_breakpoint::visit_octave_user_function_header | ( | octave_user_function & | ) |
Definition at line 170 of file pt-bp.cc.
References panic_impossible.
void octave::tree_breakpoint::visit_octave_user_function_trailer | ( | octave_user_function & | ) |
Definition at line 176 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 152 of file pt-bp.cc.
References octave::tree_statement_list::accept(), and fcn.
|
virtual |
Implements octave::tree_walker.
Definition at line 290 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 296 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 302 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 308 of file pt-bp.cc.
References octave::tree::line(), m_line, and take_action().
|
virtual |
Implements octave::tree_walker.
Definition at line 315 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 321 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 122 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 |
Implements octave::tree_walker.
Definition at line 327 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 |
|
virtual |
Implements octave::tree_walker.
Definition at line 361 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements octave::tree_walker.
Definition at line 367 of file pt-bp.cc.
References octave::tree_statement_list::accept(), m_found, m_line, t, and take_action().
|
virtual |
Implements octave::tree_walker.
Definition at line 388 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 |
Implements octave::tree_walker.
Definition at line 403 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 |
Implements octave::tree_walker.
Definition at line 420 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 |
Implements octave::tree_walker.
Definition at line 38 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 162 of file pt-bp.h.
Referenced by take_action().
|
private |
Definition at line 174 of file pt-bp.h.
Referenced by get_cond_list(), and take_action().
|
private |
Definition at line 171 of file pt-bp.h.
Referenced by get_list(), and take_action().
|
private |
Definition at line 165 of file pt-bp.h.
Referenced by take_action().
|
private |
Definition at line 168 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 159 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().