#include "pt-pr-code.h"
Additional Inherited Members | |
Protected Member Functions inherited from tree_walker | |
tree_walker () | |
virtual | ~tree_walker ()=default |
Definition at line 45 of file pt-pr-code.h.
|
inline |
Definition at line 49 of file pt-pr-code.h.
|
default |
void tree_print_code::print_fcn_handle_body | ( | tree_expression * | e | ) |
Definition at line 1191 of file pt-pr-code.cc.
References tree::accept().
Referenced by visit_anon_fcn_handle().
|
virtual |
Reimplemented from tree_walker.
Definition at line 41 of file pt-pr-code.cc.
References tree_parameter_list::accept(), tree_anon_fcn_handle::expression(), tree_anon_fcn_handle::parameter_list(), and print_fcn_handle_body().
|
virtual |
Reimplemented from tree_walker.
Definition at line 106 of file pt-pr-code.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 100 of file pt-pr-code.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 112 of file pt-pr-code.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 88 of file pt-pr-code.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 94 of file pt-pr-code.cc.
References panic_impossible.
|
virtual |
Reimplemented from tree_walker.
Definition at line 60 of file pt-pr-code.cc.
References tree::accept(), base_list< elt_type >::begin(), and base_list< elt_type >::end().
|
virtual |
Reimplemented from tree_walker.
Definition at line 79 of file pt-pr-code.cc.
|
virtual |
Reimplemented from tree_walker.
Definition at line 118 of file pt-pr-code.cc.
References tree::accept(), tree_binary_expression::lhs(), tree_binary_expression::oper(), and tree_binary_expression::rhs().
|
virtual |
Reimplemented from tree_walker.
Definition at line 140 of file pt-pr-code.cc.
|
virtual |
Reimplemented from tree_walker.
Definition at line 669 of file pt-pr-code.cc.
References tree_argument_list::accept(), base_list< elt_type >::begin(), and base_list< elt_type >::end().
|
virtual |
Reimplemented from tree_walker.
Definition at line 148 of file pt-pr-code.cc.
References tree::accept(), tree_colon_expression::base(), tree_colon_expression::increment(), and tree_colon_expression::limit().
|
virtual |
Reimplemented from tree_walker.
Definition at line 292 of file pt-pr-code.cc.
References tree_argument_list::accept(), tree_statement_list::accept(), tree::accept(), tree_complex_for_command::body(), tree_complex_for_command::control_expr(), tree_complex_for_command::leading_comment(), tree_complex_for_command::left_hand_side(), and tree_complex_for_command::trailing_comment().
|
virtual |
Reimplemented from tree_walker.
Definition at line 749 of file pt-pr-code.cc.
References tree_constant::print_raw().
|
virtual |
Reimplemented from tree_walker.
Definition at line 181 of file pt-pr-code.cc.
|
virtual |
Reimplemented from tree_walker.
Definition at line 189 of file pt-pr-code.cc.
References tree_decl_init_list::accept(), tree_decl_command::initializer_list(), and tree_decl_command::name().
|
virtual |
Reimplemented from tree_walker.
Definition at line 221 of file pt-pr-code.cc.
References tree_identifier::accept(), tree::accept(), tree_decl_elt::expression(), and tree_decl_elt::ident().
|
virtual |
Reimplemented from tree_walker.
Definition at line 202 of file pt-pr-code.cc.
References tree_decl_elt::accept(), base_list< elt_type >::begin(), and base_list< elt_type >::end().
|
virtual |
Reimplemented from tree_walker.
Definition at line 1143 of file pt-pr-code.cc.
References tree_statement_list::accept(), tree::accept(), tree_while_command::body(), tree_while_command::condition(), tree_while_command::leading_comment(), and tree_while_command::trailing_comment().
|
virtual |
Reimplemented from tree_walker.
Definition at line 761 of file pt-pr-code.cc.
References tree_fcn_handle::print_raw().
|
virtual |
Reimplemented from tree_walker.
Definition at line 439 of file pt-pr-code.cc.
References f, tree_function_def::function(), and octave_value::function_value().
|
virtual |
Reimplemented from tree_walker.
Definition at line 452 of file pt-pr-code.cc.
|
virtual |
Reimplemented from tree_walker.
Definition at line 465 of file pt-pr-code.cc.
References tree_statement_list::accept(), tree::accept(), tree_if_clause::commands(), and tree_if_clause::condition().
|
virtual |
Reimplemented from tree_walker.
Definition at line 487 of file pt-pr-code.cc.
References tree_if_command_list::accept(), tree_if_command::cmd_list(), tree_if_command::leading_comment(), and tree_if_command::trailing_comment().
|
virtual |
Reimplemented from tree_walker.
Definition at line 508 of file pt-pr-code.cc.
References tree_if_clause::accept(), base_list< elt_type >::begin(), base_list< elt_type >::end(), tree_if_clause::is_else_clause(), and tree_if_clause::leading_comment().
|
virtual |
Reimplemented from tree_walker.
Definition at line 540 of file pt-pr-code.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, tree_expression::paren_count(), and tree_index_expression::type_tags().
|
virtual |
Reimplemented from tree_walker.
Definition at line 638 of file pt-pr-code.cc.
References tree_argument_list::accept(), base_list< elt_type >::begin(), and base_list< elt_type >::end().
|
virtual |
Reimplemented from tree_walker.
Definition at line 1185 of file pt-pr-code.cc.
References tree_metaclass_query::class_name().
|
virtual |
Reimplemented from tree_walker.
Definition at line 700 of file pt-pr-code.cc.
References tree_argument_list::accept(), tree::accept(), tree_multi_assignment::left_hand_side(), len, base_list< elt_type >::length(), tree_multi_assignment::oper(), and tree_multi_assignment::right_hand_side().
|
virtual |
Reimplemented from tree_walker.
Definition at line 738 of file pt-pr-code.cc.
References tree_no_op_command::is_end_of_fcn_or_script(), and tree_no_op_command::original_command().
|
virtual |
Reimplemented from tree_walker.
Definition at line 375 of file pt-pr-code.cc.
References tree_statement_list::accept(), octave_user_code::body(), visit_octave_user_function_header(), and visit_octave_user_function_trailer().
void tree_print_code::visit_octave_user_function_header | ( | octave_user_function & | fcn | ) |
Definition at line 396 of file pt-pr-code.cc.
References tree_parameter_list::accept(), octave_user_function::leading_comment(), octave_function::name(), octave_user_function::parameter_list(), and octave_user_function::return_list().
Referenced by visit_octave_user_function().
void tree_print_code::visit_octave_user_function_trailer | ( | octave_user_function & | fcn | ) |
Definition at line 431 of file pt-pr-code.cc.
References octave_user_function::trailing_comment().
Referenced by visit_octave_user_function().
|
virtual |
Reimplemented from tree_walker.
Definition at line 364 of file pt-pr-code.cc.
References tree_statement_list::accept(), and octave_user_code::body().
|
virtual |
Reimplemented from tree_walker.
Definition at line 773 of file pt-pr-code.cc.
References tree_decl_elt::accept(), base_list< elt_type >::begin(), base_list< elt_type >::end(), tree_parameter_list::is_input_list(), len, base_list< elt_type >::length(), tree_parameter_list::takes_varargs(), and tree_parameter_list::varargs_symbol_name().
|
virtual |
Reimplemented from tree_walker.
Definition at line 833 of file pt-pr-code.cc.
References tree::accept(), tree_unary_expression::oper(), and tree_unary_expression::operand().
|
virtual |
Reimplemented from tree_walker.
Definition at line 850 of file pt-pr-code.cc.
References tree::accept(), tree_unary_expression::oper(), and tree_unary_expression::operand().
|
virtual |
Reimplemented from tree_walker.
Definition at line 867 of file pt-pr-code.cc.
|
virtual |
Reimplemented from tree_walker.
Definition at line 875 of file pt-pr-code.cc.
References tree::accept(), tree_simple_assignment::left_hand_side(), tree_simple_assignment::oper(), and tree_simple_assignment::right_hand_side().
|
virtual |
Reimplemented from tree_walker.
Definition at line 239 of file pt-pr-code.cc.
References tree_statement_list::accept(), tree::accept(), tree_simple_for_command::body(), tree_simple_for_command::control_expr(), tree_simple_for_command::in_parallel(), tree_simple_for_command::leading_comment(), tree_simple_for_command::left_hand_side(), tree_simple_for_command::maxproc_expr(), and tree_simple_for_command::trailing_comment().
|
virtual |
Reimplemented from tree_walker.
Definition at line 335 of file pt-pr-code.cc.
References tree_statement_list::accept(), tree_spmd_command::body(), tree_spmd_command::leading_comment(), and tree_spmd_command::trailing_comment().
|
virtual |
Reimplemented from tree_walker.
Definition at line 897 of file pt-pr-code.cc.
References tree::accept(), tree_statement::command(), tree_statement::comment_text(), tree_statement::expression(), and tree_statement::print_result().
|
virtual |
Reimplemented from tree_walker.
Definition at line 929 of file pt-pr-code.cc.
|
virtual |
Reimplemented from tree_walker.
Definition at line 1179 of file pt-pr-code.cc.
References tree_superclass_ref::class_name(), and tree_superclass_ref::method_name().
|
virtual |
Reimplemented from tree_walker.
Definition at line 939 of file pt-pr-code.cc.
References tree_statement_list::accept(), tree::accept(), tree_switch_case::case_label(), tree_switch_case::commands(), tree_switch_case::is_default_case(), and tree_switch_case::leading_comment().
|
virtual |
Reimplemented from tree_walker.
Definition at line 972 of file pt-pr-code.cc.
References tree_switch_case_list::accept(), tree::accept(), tree_switch_command::case_list(), tree_switch_command::leading_comment(), and tree_switch_command::switch_value().
|
virtual |
Reimplemented from tree_walker.
Definition at line 1006 of file pt-pr-code.cc.
References tree_identifier::accept(), tree_statement_list::accept(), tree_try_catch_command::body(), tree_try_catch_command::cleanup(), tree_try_catch_command::identifier(), tree_try_catch_command::leading_comment(), tree_try_catch_command::middle_comment(), and tree_try_catch_command::trailing_comment().
|
virtual |
Reimplemented from tree_walker.
Definition at line 1061 of file pt-pr-code.cc.
References tree_statement_list::accept(), tree_unwind_protect_command::body(), tree_unwind_protect_command::cleanup(), tree_unwind_protect_command::leading_comment(), tree_unwind_protect_command::middle_comment(), and tree_unwind_protect_command::trailing_comment().
|
virtual |
Reimplemented from tree_walker.
Definition at line 1109 of file pt-pr-code.cc.
References tree_statement_list::accept(), tree::accept(), tree_while_command::body(), tree_while_command::condition(), tree_while_command::leading_comment(), and tree_while_command::trailing_comment().