GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::base_parser::parent_scope_info Class Reference
Collaboration diagram for octave::base_parser::parent_scope_info:

Public Types

typedef std::deque< value_type >::const_iterator const_iterator
 
typedef std::deque< value_type >::const_reverse_iterator const_reverse_iterator
 
typedef std::deque< value_type >::iterator iterator
 
typedef std::deque< value_type >::reverse_iterator reverse_iterator
 
typedef std::pair< symbol_scope, std::string > value_type
 

Public Member Functions

 parent_scope_info (base_parser &parser)
 
 parent_scope_info (const parent_scope_info &)=delete
 
 parent_scope_info (void)=delete
 
 ~parent_scope_info (void)=default
 
void clear (void)
 
bool name_current_scope (const std::string &name)
 
bool name_ok (const std::string &name)
 
parent_scope_infooperator= (const parent_scope_info &)=delete
 
std::string parent_name (void) const
 
symbol_scope parent_scope (void) const
 
void pop (void)
 
void push (const symbol_scope &id)
 
void push (const value_type &elt)
 
size_t size (void) const
 

Private Attributes

std::set< std::string > m_all_names
 
std::deque< value_typem_info
 
base_parserm_parser
 

Detailed Description

Definition at line 103 of file parse.h.

Member Typedef Documentation

◆ const_iterator

◆ const_reverse_iterator

◆ iterator

Definition at line 109 of file parse.h.

◆ reverse_iterator

◆ value_type

Definition at line 107 of file parse.h.

Constructor & Destructor Documentation

◆ parent_scope_info() [1/3]

octave::base_parser::parent_scope_info::parent_scope_info ( void  )
delete

◆ parent_scope_info() [2/3]

octave::base_parser::parent_scope_info::parent_scope_info ( base_parser parser)
inline

Definition at line 117 of file parse.h.

◆ parent_scope_info() [3/3]

octave::base_parser::parent_scope_info::parent_scope_info ( const parent_scope_info )
delete

◆ ~parent_scope_info()

octave::base_parser::parent_scope_info::~parent_scope_info ( void  )
default

Member Function Documentation

◆ clear()

void octave::base_parser::parent_scope_info::clear ( void  )

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

Referenced by octave::base_parser::reset().

◆ name_current_scope()

bool octave::base_parser::parent_scope_info::name_current_scope ( const std::string &  name)

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

References name.

Referenced by octave::base_parser::make_fcn_name().

◆ name_ok()

bool octave::base_parser::parent_scope_info::name_ok ( const std::string &  name)

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

References name.

◆ operator=()

parent_scope_info& octave::base_parser::parent_scope_info::operator= ( const parent_scope_info )
delete

◆ parent_name()

std::string octave::base_parser::parent_scope_info::parent_name ( void  ) const

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

◆ parent_scope()

symbol_scope octave::base_parser::parent_scope_info::parent_scope ( void  ) const

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

Referenced by octave::base_parser::finish_function().

◆ pop()

void octave::base_parser::parent_scope_info::pop ( void  )

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

Referenced by octave::base_parser::recover_from_parsing_function().

◆ push() [1/2]

void octave::base_parser::parent_scope_info::push ( const symbol_scope id)

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

◆ push() [2/2]

void octave::base_parser::parent_scope_info::push ( const value_type elt)

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

Referenced by octave::base_parser::push_fcn_symtab().

◆ size()

size_t octave::base_parser::parent_scope_info::size ( void  ) const

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

References m_info.

Referenced by octave::base_parser::finish_function().

Member Data Documentation

◆ m_all_names

std::set<std::string> octave::base_parser::parent_scope_info::m_all_names
private

Definition at line 151 of file parse.h.

◆ m_info

std::deque<value_type> octave::base_parser::parent_scope_info::m_info
private

Definition at line 150 of file parse.h.

Referenced by size().

◆ m_parser

base_parser& octave::base_parser::parent_scope_info::m_parser
private

Definition at line 149 of file parse.h.


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