GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "pt-bp.h"
Public Types | |
enum | action { set = 1, clear = 2, list = 3 } |
Private Member Functions | |
tree_breakpoint (const tree_breakpoint &) | |
void | do_decl_command (tree_decl_command &) |
tree_breakpoint & | operator= (const tree_breakpoint &) |
void | take_action (tree &tr) |
void | take_action (tree_statement &stmt) |
Private Attributes | |
action | act |
octave_value_list | bp_list |
bool | found |
int | line |
|
private |
|
private |
Definition at line 101 of file pt-bp.cc.
References tree::line(), line, and take_action().
Referenced by visit_global_command(), and visit_persistent_command().
|
inline |
Definition at line 139 of file pt-bp.h.
Referenced by tree_statement_list::set_breakpoint().
|
inline |
Definition at line 137 of file pt-bp.h.
Referenced by tree_statement_list::list_breakpoints().
|
private |
|
private |
Definition at line 450 of file pt-bp.cc.
References act, octave_value_list::append(), bp_list, clear, tree::delete_breakpoint(), found, tree::is_breakpoint(), tree::line(), list, panic_impossible, set, and tree::set_breakpoint().
Referenced by do_decl_command(), visit_break_command(), visit_complex_for_command(), visit_continue_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 476 of file pt-bp.cc.
References act, octave_value_list::append(), bp_list, clear, tree_statement::delete_breakpoint(), found, tree_statement::is_breakpoint(), tree_statement::line(), list, panic_impossible, set, and tree_statement::set_breakpoint().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements tree_walker.
Definition at line 81 of file pt-bp.cc.
References tree::line(), line, and take_action().
|
virtual |
|
inlinevirtualinherited |
Definition at line 267 of file pt-walk.h.
Referenced by tree_classdef::accept().
|
inlinevirtualinherited |
Definition at line 219 of file pt-walk.h.
Referenced by tree_classdef_attribute::accept().
|
inlinevirtualinherited |
Definition at line 222 of file pt-walk.h.
Referenced by tree_classdef_attribute_list::accept().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Definition at line 255 of file pt-walk.h.
Referenced by tree_classdef_enum::accept().
|
inlinevirtualinherited |
Definition at line 261 of file pt-walk.h.
Referenced by tree_classdef_enum_block::accept().
|
inlinevirtualinherited |
Definition at line 258 of file pt-walk.h.
Referenced by tree_classdef_enum_list::accept().
|
inlinevirtualinherited |
Definition at line 246 of file pt-walk.h.
Referenced by tree_classdef_event::accept().
|
inlinevirtualinherited |
Definition at line 252 of file pt-walk.h.
Referenced by tree_classdef_events_block::accept().
|
inlinevirtualinherited |
Definition at line 249 of file pt-walk.h.
Referenced by tree_classdef_events_list::accept().
|
inlinevirtualinherited |
Definition at line 243 of file pt-walk.h.
Referenced by tree_classdef_methods_block::accept().
|
inlinevirtualinherited |
Definition at line 240 of file pt-walk.h.
Referenced by tree_classdef_methods_list::accept().
|
inlinevirtualinherited |
Definition at line 237 of file pt-walk.h.
Referenced by tree_classdef_properties_block::accept().
|
inlinevirtualinherited |
Definition at line 231 of file pt-walk.h.
Referenced by tree_classdef_property::accept().
|
inlinevirtualinherited |
Definition at line 234 of file pt-walk.h.
Referenced by tree_classdef_property_list::accept().
|
inlinevirtualinherited |
Definition at line 225 of file pt-walk.h.
Referenced by tree_classdef_superclass::accept().
|
inlinevirtualinherited |
Definition at line 228 of file pt-walk.h.
Referenced by tree_classdef_superclass_list::accept().
|
virtual |
|
virtual |
Implements tree_walker.
Definition at line 147 of file pt-bp.cc.
References tree_statement_list::accept(), tree_complex_for_command::body(), found, tree::line(), line, and take_action().
|
virtual |
|
virtual |
Implements tree_walker.
Definition at line 94 of file pt-bp.cc.
References tree::line(), line, and take_action().
|
virtual |
|
virtual |
|
virtual |
Implements tree_walker.
Definition at line 51 of file pt-bp.cc.
References tree_statement_list::accept(), tree_while_command::body(), found, tree::line(), line, and take_action().
|
virtual |
|
virtual |
|
virtual |
Implements tree_walker.
Definition at line 192 of file pt-bp.cc.
References octave_function::accept(), f, tree_function_def::function(), and octave_value::function_value().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements tree_walker.
Definition at line 215 of file pt-bp.cc.
References tree_if_command_list::accept(), and tree_if_command::cmd_list().
|
virtual |
Implements tree_walker.
Definition at line 224 of file pt-bp.cc.
References tree_statement_list::accept(), octave_base_list< elt_type >::begin(), tree_if_clause::commands(), octave_base_list< elt_type >::end(), found, tree::line(), line, and take_action().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements tree_walker.
Definition at line 271 of file pt-bp.cc.
References tree_no_op_command::is_end_of_fcn_or_script(), tree::line(), line, and take_action().
|
virtual |
Implements tree_walker.
Definition at line 171 of file pt-bp.cc.
References tree_statement_list::accept(), and octave_user_function::body().
void tree_breakpoint::visit_octave_user_function_header | ( | octave_user_function & | ) |
Definition at line 180 of file pt-bp.cc.
References panic_impossible.
void tree_breakpoint::visit_octave_user_function_trailer | ( | octave_user_function & | ) |
Definition at line 186 of file pt-bp.cc.
References panic_impossible.
|
virtual |
Implements tree_walker.
Definition at line 162 of file pt-bp.cc.
References tree_statement_list::accept(), and octave_user_script::body().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements tree_walker.
Definition at line 320 of file pt-bp.cc.
References tree::line(), line, and take_action().
|
virtual |
|
virtual |
|
virtual |
Implements tree_walker.
Definition at line 132 of file pt-bp.cc.
References tree_statement_list::accept(), tree_simple_for_command::body(), found, tree::line(), line, and take_action().
|
virtual |
Implements tree_walker.
Definition at line 339 of file pt-bp.cc.
References tree::accept(), tree_statement::command(), tree_statement::is_command(), tree_statement::line(), line, and take_action().
|
virtual |
Implements tree_walker.
Definition at line 355 of file pt-bp.cc.
References tree_statement::accept(), octave_base_list< elt_type >::begin(), octave_base_list< elt_type >::end(), and found.
|
virtual |
|
virtual |
Implements tree_walker.
Definition at line 378 of file pt-bp.cc.
References tree_statement_list::accept(), octave_base_list< elt_type >::begin(), tree_switch_case::commands(), octave_base_list< elt_type >::end(), found, tree::line(), line, and take_action().
|
virtual |
Implements tree_walker.
Definition at line 401 of file pt-bp.cc.
References tree_switch_case_list::accept(), tree_switch_command::case_list(), found, tree::line(), line, and take_action().
|
virtual |
Implements tree_walker.
Definition at line 416 of file pt-bp.cc.
References tree_statement_list::accept(), tree_try_catch_command::body(), tree_try_catch_command::cleanup(), and found.
|
virtual |
Implements tree_walker.
Definition at line 433 of file pt-bp.cc.
References tree_statement_list::accept(), tree_unwind_protect_command::body(), tree_unwind_protect_command::cleanup(), and found.
|
virtual |
Implements tree_walker.
Definition at line 36 of file pt-bp.cc.
References tree_statement_list::accept(), tree_while_command::body(), found, tree::line(), line, and take_action().
|
private |
Definition at line 153 of file pt-bp.h.
Referenced by take_action().
|
private |
Definition at line 159 of file pt-bp.h.
Referenced by take_action().
|
private |
Definition at line 156 of file pt-bp.h.
Referenced by 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 150 of file pt-bp.h.
Referenced by do_decl_command(), visit_break_command(), visit_complex_for_command(), visit_continue_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().