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

#include "anon-fcn-validator.h"

Inheritance diagram for anon_fcn_validator:
tree_walker

Public Member Functions

 anon_fcn_validator (tree_parameter_list *, tree_expression *expr)
 
 ~anon_fcn_validator ()=default
 
int column () const
 
int line () const
 
std::string message () const
 
bool ok () const
 
void visit_multi_assignment (tree_multi_assignment &)
 
void visit_postfix_expression (tree_postfix_expression &)
 
void visit_prefix_expression (tree_prefix_expression &)
 
void visit_simple_assignment (tree_simple_assignment &)
 
- Public Member Functions inherited from tree_walker
virtual 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 &)
 
virtual void visit_argument_list (tree_argument_list &)
 
virtual void visit_arguments_block (tree_arguments_block &)
 
virtual void visit_binary_expression (tree_binary_expression &)
 
virtual void visit_boolean_expression (tree_boolean_expression &)
 
virtual void visit_break_command (tree_break_command &)
 
virtual 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 &)
 
virtual void visit_colon_expression (tree_colon_expression &)
 
virtual void visit_complex_for_command (tree_complex_for_command &)
 
virtual void visit_compound_binary_expression (tree_compound_binary_expression &)
 
virtual void visit_constant (tree_constant &)
 
virtual void visit_continue_command (tree_continue_command &)
 
virtual void visit_decl_command (tree_decl_command &)
 
virtual void visit_decl_elt (tree_decl_elt &)
 
virtual void visit_decl_init_list (tree_decl_init_list &)
 
virtual void visit_do_until_command (tree_do_until_command &)
 
virtual void visit_fcn_handle (tree_fcn_handle &)
 
virtual void visit_function_def (tree_function_def &)
 
virtual void visit_identifier (tree_identifier &)
 
virtual void visit_if_clause (tree_if_clause &)
 
virtual void visit_if_command (tree_if_command &)
 
virtual void visit_if_command_list (tree_if_command_list &)
 
virtual void visit_index_expression (tree_index_expression &)
 
virtual void visit_matrix (tree_matrix &)
 
virtual void visit_metaclass_query (tree_metaclass_query &)
 
virtual void visit_no_op_command (tree_no_op_command &)
 
virtual void visit_octave_user_function (octave_user_function &)
 
virtual void visit_octave_user_script (octave_user_script &)
 
virtual void visit_parameter_list (tree_parameter_list &)
 
virtual void visit_return_command (tree_return_command &)
 
virtual void visit_simple_for_command (tree_simple_for_command &)
 
virtual void visit_spmd_command (tree_spmd_command &)
 
virtual void visit_statement (tree_statement &)
 
virtual void visit_statement_list (tree_statement_list &)
 
virtual void visit_superclass_ref (tree_superclass_ref &)
 
virtual void visit_switch_case (tree_switch_case &)
 
virtual void visit_switch_case_list (tree_switch_case_list &)
 
virtual void visit_switch_command (tree_switch_command &)
 
virtual void visit_try_catch_command (tree_try_catch_command &)
 
virtual void visit_unwind_protect_command (tree_unwind_protect_command &)
 
virtual void visit_while_command (tree_while_command &)
 

Additional Inherited Members

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

Detailed Description

Definition at line 42 of file anon-fcn-validator.h.

Constructor & Destructor Documentation

◆ anon_fcn_validator()

anon_fcn_validator::anon_fcn_validator ( tree_parameter_list ,
tree_expression expr 
)

Definition at line 38 of file anon-fcn-validator.cc.

◆ ~anon_fcn_validator()

anon_fcn_validator::~anon_fcn_validator ( )
default

Member Function Documentation

◆ column()

int anon_fcn_validator::column ( ) const
inline

Definition at line 63 of file anon-fcn-validator.h.

Referenced by base_parser::make_anon_fcn_handle().

◆ line()

int anon_fcn_validator::line ( ) const
inline

Definition at line 62 of file anon-fcn-validator.h.

Referenced by base_parser::make_anon_fcn_handle().

◆ message()

std::string anon_fcn_validator::message ( ) const
inline

Definition at line 65 of file anon-fcn-validator.h.

Referenced by base_parser::make_anon_fcn_handle().

◆ ok()

bool anon_fcn_validator::ok ( ) const
inline

Definition at line 60 of file anon-fcn-validator.h.

Referenced by base_parser::make_anon_fcn_handle().

◆ visit_multi_assignment()

void anon_fcn_validator::visit_multi_assignment ( tree_multi_assignment expr)
virtual

Reimplemented from tree_walker.

Definition at line 68 of file anon-fcn-validator.cc.

◆ visit_postfix_expression()

void anon_fcn_validator::visit_postfix_expression ( tree_postfix_expression expr)
virtual

◆ visit_prefix_expression()

void anon_fcn_validator::visit_prefix_expression ( tree_prefix_expression expr)
virtual

◆ visit_simple_assignment()

void anon_fcn_validator::visit_simple_assignment ( tree_simple_assignment expr)
virtual

Reimplemented from tree_walker.

Definition at line 74 of file anon-fcn-validator.cc.


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