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

Public Member Functions

 parse_tree_validator (const parse_tree_validator &)=delete
 
 parse_tree_validator (void)
 
 ~parse_tree_validator (void)=default
 
std::list< parse_exceptionerror_list (void) const
 
symbol_scope get_scope (void) const
 
bool ok (void) const
 
parse_tree_validatoroperator= (const parse_tree_validator &)=delete
 
void visit_index_expression (tree_index_expression &idx_expr)
 
void visit_octave_user_function (octave_user_function &fcn)
 
void visit_octave_user_script (octave_user_script &script)
 

Private Attributes

std::list< parse_exceptionm_error_list
 
symbol_scope m_scope
 

Detailed Description

Definition at line 6502 of file oct-parse.cc.

Constructor & Destructor Documentation

◆ parse_tree_validator() [1/2]

parse_tree_validator::parse_tree_validator ( void  )
inline

Definition at line 6506 of file oct-parse.cc.

◆ parse_tree_validator() [2/2]

parse_tree_validator::parse_tree_validator ( const parse_tree_validator )
delete

◆ ~parse_tree_validator()

parse_tree_validator::~parse_tree_validator ( void  )
default

Member Function Documentation

◆ error_list()

std::list< parse_exception > parse_tree_validator::error_list ( void  ) const
inline

◆ get_scope()

symbol_scope parse_tree_validator::get_scope ( void  ) const
inline

Definition at line 6516 of file oct-parse.cc.

References m_scope.

◆ ok()

bool parse_tree_validator::ok ( void  ) const
inline

◆ operator=()

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

◆ visit_index_expression()

void parse_tree_validator::visit_index_expression ( tree_index_expression &  idx_expr)
inline

Definition at line 6559 of file oct-parse.cc.

References m_error_list, m_scope, and message().

◆ visit_octave_user_function()

◆ visit_octave_user_script()

void parse_tree_validator::visit_octave_user_script ( octave_user_script script)
inline

Member Data Documentation

◆ m_error_list

std::list<parse_exception> parse_tree_validator::m_error_list
private

Definition at line 6582 of file oct-parse.cc.

Referenced by error_list(), ok(), and visit_index_expression().

◆ m_scope

symbol_scope parse_tree_validator::m_scope
private

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