GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
ctor_analyzer Class Reference
Inheritance diagram for ctor_analyzer:
Collaboration diagram for ctor_analyzer:

Public Member Functions

 ctor_analyzer (const ctor_analyzer &)=delete
 
 ctor_analyzer (const std::string &ctor, const std::string &obj)
 
 ctor_analyzer (void)=delete
 
 ~ctor_analyzer (void)=default
 
std::list< cdef_classget_constructor_list (void) const
 
ctor_analyzeroperator= (const ctor_analyzer &)=delete
 
void visit_anon_fcn_handle (tree_anon_fcn_handle &)
 
virtual void visit_arg_size_spec (tree_arg_size_spec &)
 
virtual void visit_arg_validation (tree_arg_validation &)
 
virtual void visit_arg_validation_fcns (tree_arg_validation_fcns &)
 
virtual void visit_args_block_attribute_list (tree_args_block_attribute_list &)
 
virtual void visit_args_block_validation_list (tree_args_block_validation_list &)
 
void visit_argument_list (tree_argument_list &)
 
virtual void visit_arguments_block (tree_arguments_block &)
 
void visit_binary_expression (tree_binary_expression &)
 
virtual void visit_boolean_expression (tree_boolean_expression &)
 
void visit_break_command (tree_break_command &)
 
void visit_cell (tree_cell &)
 
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 &)
 
void visit_colon_expression (tree_colon_expression &)
 
void visit_complex_for_command (tree_complex_for_command &)
 
virtual void visit_compound_binary_expression (tree_compound_binary_expression &)
 
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_function_def (tree_function_def &)
 
void visit_identifier (tree_identifier &)
 
void visit_if_clause (tree_if_clause &)
 
void visit_if_command (tree_if_command &)
 
void visit_if_command_list (tree_if_command_list &)
 
void visit_index_expression (tree_index_expression &t)
 
void visit_matrix (tree_matrix &)
 
virtual void visit_metaclass_query (tree_metaclass_query &)
 
void visit_multi_assignment (tree_multi_assignment &t)
 
void visit_no_op_command (tree_no_op_command &)
 
void visit_octave_user_function (octave_user_function &)
 
void visit_octave_user_script (octave_user_script &)
 
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 &t)
 
void visit_simple_for_command (tree_simple_for_command &)
 
virtual void visit_spmd_command (tree_spmd_command &)
 
void visit_statement (tree_statement &t)
 
virtual void visit_statement_list (tree_statement_list &)
 
void visit_superclass_ref (tree_superclass_ref &t)
 
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 &)
 

Private Attributes

std::list< cdef_classm_ctor_list
 
std::string m_obj_name
 
std::string m_who
 

Detailed Description

Definition at line 130 of file cdef-class.cc.

Constructor & Destructor Documentation

◆ ctor_analyzer() [1/3]

ctor_analyzer::ctor_analyzer ( void  )
delete

◆ ctor_analyzer() [2/3]

ctor_analyzer::ctor_analyzer ( const std::string &  ctor,
const std::string &  obj 
)
inline

Definition at line 136 of file cdef-class.cc.

◆ ctor_analyzer() [3/3]

ctor_analyzer::ctor_analyzer ( const ctor_analyzer )
delete

◆ ~ctor_analyzer()

ctor_analyzer::~ctor_analyzer ( void  )
default

Member Function Documentation

◆ get_constructor_list()

std::list<cdef_class> ctor_analyzer::get_constructor_list ( void  ) const
inline

Definition at line 166 of file cdef-class.cc.

Referenced by cdef_class::cdef_class_rep::install_method().

◆ operator=()

ctor_analyzer& ctor_analyzer::operator= ( const ctor_analyzer )
delete

◆ visit_anon_fcn_handle()

void ctor_analyzer::visit_anon_fcn_handle ( tree_anon_fcn_handle )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 171 of file cdef-class.cc.

◆ visit_arg_size_spec()

void tree_walker::visit_arg_size_spec ( tree_arg_size_spec spec)
virtualinherited

◆ visit_arg_validation()

◆ visit_arg_validation_fcns()

void tree_walker::visit_arg_validation_fcns ( tree_arg_validation_fcns spec)
virtualinherited

◆ visit_args_block_attribute_list()

void tree_walker::visit_args_block_attribute_list ( tree_args_block_attribute_list lst)
virtualinherited

◆ visit_args_block_validation_list()

void tree_walker::visit_args_block_validation_list ( tree_args_block_validation_list lst)
virtualinherited

Reimplemented in tree_print_code, tree_evaluator, and tree_breakpoint.

Definition at line 81 of file pt-walk.cc.

Referenced by tree_args_block_validation_list::accept().

◆ visit_argument_list()

void ctor_analyzer::visit_argument_list ( tree_argument_list )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 172 of file cdef-class.cc.

◆ visit_arguments_block()

◆ visit_binary_expression()

void ctor_analyzer::visit_binary_expression ( tree_binary_expression )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 173 of file cdef-class.cc.

◆ visit_boolean_expression()

void tree_walker::visit_boolean_expression ( tree_boolean_expression expr)
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().

◆ visit_break_command()

void ctor_analyzer::visit_break_command ( tree_break_command )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 174 of file cdef-class.cc.

◆ visit_cell()

void ctor_analyzer::visit_cell ( tree_cell )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 193 of file cdef-class.cc.

◆ visit_classdef()

◆ visit_classdef_attribute()

void tree_walker::visit_classdef_attribute ( tree_classdef_attribute attr)
virtualinherited

◆ visit_classdef_attribute_list()

void tree_walker::visit_classdef_attribute_list ( tree_classdef_attribute_list lst)
virtualinherited

Definition at line 629 of file pt-walk.cc.

Referenced by tree_classdef_attribute_list::accept().

◆ visit_classdef_body()

void tree_walker::visit_classdef_body ( tree_classdef_body body)
virtualinherited

◆ visit_classdef_enum()

void tree_walker::visit_classdef_enum ( tree_classdef_enum )
virtualinherited

Definition at line 716 of file pt-walk.cc.

Referenced by tree_classdef_enum::accept().

◆ visit_classdef_enum_block()

void tree_walker::visit_classdef_enum_block ( tree_classdef_enum_block blk)
virtualinherited

◆ visit_classdef_enum_list()

void tree_walker::visit_classdef_enum_list ( tree_classdef_enum_list lst)
virtualinherited

Definition at line 721 of file pt-walk.cc.

Referenced by tree_classdef_enum_list::accept().

◆ visit_classdef_event()

void tree_walker::visit_classdef_event ( tree_classdef_event )
virtualinherited

Definition at line 694 of file pt-walk.cc.

Referenced by tree_classdef_event::accept().

◆ visit_classdef_events_block()

void tree_walker::visit_classdef_events_block ( tree_classdef_events_block blk)
virtualinherited

◆ visit_classdef_events_list()

void tree_walker::visit_classdef_events_list ( tree_classdef_events_list lst)
virtualinherited

Definition at line 699 of file pt-walk.cc.

Referenced by tree_classdef_events_list::accept().

◆ visit_classdef_methods_block()

void tree_walker::visit_classdef_methods_block ( tree_classdef_methods_block blk)
virtualinherited

◆ visit_classdef_methods_list()

void tree_walker::visit_classdef_methods_list ( tree_classdef_methods_list lst)
virtualinherited

◆ visit_classdef_properties_block()

void tree_walker::visit_classdef_properties_block ( tree_classdef_properties_block blk)
virtualinherited

◆ visit_classdef_property()

void tree_walker::visit_classdef_property ( tree_classdef_property )
virtualinherited

Definition at line 652 of file pt-walk.cc.

Referenced by tree_classdef_property::accept().

◆ visit_classdef_property_list()

void tree_walker::visit_classdef_property_list ( tree_classdef_property_list lst)
virtualinherited

Definition at line 658 of file pt-walk.cc.

Referenced by tree_classdef_property_list::accept().

◆ visit_classdef_superclass()

void tree_walker::visit_classdef_superclass ( tree_classdef_superclass )
virtualinherited

Definition at line 638 of file pt-walk.cc.

Referenced by tree_classdef_superclass::accept().

◆ visit_classdef_superclass_list()

void tree_walker::visit_classdef_superclass_list ( tree_classdef_superclass_list lst)
virtualinherited

Definition at line 643 of file pt-walk.cc.

Referenced by tree_classdef_superclass_list::accept().

◆ visit_colon_expression()

void ctor_analyzer::visit_colon_expression ( tree_colon_expression )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 175 of file cdef-class.cc.

◆ visit_complex_for_command()

void ctor_analyzer::visit_complex_for_command ( tree_complex_for_command )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 181 of file cdef-class.cc.

◆ visit_compound_binary_expression()

void tree_walker::visit_compound_binary_expression ( tree_compound_binary_expression expr)
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().

◆ visit_constant()

void ctor_analyzer::visit_constant ( tree_constant )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 195 of file cdef-class.cc.

◆ visit_continue_command()

void ctor_analyzer::visit_continue_command ( tree_continue_command )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 176 of file cdef-class.cc.

◆ visit_decl_command()

void ctor_analyzer::visit_decl_command ( tree_decl_command )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 177 of file cdef-class.cc.

◆ visit_decl_elt()

void ctor_analyzer::visit_decl_elt ( tree_decl_elt )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 179 of file cdef-class.cc.

◆ visit_decl_init_list()

void ctor_analyzer::visit_decl_init_list ( tree_decl_init_list )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 178 of file cdef-class.cc.

◆ visit_do_until_command()

void ctor_analyzer::visit_do_until_command ( tree_do_until_command )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 204 of file cdef-class.cc.

◆ visit_fcn_handle()

void ctor_analyzer::visit_fcn_handle ( tree_fcn_handle )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 196 of file cdef-class.cc.

◆ visit_function_def()

void ctor_analyzer::visit_function_def ( tree_function_def )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 184 of file cdef-class.cc.

◆ visit_identifier()

void ctor_analyzer::visit_identifier ( tree_identifier )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 185 of file cdef-class.cc.

◆ visit_if_clause()

void ctor_analyzer::visit_if_clause ( tree_if_clause )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 186 of file cdef-class.cc.

◆ visit_if_command()

void ctor_analyzer::visit_if_command ( tree_if_command )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 187 of file cdef-class.cc.

◆ visit_if_command_list()

void ctor_analyzer::visit_if_command_list ( tree_if_command_list )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 188 of file cdef-class.cc.

◆ visit_index_expression()

void ctor_analyzer::visit_index_expression ( tree_index_expression t)
inlinevirtual

Reimplemented from tree_walker.

Definition at line 161 of file cdef-class.cc.

References tree::accept(), and tree_index_expression::expression().

◆ visit_matrix()

void ctor_analyzer::visit_matrix ( tree_matrix )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 192 of file cdef-class.cc.

◆ visit_metaclass_query()

void tree_walker::visit_metaclass_query ( tree_metaclass_query )
virtualinherited

Reimplemented in tree_print_code, and tree_evaluator.

Definition at line 611 of file pt-walk.cc.

Referenced by tree_metaclass_query::accept().

◆ visit_multi_assignment()

void ctor_analyzer::visit_multi_assignment ( tree_multi_assignment t)
inlinevirtual

Reimplemented from tree_walker.

Definition at line 156 of file cdef-class.cc.

References tree::accept(), and tree_multi_assignment::right_hand_side().

◆ visit_no_op_command()

void ctor_analyzer::visit_no_op_command ( tree_no_op_command )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 194 of file cdef-class.cc.

◆ visit_octave_user_function()

void ctor_analyzer::visit_octave_user_function ( octave_user_function )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 183 of file cdef-class.cc.

◆ visit_octave_user_script()

void ctor_analyzer::visit_octave_user_script ( octave_user_script )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 182 of file cdef-class.cc.

◆ visit_parameter_list()

void ctor_analyzer::visit_parameter_list ( tree_parameter_list )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 197 of file cdef-class.cc.

◆ visit_postfix_expression()

void ctor_analyzer::visit_postfix_expression ( tree_postfix_expression )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 198 of file cdef-class.cc.

◆ visit_prefix_expression()

void ctor_analyzer::visit_prefix_expression ( tree_prefix_expression )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 199 of file cdef-class.cc.

◆ visit_return_command()

void ctor_analyzer::visit_return_command ( tree_return_command )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 200 of file cdef-class.cc.

◆ visit_simple_assignment()

void ctor_analyzer::visit_simple_assignment ( tree_simple_assignment t)
inlinevirtual

Reimplemented from tree_walker.

Definition at line 151 of file cdef-class.cc.

References tree::accept(), and tree_simple_assignment::right_hand_side().

◆ visit_simple_for_command()

void ctor_analyzer::visit_simple_for_command ( tree_simple_for_command )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 180 of file cdef-class.cc.

◆ visit_spmd_command()

void tree_walker::visit_spmd_command ( tree_spmd_command cmd)
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().

◆ visit_statement()

void ctor_analyzer::visit_statement ( tree_statement t)
inlinevirtual

Reimplemented from tree_walker.

Definition at line 145 of file cdef-class.cc.

References tree::accept(), tree_statement::expression(), and tree_statement::is_expression().

◆ visit_statement_list()

void tree_walker::visit_statement_list ( tree_statement_list lst)
virtualinherited

Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and tree_anon_scopes.

Definition at line 540 of file pt-walk.cc.

Referenced by tree_statement_list::accept().

◆ visit_superclass_ref()

void ctor_analyzer::visit_superclass_ref ( tree_superclass_ref t)
inlinevirtual

◆ visit_switch_case()

void ctor_analyzer::visit_switch_case ( tree_switch_case )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 189 of file cdef-class.cc.

◆ visit_switch_case_list()

void ctor_analyzer::visit_switch_case_list ( tree_switch_case_list )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 190 of file cdef-class.cc.

◆ visit_switch_command()

void ctor_analyzer::visit_switch_command ( tree_switch_command )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 191 of file cdef-class.cc.

◆ visit_try_catch_command()

void ctor_analyzer::visit_try_catch_command ( tree_try_catch_command )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 201 of file cdef-class.cc.

◆ visit_unwind_protect_command()

void ctor_analyzer::visit_unwind_protect_command ( tree_unwind_protect_command )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 202 of file cdef-class.cc.

◆ visit_while_command()

void ctor_analyzer::visit_while_command ( tree_while_command )
inlinevirtual

Reimplemented from tree_walker.

Definition at line 203 of file cdef-class.cc.

Member Data Documentation

◆ m_ctor_list

std::list<cdef_class> ctor_analyzer::m_ctor_list
private

Definition at line 228 of file cdef-class.cc.

◆ m_obj_name

std::string ctor_analyzer::m_obj_name
private

Definition at line 225 of file cdef-class.cc.

◆ m_who

std::string ctor_analyzer::m_who
private

Definition at line 222 of file cdef-class.cc.


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