#include "anon-fcn-validator.h"
Private Member Functions | |
void | error (tree_expression &expr) |
Private Attributes | |
int | m_column |
int | m_line |
std::string | m_message |
bool | m_ok |
Definition at line 42 of file anon-fcn-validator.h.
octave::anon_fcn_validator::anon_fcn_validator | ( | tree_parameter_list * | , |
tree_expression * | expr | ||
) |
Definition at line 38 of file anon-fcn-validator.cc.
References octave::tree::accept().
|
delete |
|
default |
|
inline |
Definition at line 67 of file anon-fcn-validator.h.
References m_column.
Referenced by octave::base_parser::make_anon_fcn_handle().
|
private |
Definition at line 75 of file anon-fcn-validator.cc.
References octave::tree::column(), octave::tree::line(), m_column, m_line, m_message, m_ok, and octave::tree_expression::oper().
Referenced by visit_multi_assignment(), visit_postfix_expression(), visit_prefix_expression(), and visit_simple_assignment().
|
inline |
Definition at line 66 of file anon-fcn-validator.h.
References m_line.
Referenced by octave::base_parser::make_anon_fcn_handle().
|
inline |
Definition at line 69 of file anon-fcn-validator.h.
References m_message.
Referenced by octave::base_parser::make_anon_fcn_handle().
|
inline |
Definition at line 64 of file anon-fcn-validator.h.
References m_ok.
Referenced by octave::base_parser::make_anon_fcn_handle().
|
delete |
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, octave::tree_anon_scopes, and octave::ctor_analyzer.
Definition at line 34 of file pt-walk.cc.
Referenced by octave::tree_anon_fcn_handle::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_checker, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 39 of file pt-walk.cc.
References octave::tree::accept(), octave::base_list< elt_type >::begin(), and octave::base_list< elt_type >::end().
Referenced by octave::tree_argument_list::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 52 of file pt-walk.cc.
References octave::tree::accept(), octave::tree_binary_expression::lhs(), and octave::tree_binary_expression::rhs().
Referenced by octave::tree_binary_expression::accept(), octave::tree_walker::visit_boolean_expression(), and octave::tree_walker::visit_compound_binary_expression().
|
virtualinherited |
Reimplemented in octave::jit_convert, and octave::tree_evaluator.
Definition at line 65 of file pt-walk.cc.
References octave::tree_walker::visit_binary_expression().
Referenced by octave::tree_boolean_expression::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 75 of file pt-walk.cc.
Referenced by octave::tree_break_command::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 347 of file pt-walk.cc.
References octave::tree_argument_list::accept(), octave::base_list< elt_type >::begin(), and octave::base_list< elt_type >::end().
Referenced by octave::tree_cell::accept().
|
virtualinherited |
Definition at line 606 of file pt-walk.cc.
Referenced by octave::tree_classdef::accept().
|
virtualinherited |
Definition at line 526 of file pt-walk.cc.
Referenced by octave::tree_classdef_attribute::accept().
|
virtualinherited |
Definition at line 531 of file pt-walk.cc.
Referenced by octave::tree_classdef_attribute_list::accept().
|
virtualinherited |
Definition at line 601 of file pt-walk.cc.
Referenced by octave::tree_classdef_body::accept().
|
virtualinherited |
Definition at line 586 of file pt-walk.cc.
Referenced by octave::tree_classdef_enum::accept().
|
virtualinherited |
Definition at line 596 of file pt-walk.cc.
Referenced by octave::tree_classdef_enum_block::accept().
|
virtualinherited |
Definition at line 591 of file pt-walk.cc.
Referenced by octave::tree_classdef_enum_list::accept().
|
virtualinherited |
Definition at line 571 of file pt-walk.cc.
Referenced by octave::tree_classdef_event::accept().
|
virtualinherited |
Definition at line 581 of file pt-walk.cc.
Referenced by octave::tree_classdef_events_block::accept().
|
virtualinherited |
Definition at line 576 of file pt-walk.cc.
Referenced by octave::tree_classdef_events_list::accept().
|
virtualinherited |
Definition at line 566 of file pt-walk.cc.
Referenced by octave::tree_classdef_methods_block::accept().
|
virtualinherited |
Definition at line 561 of file pt-walk.cc.
Referenced by octave::tree_classdef_methods_list::accept().
|
virtualinherited |
Definition at line 556 of file pt-walk.cc.
Referenced by octave::tree_classdef_properties_block::accept().
|
virtualinherited |
Definition at line 546 of file pt-walk.cc.
Referenced by octave::tree_classdef_property::accept().
|
virtualinherited |
Definition at line 551 of file pt-walk.cc.
Referenced by octave::tree_classdef_property_list::accept().
|
virtualinherited |
Definition at line 536 of file pt-walk.cc.
Referenced by octave::tree_classdef_superclass::accept().
|
virtualinherited |
Definition at line 541 of file pt-walk.cc.
Referenced by octave::tree_classdef_superclass_list::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 80 of file pt-walk.cc.
References octave::tree::accept(), octave::tree_colon_expression::base(), octave::tree_colon_expression::increment(), and octave::tree_colon_expression::limit().
Referenced by octave::tree_colon_expression::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_checker, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 159 of file pt-walk.cc.
References octave::tree_argument_list::accept(), octave::tree_statement_list::accept(), octave::tree::accept(), octave::tree_complex_for_command::body(), octave::tree_complex_for_command::control_expr(), and octave::tree_complex_for_command::left_hand_side().
Referenced by octave::tree_complex_for_command::accept().
|
virtualinherited |
Reimplemented in octave::tree_evaluator.
Definition at line 70 of file pt-walk.cc.
References octave::tree_walker::visit_binary_expression().
Referenced by octave::tree_compound_binary_expression::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 378 of file pt-walk.cc.
Referenced by octave::tree_constant::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 98 of file pt-walk.cc.
Referenced by octave::tree_continue_command::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 103 of file pt-walk.cc.
References octave::tree_decl_init_list::accept(), and octave::tree_decl_command::initializer_list().
Referenced by octave::tree_decl_command::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 111 of file pt-walk.cc.
References octave::tree_identifier::accept(), octave::tree::accept(), octave::tree_decl_elt::expression(), and octave::tree_decl_elt::ident().
Referenced by octave::tree_decl_elt::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 124 of file pt-walk.cc.
Referenced by octave::tree_decl_init_list::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 503 of file pt-walk.cc.
References octave::tree_statement_list::accept(), octave::tree::accept(), octave::tree_while_command::body(), and octave::tree_while_command::condition().
Referenced by octave::tree_do_until_command::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 383 of file pt-walk.cc.
Referenced by octave::tree_fcn_handle::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, and octave::ctor_analyzer.
Definition at line 193 of file pt-walk.cc.
References octave::f(), octave::tree_function_def::function(), and octave_value::function_value().
Referenced by octave::tree_function_def::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, octave::tree_anon_scopes, and octave::ctor_analyzer.
Definition at line 203 of file pt-walk.cc.
Referenced by octave::tree_identifier::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 208 of file pt-walk.cc.
References octave::tree_statement_list::accept(), octave::tree::accept(), octave::tree_if_clause::commands(), and octave::tree_if_clause::condition().
Referenced by octave::tree_if_clause::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, and octave::ctor_analyzer.
Definition at line 221 of file pt-walk.cc.
References octave::tree_if_command_list::accept(), and octave::tree_if_command::cmd_list().
Referenced by octave::tree_if_command::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 229 of file pt-walk.cc.
References octave::tree_if_clause::accept(), octave::base_list< elt_type >::begin(), and octave::base_list< elt_type >::end().
Referenced by octave::tree_if_command_list::accept().
|
virtualinherited |
Reimplemented in octave::ctor_analyzer, octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, and octave::tree_breakpoint.
Definition at line 281 of file pt-walk.cc.
References octave::tree_argument_list::accept(), octave::tree::accept(), octave::tree_index_expression::arg_lists(), octave::tree_index_expression::arg_names(), octave::tree_index_expression::dyn_fields(), octave::tree_index_expression::expression(), n, panic_impossible, and octave::tree_index_expression::type_tags().
Referenced by octave::tree_index_expression::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 334 of file pt-walk.cc.
References octave::tree_argument_list::accept(), octave::base_list< elt_type >::begin(), and octave::base_list< elt_type >::end().
Referenced by octave::tree_matrix::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, and octave::tree_evaluator.
Definition at line 521 of file pt-walk.cc.
Referenced by octave::tree_metaclass_query::accept().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 65 of file anon-fcn-validator.cc.
References error().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 373 of file pt-walk.cc.
Referenced by octave::tree_no_op_command::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, and octave::ctor_analyzer.
Definition at line 185 of file pt-walk.cc.
References octave::tree_statement_list::accept(), and octave_user_code::body().
Referenced by octave_user_function::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, and octave::ctor_analyzer.
Definition at line 177 of file pt-walk.cc.
References octave::tree_statement_list::accept(), and octave_user_code::body().
Referenced by octave_user_script::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, octave::tree_anon_scopes, and octave::ctor_analyzer.
Definition at line 388 of file pt-walk.cc.
References octave::tree_decl_elt::accept(), octave::base_list< elt_type >::begin(), and octave::base_list< elt_type >::end().
Referenced by octave::tree_parameter_list::accept().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 45 of file anon-fcn-validator.cc.
References error(), octave_value::op_decr, octave_value::op_incr, octave::tree_unary_expression::op_type(), and octave::tree_walker::visit_postfix_expression().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 55 of file anon-fcn-validator.cc.
References error(), octave_value::op_decr, octave_value::op_incr, octave::tree_unary_expression::op_type(), and octave::tree_walker::visit_prefix_expression().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 417 of file pt-walk.cc.
Referenced by octave::tree_return_command::accept().
|
virtual |
Reimplemented from octave::tree_walker.
Definition at line 70 of file anon-fcn-validator.cc.
References error().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_checker, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 136 of file pt-walk.cc.
References octave::tree_statement_list::accept(), octave::tree::accept(), octave::tree_simple_for_command::body(), octave::tree_simple_for_command::control_expr(), octave::tree_simple_for_command::left_hand_side(), and octave::tree_simple_for_command::maxproc_expr().
Referenced by octave::tree_simple_for_command::accept().
|
virtualinherited |
Reimplemented in octave::ctor_analyzer, octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::tree_anon_scopes.
Definition at line 435 of file pt-walk.cc.
References octave::tree::accept(), octave::tree_statement::command(), and octave::tree_statement::expression().
Referenced by octave::tree_statement::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::tree_anon_scopes.
Definition at line 450 of file pt-walk.cc.
Referenced by octave::tree_statement_list::accept().
|
virtualinherited |
Reimplemented in octave::ctor_analyzer, octave::tree_print_code, and octave::tree_evaluator.
Definition at line 516 of file pt-walk.cc.
Referenced by octave::tree_superclass_ref::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 242 of file pt-walk.cc.
References octave::tree_statement_list::accept(), octave::tree::accept(), octave::tree_switch_case::case_label(), and octave::tree_switch_case::commands().
Referenced by octave::tree_switch_case::accept().
|
virtualinherited |
Reimplemented in octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 255 of file pt-walk.cc.
References octave::tree_switch_case::accept(), octave::base_list< elt_type >::begin(), and octave::base_list< elt_type >::end().
Referenced by octave::tree_switch_case_list::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 268 of file pt-walk.cc.
References octave::tree_switch_case_list::accept(), octave::tree::accept(), octave::tree_switch_command::case_list(), and octave::tree_switch_command::switch_value().
Referenced by octave::tree_switch_command::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_checker, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 459 of file pt-walk.cc.
References octave::tree_identifier::accept(), octave::tree_statement_list::accept(), octave::tree_try_catch_command::body(), octave::tree_try_catch_command::cleanup(), and octave::tree_try_catch_command::identifier().
Referenced by octave::tree_try_catch_command::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 477 of file pt-walk.cc.
References octave::tree_statement_list::accept(), octave::tree_unwind_protect_command::body(), and octave::tree_unwind_protect_command::cleanup().
Referenced by octave::tree_unwind_protect_command::accept().
|
virtualinherited |
Reimplemented in octave::tree_print_code, octave::jit_convert, octave::tree_evaluator, octave::tree_breakpoint, and octave::ctor_analyzer.
Definition at line 490 of file pt-walk.cc.
References octave::tree_statement_list::accept(), octave::tree::accept(), octave::tree_while_command::body(), and octave::tree_while_command::condition().
Referenced by octave::tree_while_command::accept().
|
private |
Definition at line 75 of file anon-fcn-validator.h.
|
private |
Definition at line 74 of file anon-fcn-validator.h.
|
private |
Definition at line 76 of file anon-fcn-validator.h.
|
private |
Definition at line 73 of file anon-fcn-validator.h.