GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
tree_breakpoint Class Reference

#include "pt-bp.h"

Inheritance diagram for tree_breakpoint:
tree_walker

Public Types

enum  action { set = 1 , clear = 2 , list = 3 }
 

Public Member Functions

 tree_breakpoint (int l, action a, const std::string &c="")
 
 ~tree_breakpoint ()=default
 
octave_value_list get_cond_list ()
 
int get_line ()
 
octave_value_list get_list ()
 
bool success () const
 
void visit_anon_fcn_handle (tree_anon_fcn_handle &)
 
void visit_arg_size_spec (tree_arg_size_spec &)
 
void visit_arg_validation (tree_arg_validation &)
 
void visit_arg_validation_fcns (tree_arg_validation_fcns &)
 
void visit_args_block_attribute_list (tree_args_block_attribute_list &)
 
void visit_args_block_validation_list (tree_args_block_validation_list &)
 
void visit_argument_list (tree_argument_list &)
 
void visit_arguments_block (tree_arguments_block &)
 
void visit_binary_expression (tree_binary_expression &)
 
void visit_break_command (tree_break_command &)
 
void visit_cell (tree_cell &)
 
void visit_colon_expression (tree_colon_expression &)
 
void visit_complex_for_command (tree_complex_for_command &)
 
void visit_constant (tree_constant &)
 
void visit_continue_command (tree_continue_command &)
 
void visit_decl_command (tree_decl_command &)
 
void visit_decl_elt (tree_decl_elt &)
 
void visit_decl_init_list (tree_decl_init_list &)
 
void visit_do_until_command (tree_do_until_command &)
 
void visit_fcn_handle (tree_fcn_handle &)
 
void visit_identifier (tree_identifier &)
 
void visit_if_clause (tree_if_clause &)
 
void visit_if_command_list (tree_if_command_list &)
 
void visit_index_expression (tree_index_expression &)
 
void visit_matrix (tree_matrix &)
 
void visit_multi_assignment (tree_multi_assignment &)
 
void visit_no_op_command (tree_no_op_command &)
 
void visit_octave_user_function_header (octave_user_function &)
 
void visit_octave_user_function_trailer (octave_user_function &)
 
void visit_parameter_list (tree_parameter_list &)
 
void visit_postfix_expression (tree_postfix_expression &)
 
void visit_prefix_expression (tree_prefix_expression &)
 
void visit_return_command (tree_return_command &)
 
void visit_simple_assignment (tree_simple_assignment &)
 
void visit_simple_for_command (tree_simple_for_command &)
 
void visit_statement (tree_statement &)
 
void visit_statement_list (tree_statement_list &)
 
void visit_switch_case (tree_switch_case &)
 
void visit_switch_case_list (tree_switch_case_list &)
 
void visit_switch_command (tree_switch_command &)
 
void visit_try_catch_command (tree_try_catch_command &)
 
void visit_unwind_protect_command (tree_unwind_protect_command &)
 
void visit_while_command (tree_while_command &)
 
- Public Member Functions inherited from tree_walker
virtual void visit_boolean_expression (tree_boolean_expression &)
 
virtual void visit_classdef (tree_classdef &)
 
virtual void visit_classdef_attribute (tree_classdef_attribute &)
 
virtual void visit_classdef_attribute_list (tree_classdef_attribute_list &)
 
virtual void visit_classdef_body (tree_classdef_body &)
 
virtual void visit_classdef_enum (tree_classdef_enum &)
 
virtual void visit_classdef_enum_block (tree_classdef_enum_block &)
 
virtual void visit_classdef_enum_list (tree_classdef_enum_list &)
 
virtual void visit_classdef_event (tree_classdef_event &)
 
virtual void visit_classdef_events_block (tree_classdef_events_block &)
 
virtual void visit_classdef_events_list (tree_classdef_events_list &)
 
virtual void visit_classdef_methods_block (tree_classdef_methods_block &)
 
virtual void visit_classdef_methods_list (tree_classdef_methods_list &)
 
virtual void visit_classdef_properties_block (tree_classdef_properties_block &)
 
virtual void visit_classdef_property (tree_classdef_property &)
 
virtual void visit_classdef_property_list (tree_classdef_property_list &)
 
virtual void visit_classdef_superclass (tree_classdef_superclass &)
 
virtual void visit_classdef_superclass_list (tree_classdef_superclass_list &)
 
virtual void visit_compound_binary_expression (tree_compound_binary_expression &)
 
virtual void visit_function_def (tree_function_def &)
 
virtual void visit_if_command (tree_if_command &)
 
virtual void visit_metaclass_query (tree_metaclass_query &)
 
virtual void visit_octave_user_function (octave_user_function &)
 
virtual void visit_octave_user_script (octave_user_script &)
 
virtual void visit_spmd_command (tree_spmd_command &)
 
virtual void visit_superclass_ref (tree_superclass_ref &)
 

Additional Inherited Members

- Protected Member Functions inherited from tree_walker
 tree_walker ()
 
virtual ~tree_walker ()=default
 

Detailed Description

Definition at line 42 of file pt-bp.h.

Member Enumeration Documentation

◆ action

Enumerator
set 
clear 
list 

Definition at line 46 of file pt-bp.h.

Constructor & Destructor Documentation

◆ tree_breakpoint()

tree_breakpoint::tree_breakpoint ( int  l,
action  a,
const std::string &  c = "" 
)
inline

Definition at line 48 of file pt-bp.h.

◆ ~tree_breakpoint()

tree_breakpoint::~tree_breakpoint ( )
default

Member Function Documentation

◆ get_cond_list()

octave_value_list tree_breakpoint::get_cond_list ( )
inline

Definition at line 148 of file pt-bp.h.

Referenced by tree_statement_list::breakpoints_and_conds().

◆ get_line()

int tree_breakpoint::get_line ( )
inline

Definition at line 150 of file pt-bp.h.

Referenced by tree_statement_list::set_breakpoint().

◆ get_list()

octave_value_list tree_breakpoint::get_list ( )
inline

◆ success()

bool tree_breakpoint::success ( ) const
inline

Definition at line 57 of file pt-bp.h.

◆ visit_anon_fcn_handle()

void tree_breakpoint::visit_anon_fcn_handle ( tree_anon_fcn_handle )
virtual

Reimplemented from tree_walker.

Definition at line 263 of file pt-bp.cc.

References panic_impossible.

◆ visit_arg_size_spec()

void tree_breakpoint::visit_arg_size_spec ( tree_arg_size_spec )
virtual

Reimplemented from tree_walker.

Definition at line 100 of file pt-bp.cc.

References panic_impossible.

◆ visit_arg_validation()

void tree_breakpoint::visit_arg_validation ( tree_arg_validation )
virtual

Reimplemented from tree_walker.

Definition at line 94 of file pt-bp.cc.

References panic_impossible.

◆ visit_arg_validation_fcns()

void tree_breakpoint::visit_arg_validation_fcns ( tree_arg_validation_fcns )
virtual

Reimplemented from tree_walker.

Definition at line 106 of file pt-bp.cc.

References panic_impossible.

◆ visit_args_block_attribute_list()

void tree_breakpoint::visit_args_block_attribute_list ( tree_args_block_attribute_list )
virtual

Reimplemented from tree_walker.

Definition at line 82 of file pt-bp.cc.

References panic_impossible.

◆ visit_args_block_validation_list()

void tree_breakpoint::visit_args_block_validation_list ( tree_args_block_validation_list )
virtual

Reimplemented from tree_walker.

Definition at line 88 of file pt-bp.cc.

References panic_impossible.

◆ visit_argument_list()

void tree_breakpoint::visit_argument_list ( tree_argument_list )
virtual

Reimplemented from tree_walker.

Definition at line 70 of file pt-bp.cc.

References panic_impossible.

◆ visit_arguments_block()

void tree_breakpoint::visit_arguments_block ( tree_arguments_block )
virtual

Reimplemented from tree_walker.

Definition at line 76 of file pt-bp.cc.

◆ visit_binary_expression()

void tree_breakpoint::visit_binary_expression ( tree_binary_expression )
virtual

Reimplemented from tree_walker.

Definition at line 112 of file pt-bp.cc.

References panic_impossible.

◆ visit_break_command()

void tree_breakpoint::visit_break_command ( tree_break_command cmd)
virtual

Reimplemented from tree_walker.

Definition at line 118 of file pt-bp.cc.

References tree::line().

◆ visit_cell()

void tree_breakpoint::visit_cell ( tree_cell )
virtual

Reimplemented from tree_walker.

Definition at line 244 of file pt-bp.cc.

References panic_impossible.

◆ visit_colon_expression()

void tree_breakpoint::visit_colon_expression ( tree_colon_expression )
virtual

Reimplemented from tree_walker.

Definition at line 125 of file pt-bp.cc.

References panic_impossible.

◆ visit_complex_for_command()

void tree_breakpoint::visit_complex_for_command ( tree_complex_for_command cmd)
virtual

Reimplemented from tree_walker.

Definition at line 172 of file pt-bp.cc.

References tree_statement_list::accept(), tree_complex_for_command::body(), and tree::line().

◆ visit_constant()

void tree_breakpoint::visit_constant ( tree_constant )
virtual

Reimplemented from tree_walker.

Definition at line 269 of file pt-bp.cc.

References panic_impossible.

◆ visit_continue_command()

void tree_breakpoint::visit_continue_command ( tree_continue_command cmd)
virtual

Reimplemented from tree_walker.

Definition at line 131 of file pt-bp.cc.

References tree::line().

◆ visit_decl_command()

void tree_breakpoint::visit_decl_command ( tree_decl_command cmd)
virtual

Reimplemented from tree_walker.

Definition at line 138 of file pt-bp.cc.

References tree::line().

◆ visit_decl_elt()

void tree_breakpoint::visit_decl_elt ( tree_decl_elt )
virtual

Reimplemented from tree_walker.

Definition at line 151 of file pt-bp.cc.

References panic_impossible.

◆ visit_decl_init_list()

void tree_breakpoint::visit_decl_init_list ( tree_decl_init_list )
virtual

Reimplemented from tree_walker.

Definition at line 145 of file pt-bp.cc.

References panic_impossible.

◆ visit_do_until_command()

void tree_breakpoint::visit_do_until_command ( tree_do_until_command cmd)
virtual

Reimplemented from tree_walker.

Definition at line 52 of file pt-bp.cc.

References tree_statement_list::accept(), tree_while_command::body(), and tree::line().

◆ visit_fcn_handle()

void tree_breakpoint::visit_fcn_handle ( tree_fcn_handle )
virtual

Reimplemented from tree_walker.

Definition at line 275 of file pt-bp.cc.

References panic_impossible.

◆ visit_identifier()

void tree_breakpoint::visit_identifier ( tree_identifier )
virtual

Reimplemented from tree_walker.

Definition at line 199 of file pt-bp.cc.

References panic_impossible.

◆ visit_if_clause()

void tree_breakpoint::visit_if_clause ( tree_if_clause )
virtual

Reimplemented from tree_walker.

Definition at line 205 of file pt-bp.cc.

References panic_impossible.

◆ visit_if_command_list()

void tree_breakpoint::visit_if_command_list ( tree_if_command_list lst)
virtual

Reimplemented from tree_walker.

Definition at line 211 of file pt-bp.cc.

References tree_statement_list::accept().

◆ visit_index_expression()

void tree_breakpoint::visit_index_expression ( tree_index_expression )
virtual

Reimplemented from tree_walker.

Definition at line 232 of file pt-bp.cc.

References panic_impossible.

◆ visit_matrix()

void tree_breakpoint::visit_matrix ( tree_matrix )
virtual

Reimplemented from tree_walker.

Definition at line 238 of file pt-bp.cc.

References panic_impossible.

◆ visit_multi_assignment()

void tree_breakpoint::visit_multi_assignment ( tree_multi_assignment )
virtual

Reimplemented from tree_walker.

Definition at line 250 of file pt-bp.cc.

References panic_impossible.

◆ visit_no_op_command()

void tree_breakpoint::visit_no_op_command ( tree_no_op_command cmd)
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(), and tree::line().

◆ visit_octave_user_function_header()

void tree_breakpoint::visit_octave_user_function_header ( octave_user_function )

Definition at line 187 of file pt-bp.cc.

References panic_impossible.

◆ visit_octave_user_function_trailer()

void tree_breakpoint::visit_octave_user_function_trailer ( octave_user_function )

Definition at line 193 of file pt-bp.cc.

References panic_impossible.

◆ visit_parameter_list()

void tree_breakpoint::visit_parameter_list ( tree_parameter_list )
virtual

Reimplemented from tree_walker.

Definition at line 281 of file pt-bp.cc.

References panic_impossible.

◆ visit_postfix_expression()

void tree_breakpoint::visit_postfix_expression ( tree_postfix_expression )
virtual

Reimplemented from tree_walker.

Definition at line 287 of file pt-bp.cc.

References panic_impossible.

◆ visit_prefix_expression()

void tree_breakpoint::visit_prefix_expression ( tree_prefix_expression )
virtual

Reimplemented from tree_walker.

Definition at line 293 of file pt-bp.cc.

References panic_impossible.

◆ visit_return_command()

void tree_breakpoint::visit_return_command ( tree_return_command cmd)
virtual

Reimplemented from tree_walker.

Definition at line 299 of file pt-bp.cc.

References tree::line().

◆ visit_simple_assignment()

void tree_breakpoint::visit_simple_assignment ( tree_simple_assignment )
virtual

Reimplemented from tree_walker.

Definition at line 306 of file pt-bp.cc.

References panic_impossible.

◆ visit_simple_for_command()

void tree_breakpoint::visit_simple_for_command ( tree_simple_for_command cmd)
virtual

Reimplemented from tree_walker.

Definition at line 157 of file pt-bp.cc.

References tree_statement_list::accept(), tree_simple_for_command::body(), and tree::line().

◆ visit_statement()

void tree_breakpoint::visit_statement ( tree_statement stmt)
virtual

Reimplemented from tree_walker.

Definition at line 312 of file pt-bp.cc.

References tree::accept(), tree_statement::command(), tree_statement::is_command(), and tree_statement::line().

◆ visit_statement_list()

void tree_breakpoint::visit_statement_list ( tree_statement_list lst)
virtual

Reimplemented from tree_walker.

Definition at line 331 of file pt-bp.cc.

◆ visit_switch_case()

void tree_breakpoint::visit_switch_case ( tree_switch_case )
virtual

Reimplemented from tree_walker.

Definition at line 346 of file pt-bp.cc.

References panic_impossible.

◆ visit_switch_case_list()

void tree_breakpoint::visit_switch_case_list ( tree_switch_case_list lst)
virtual

Reimplemented from tree_walker.

Definition at line 352 of file pt-bp.cc.

References tree_statement_list::accept().

◆ visit_switch_command()

void tree_breakpoint::visit_switch_command ( tree_switch_command cmd)
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(), and tree::line().

◆ visit_try_catch_command()

void tree_breakpoint::visit_try_catch_command ( tree_try_catch_command cmd)
virtual

◆ visit_unwind_protect_command()

void tree_breakpoint::visit_unwind_protect_command ( tree_unwind_protect_command cmd)
virtual

◆ visit_while_command()

void tree_breakpoint::visit_while_command ( tree_while_command cmd)
virtual

Reimplemented from tree_walker.

Definition at line 37 of file pt-bp.cc.

References tree_statement_list::accept(), tree_while_command::body(), and tree::line().


The documentation for this class was generated from the following files: