#include "pt-anon-scopes.h"
Private Attributes | |
std::set< std::string > | m_params |
std::set< std::string > | m_vars |
Definition at line 39 of file pt-anon-scopes.h.
|
delete |
tree_anon_scopes::tree_anon_scopes | ( | tree_anon_fcn_handle & | anon_fh | ) |
Definition at line 38 of file pt-anon-scopes.cc.
|
delete |
|
default |
|
inline |
Definition at line 56 of file pt-anon-scopes.h.
|
inline |
Definition at line 58 of file pt-anon-scopes.h.
Referenced by tree_evaluator::evaluate_anon_fcn_handle().
|
delete |
|
virtual |
Reimplemented from tree_walker.
Definition at line 45 of file pt-anon-scopes.cc.
References tree::accept(), tree_anon_fcn_handle::expression(), m_params, tree_anon_fcn_handle::parameter_list(), tree_parameter_list::takes_varargs(), and tree_parameter_list::variable_names().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, and tree_breakpoint.
Definition at line 118 of file pt-walk.cc.
References tree_argument_list::accept(), and tree_arg_size_spec::size_args().
Referenced by tree_arg_size_spec::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, and tree_breakpoint.
Definition at line 90 of file pt-walk.cc.
References tree_arg_size_spec::accept(), tree_arg_validation_fcns::accept(), tree_identifier::accept(), tree::accept(), tree_arg_validation::class_name(), tree_arg_validation::identifier_expression(), tree_arg_validation::initializer_expression(), tree_arg_validation::size_spec(), and tree_arg_validation::validation_fcns().
Referenced by tree_arg_validation::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, and tree_breakpoint.
Definition at line 126 of file pt-walk.cc.
References tree_argument_list::accept(), and tree_arg_validation_fcns::fcn_args().
Referenced by tree_arg_validation_fcns::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, and tree_breakpoint.
Definition at line 73 of file pt-walk.cc.
References tree_identifier::accept(), and tree_args_block_attribute_list::attribute().
Referenced by tree_args_block_attribute_list::accept().
|
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().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_checker, tree_breakpoint, and ctor_analyzer.
Definition at line 47 of file pt-walk.cc.
References tree::accept(), base_list< elt_type >::begin(), and base_list< elt_type >::end().
Referenced by tree_argument_list::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, and tree_breakpoint.
Definition at line 60 of file pt-walk.cc.
References tree_args_block_validation_list::accept(), tree_args_block_attribute_list::accept(), tree_arguments_block::attribute_list(), and tree_arguments_block::validation_list().
Referenced by tree_arguments_block::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 134 of file pt-walk.cc.
References tree::accept(), tree_binary_expression::lhs(), and tree_binary_expression::rhs().
Referenced by tree_binary_expression::accept(), tree_walker::visit_boolean_expression(), and tree_walker::visit_compound_binary_expression().
|
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().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 157 of file pt-walk.cc.
Referenced by tree_break_command::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 437 of file pt-walk.cc.
References tree_argument_list::accept(), base_list< elt_type >::begin(), and base_list< elt_type >::end().
Referenced by tree_cell::accept().
|
virtualinherited |
Definition at line 766 of file pt-walk.cc.
References tree_classdef_attribute_list::accept(), tree_classdef_superclass_list::accept(), tree_classdef_body::accept(), tree_identifier::accept(), tree_classdef::attribute_list(), tree_classdef::body(), tree_classdef::ident(), and tree_classdef::superclass_list().
Referenced by tree_classdef::accept().
|
virtualinherited |
Definition at line 616 of file pt-walk.cc.
References tree_identifier::accept(), tree::accept(), tree_classdef_attribute::expression(), and tree_classdef_attribute::ident().
Referenced by tree_classdef_attribute::accept().
|
virtualinherited |
Definition at line 629 of file pt-walk.cc.
Referenced by tree_classdef_attribute_list::accept().
|
virtualinherited |
Definition at line 738 of file pt-walk.cc.
References tree_classdef_body::enum_list(), tree_classdef_body::events_list(), tree_classdef_body::methods_list(), and tree_classdef_body::properties_list().
Referenced by tree_classdef_body::accept().
|
virtualinherited |
Definition at line 716 of file pt-walk.cc.
Referenced by tree_classdef_enum::accept().
|
virtualinherited |
Definition at line 730 of file pt-walk.cc.
References tree_classdef_enum_list::accept(), and tree_classdef_element< T >::element_list().
Referenced by tree_classdef_enum_block::accept().
|
virtualinherited |
Definition at line 721 of file pt-walk.cc.
Referenced by tree_classdef_enum_list::accept().
|
virtualinherited |
Definition at line 694 of file pt-walk.cc.
Referenced by tree_classdef_event::accept().
|
virtualinherited |
Definition at line 708 of file pt-walk.cc.
References tree_classdef_events_list::accept(), and tree_classdef_element< T >::element_list().
Referenced by tree_classdef_events_block::accept().
|
virtualinherited |
Definition at line 699 of file pt-walk.cc.
Referenced by tree_classdef_events_list::accept().
|
virtualinherited |
Definition at line 686 of file pt-walk.cc.
References tree_classdef_methods_list::accept(), and tree_classdef_element< T >::element_list().
Referenced by tree_classdef_methods_block::accept().
|
virtualinherited |
Definition at line 675 of file pt-walk.cc.
References octave_user_function::accept(), and octave_user_function::user_function_value().
Referenced by tree_classdef_methods_list::accept().
|
virtualinherited |
Definition at line 667 of file pt-walk.cc.
References tree_classdef_property_list::accept(), and tree_classdef_element< T >::element_list().
Referenced by tree_classdef_properties_block::accept().
|
virtualinherited |
Definition at line 652 of file pt-walk.cc.
Referenced by tree_classdef_property::accept().
|
virtualinherited |
Definition at line 658 of file pt-walk.cc.
Referenced by tree_classdef_property_list::accept().
|
virtualinherited |
Definition at line 638 of file pt-walk.cc.
Referenced by tree_classdef_superclass::accept().
|
virtualinherited |
Definition at line 643 of file pt-walk.cc.
Referenced by tree_classdef_superclass_list::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 162 of file pt-walk.cc.
References tree::accept(), tree_colon_expression::base(), tree_colon_expression::increment(), and tree_colon_expression::limit().
Referenced by tree_colon_expression::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_checker, tree_breakpoint, and ctor_analyzer.
Definition at line 241 of file pt-walk.cc.
References tree_argument_list::accept(), tree_statement_list::accept(), tree::accept(), tree_complex_for_command::body(), tree_complex_for_command::control_expr(), and tree_complex_for_command::left_hand_side().
Referenced by tree_complex_for_command::accept().
|
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().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 468 of file pt-walk.cc.
Referenced by tree_constant::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 180 of file pt-walk.cc.
Referenced by tree_continue_command::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 185 of file pt-walk.cc.
References tree_decl_init_list::accept(), and tree_decl_command::initializer_list().
Referenced by tree_decl_command::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 193 of file pt-walk.cc.
References tree_identifier::accept(), tree::accept(), tree_decl_elt::expression(), and tree_decl_elt::ident().
Referenced by tree_decl_elt::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_breakpoint, and ctor_analyzer.
Definition at line 206 of file pt-walk.cc.
Referenced by tree_decl_init_list::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 593 of file pt-walk.cc.
References tree_statement_list::accept(), tree::accept(), tree_while_command::body(), and tree_while_command::condition().
Referenced by tree_do_until_command::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 473 of file pt-walk.cc.
Referenced by tree_fcn_handle::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, and ctor_analyzer.
Definition at line 283 of file pt-walk.cc.
References f, tree_function_def::function(), and octave_value::function_value().
Referenced by tree_function_def::accept().
|
virtual |
Reimplemented from tree_walker.
Definition at line 79 of file pt-anon-scopes.cc.
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 298 of file pt-walk.cc.
References tree_statement_list::accept(), tree::accept(), tree_if_clause::commands(), and tree_if_clause::condition().
Referenced by tree_if_clause::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, and ctor_analyzer.
Definition at line 311 of file pt-walk.cc.
References tree_if_command_list::accept(), and tree_if_command::cmd_list().
Referenced by tree_if_command::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 319 of file pt-walk.cc.
References tree_if_clause::accept(), base_list< elt_type >::begin(), and base_list< elt_type >::end().
Referenced by tree_if_command_list::accept().
|
virtualinherited |
Reimplemented in ctor_analyzer, parse_tree_validator, tree_print_code, tree_evaluator, and tree_breakpoint.
Definition at line 371 of file pt-walk.cc.
References tree_argument_list::accept(), tree::accept(), tree_index_expression::arg_lists(), tree_index_expression::arg_names(), tree_index_expression::dyn_fields(), tree_index_expression::expression(), n, panic_impossible, and tree_index_expression::type_tags().
Referenced by tree_index_expression::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 424 of file pt-walk.cc.
References tree_argument_list::accept(), base_list< elt_type >::begin(), and base_list< elt_type >::end().
Referenced by tree_matrix::accept().
|
virtualinherited |
Reimplemented in tree_print_code, and tree_evaluator.
Definition at line 611 of file pt-walk.cc.
Referenced by tree_metaclass_query::accept().
|
virtualinherited |
Reimplemented in ctor_analyzer, tree_print_code, tree_evaluator, tree_checker, tree_breakpoint, and anon_fcn_validator.
Definition at line 450 of file pt-walk.cc.
References tree_argument_list::accept(), tree::accept(), tree_multi_assignment::left_hand_side(), and tree_multi_assignment::right_hand_side().
Referenced by tree_multi_assignment::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 463 of file pt-walk.cc.
Referenced by tree_no_op_command::accept().
|
virtualinherited |
Reimplemented in parse_tree_validator, tree_print_code, tree_evaluator, and ctor_analyzer.
Definition at line 275 of file pt-walk.cc.
References tree_statement_list::accept(), and octave_user_code::body().
|
virtualinherited |
Reimplemented in parse_tree_validator, tree_print_code, tree_evaluator, and ctor_analyzer.
Definition at line 267 of file pt-walk.cc.
References tree_statement_list::accept(), and octave_user_code::body().
|
virtual |
Reimplemented from tree_walker.
Definition at line 88 of file pt-anon-scopes.cc.
References panic_impossible.
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, anon_fcn_validator, and ctor_analyzer.
Definition at line 491 of file pt-walk.cc.
References tree::accept(), and tree_unary_expression::operand().
Referenced by tree_postfix_expression::accept(), and anon_fcn_validator::visit_postfix_expression().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, anon_fcn_validator, and ctor_analyzer.
Definition at line 499 of file pt-walk.cc.
References tree::accept(), and tree_unary_expression::operand().
Referenced by tree_prefix_expression::accept(), and anon_fcn_validator::visit_prefix_expression().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 507 of file pt-walk.cc.
Referenced by tree_return_command::accept().
|
virtualinherited |
Reimplemented in ctor_analyzer, tree_print_code, tree_evaluator, tree_checker, tree_breakpoint, and anon_fcn_validator.
Definition at line 512 of file pt-walk.cc.
References tree::accept(), tree_simple_assignment::left_hand_side(), and tree_simple_assignment::right_hand_side().
Referenced by tree_simple_assignment::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_checker, tree_breakpoint, and ctor_analyzer.
Definition at line 218 of file pt-walk.cc.
References tree_statement_list::accept(), tree::accept(), tree_simple_for_command::body(), tree_simple_for_command::control_expr(), tree_simple_for_command::left_hand_side(), and tree_simple_for_command::maxproc_expr().
Referenced by tree_simple_for_command::accept().
|
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().
|
virtual |
Reimplemented from tree_walker.
Definition at line 97 of file pt-anon-scopes.cc.
References tree::accept(), tree_statement::command(), tree_statement::expression(), and panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 113 of file pt-anon-scopes.cc.
References tree_statement::accept().
|
virtualinherited |
Reimplemented in ctor_analyzer, tree_print_code, and tree_evaluator.
Definition at line 606 of file pt-walk.cc.
Referenced by tree_superclass_ref::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 332 of file pt-walk.cc.
References tree_statement_list::accept(), tree::accept(), tree_switch_case::case_label(), and tree_switch_case::commands().
Referenced by tree_switch_case::accept().
|
virtualinherited |
Reimplemented in tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 345 of file pt-walk.cc.
References tree_switch_case::accept(), base_list< elt_type >::begin(), and base_list< elt_type >::end().
Referenced by tree_switch_case_list::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 358 of file pt-walk.cc.
References tree_switch_case_list::accept(), tree::accept(), tree_switch_command::case_list(), and tree_switch_command::switch_value().
Referenced by tree_switch_command::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_checker, tree_breakpoint, and ctor_analyzer.
Definition at line 549 of file pt-walk.cc.
References tree_identifier::accept(), tree_statement_list::accept(), tree_try_catch_command::body(), tree_try_catch_command::cleanup(), and tree_try_catch_command::identifier().
Referenced by tree_try_catch_command::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 567 of file pt-walk.cc.
References tree_statement_list::accept(), tree_unwind_protect_command::body(), and tree_unwind_protect_command::cleanup().
Referenced by tree_unwind_protect_command::accept().
|
virtualinherited |
Reimplemented in tree_print_code, tree_evaluator, tree_breakpoint, and ctor_analyzer.
Definition at line 580 of file pt-walk.cc.
References tree_statement_list::accept(), tree::accept(), tree_while_command::body(), and tree_while_command::condition().
Referenced by tree_while_command::accept().
|
private |
Definition at line 76 of file pt-anon-scopes.h.
Referenced by visit_anon_fcn_handle(), and visit_identifier().
|
private |
Definition at line 79 of file pt-anon-scopes.h.
Referenced by visit_identifier().