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

#include "pt-decl.h"

Inheritance diagram for tree_decl_init_list:
base_list< tree_decl_elt * >

Public Member Functions

 tree_decl_init_list ()
 
 tree_decl_init_list (tree_decl_elt *t)
 
 ~tree_decl_init_list ()
 
void accept (tree_walker &tw)
 
void mark_global ()
 
void mark_persistent ()
 
std::list< std::string > variable_names () const
 
- Public Member Functions inherited from base_list< tree_decl_elt * >
 base_list ()=default
 
 base_list (const base_list &bl)=default
 
 base_list (const std::list< tree_decl_elt * > &l)
 
virtual ~base_list ()=default
 
void append (const tree_decl_elt * &s)
 
tree_decl_elt * & back ()
 
const tree_decl_elt * & back () const
 
iterator begin ()
 
const_iterator begin () const
 
void clear ()
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
iterator erase (iterator pos)
 
tree_decl_elt * & front ()
 
const tree_decl_elt * & front () const
 
std::size_t length () const
 
base_listoperator= (const base_list &bl)=default
 
void pop_back ()
 
void pop_front ()
 
void push_back (const tree_decl_elt * &s)
 
void push_front (const tree_decl_elt * &s)
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
void remove_if (P pred)
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
std::size_t size () const
 

Additional Inherited Members

- Public Types inherited from base_list< tree_decl_elt * >
typedef std::list< tree_decl_elt * >::const_iterator const_iterator
 
typedef std::list< tree_decl_elt * >::const_reverse_iterator const_reverse_iterator
 
typedef std::list< tree_decl_elt * >::iterator iterator
 
typedef std::list< tree_decl_elt * >::reverse_iterator reverse_iterator
 
- Protected Attributes inherited from base_list< tree_decl_elt * >
std::list< tree_decl_elt * > m_lst
 

Detailed Description

Definition at line 108 of file pt-decl.h.

Constructor & Destructor Documentation

◆ tree_decl_init_list() [1/2]

tree_decl_init_list::tree_decl_init_list ( )
inline

Definition at line 112 of file pt-decl.h.

◆ tree_decl_init_list() [2/2]

tree_decl_init_list::tree_decl_init_list ( tree_decl_elt t)
inline

Definition at line 114 of file pt-decl.h.

References base_list< tree_decl_elt * >::append().

◆ ~tree_decl_init_list()

tree_decl_init_list::~tree_decl_init_list ( )
inline

Member Function Documentation

◆ accept()

void tree_decl_init_list::accept ( tree_walker tw)
inline

◆ mark_global()

void tree_decl_init_list::mark_global ( )
inline

Definition at line 128 of file pt-decl.h.

References tree_decl_elt::mark_global().

Referenced by tree_decl_command::mark_global().

◆ mark_persistent()

void tree_decl_init_list::mark_persistent ( )
inline

Definition at line 134 of file pt-decl.h.

References tree_decl_elt::mark_persistent().

Referenced by tree_decl_command::mark_persistent().

◆ variable_names()

std::list<std::string> tree_decl_init_list::variable_names ( ) const
inline

Definition at line 140 of file pt-decl.h.

References tree_decl_elt::name().

Referenced by base_parser::make_decl_command().


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