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

#include "pt-decl.h"

Inheritance diagram for octave::tree_decl_init_list:
Collaboration diagram for octave::tree_decl_init_list:

Public Types

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
 

Public Member Functions

 tree_decl_init_list (const tree_decl_init_list &)=delete
 
 tree_decl_init_list (tree_decl_elt *t)
 
 tree_decl_init_list (void)
 
 ~tree_decl_init_list (void)
 
void accept (tree_walker &tw)
 
void append (const tree_decl_elt * &s)
 
tree_decl_elt * & back (void)
 
const tree_decl_elt * & back (void) const
 
iterator begin (void)
 
const_iterator begin (void) const
 
void clear (void)
 
bool empty (void) const
 
iterator end (void)
 
const_iterator end (void) const
 
iterator erase (iterator pos)
 
tree_decl_elt * & front (void)
 
const tree_decl_elt * & front (void) const
 
size_t length (void) const
 
void mark_global (void)
 
void mark_persistent (void)
 
tree_decl_init_listoperator= (const tree_decl_init_list &)=delete
 
void pop_back (void)
 
void pop_front (void)
 
void push_back (const tree_decl_elt * &s)
 
void push_front (const tree_decl_elt * &s)
 
reverse_iterator rbegin (void)
 
const_reverse_iterator rbegin (void) const
 
void remove_if (P pred)
 
reverse_iterator rend (void)
 
const_reverse_iterator rend (void) const
 
size_t size (void) const
 
std::list< std::string > variable_names (void) const
 

Protected Attributes

std::list< tree_decl_elt * > m_lst
 

Detailed Description

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

Member Typedef Documentation

◆ const_iterator

Definition at line 44 of file base-list.h.

◆ const_reverse_iterator

Definition at line 48 of file base-list.h.

◆ iterator

typedef std::list<tree_decl_elt * >::iterator octave::base_list< tree_decl_elt * >::iterator
inherited

Definition at line 43 of file base-list.h.

◆ reverse_iterator

Definition at line 46 of file base-list.h.

Constructor & Destructor Documentation

◆ tree_decl_init_list() [1/3]

octave::tree_decl_init_list::tree_decl_init_list ( void  )
inline

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

◆ tree_decl_init_list() [2/3]

octave::tree_decl_init_list::tree_decl_init_list ( tree_decl_elt t)
inline

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

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

◆ tree_decl_init_list() [3/3]

octave::tree_decl_init_list::tree_decl_init_list ( const tree_decl_init_list )
delete

◆ ~tree_decl_init_list()

octave::tree_decl_init_list::~tree_decl_init_list ( void  )
inline

Member Function Documentation

◆ accept()

◆ append()

void octave::base_list< tree_decl_elt * >::append ( const tree_decl_elt * &  s)
inlineinherited

Definition at line 92 of file base-list.h.

◆ back() [1/2]

tree_decl_elt * & octave::base_list< tree_decl_elt * >::back ( void  )
inlineinherited

Definition at line 80 of file base-list.h.

◆ back() [2/2]

const tree_decl_elt * & octave::base_list< tree_decl_elt * >::back ( void  ) const
inlineinherited

Definition at line 83 of file base-list.h.

◆ begin() [1/2]

iterator octave::base_list< tree_decl_elt * >::begin ( void  )
inlineinherited

Definition at line 65 of file base-list.h.

◆ begin() [2/2]

const_iterator octave::base_list< tree_decl_elt * >::begin ( void  ) const
inlineinherited

Definition at line 66 of file base-list.h.

◆ clear()

void octave::base_list< tree_decl_elt * >::clear ( void  )
inlineinherited

Definition at line 63 of file base-list.h.

◆ empty()

bool octave::base_list< tree_decl_elt * >::empty ( void  ) const
inlineinherited

Definition at line 50 of file base-list.h.

◆ end() [1/2]

iterator octave::base_list< tree_decl_elt * >::end ( void  )
inlineinherited

Definition at line 68 of file base-list.h.

◆ end() [2/2]

const_iterator octave::base_list< tree_decl_elt * >::end ( void  ) const
inlineinherited

Definition at line 69 of file base-list.h.

◆ erase()

iterator octave::base_list< tree_decl_elt * >::erase ( iterator  pos)
inlineinherited

Definition at line 55 of file base-list.h.

◆ front() [1/2]

tree_decl_elt * & octave::base_list< tree_decl_elt * >::front ( void  )
inlineinherited

Definition at line 79 of file base-list.h.

◆ front() [2/2]

const tree_decl_elt * & octave::base_list< tree_decl_elt * >::front ( void  ) const
inlineinherited

Definition at line 82 of file base-list.h.

◆ length()

size_t octave::base_list< tree_decl_elt * >::length ( void  ) const
inlineinherited

Definition at line 53 of file base-list.h.

◆ mark_global()

void octave::tree_decl_init_list::mark_global ( void  )
inline

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

References octave::tree_decl_elt::mark_global().

Referenced by octave::tree_decl_command::mark_global().

◆ mark_persistent()

void octave::tree_decl_init_list::mark_persistent ( void  )
inline

◆ operator=()

tree_decl_init_list& octave::tree_decl_init_list::operator= ( const tree_decl_init_list )
delete

◆ pop_back()

void octave::base_list< tree_decl_elt * >::pop_back ( void  )
inlineinherited

Definition at line 89 of file base-list.h.

◆ pop_front()

void octave::base_list< tree_decl_elt * >::pop_front ( void  )
inlineinherited

Definition at line 88 of file base-list.h.

◆ push_back()

void octave::base_list< tree_decl_elt * >::push_back ( const tree_decl_elt * &  s)
inlineinherited

Definition at line 86 of file base-list.h.

◆ push_front()

void octave::base_list< tree_decl_elt * >::push_front ( const tree_decl_elt * &  s)
inlineinherited

Definition at line 85 of file base-list.h.

◆ rbegin() [1/2]

reverse_iterator octave::base_list< tree_decl_elt * >::rbegin ( void  )
inlineinherited

Definition at line 71 of file base-list.h.

◆ rbegin() [2/2]

const_reverse_iterator octave::base_list< tree_decl_elt * >::rbegin ( void  ) const
inlineinherited

Definition at line 72 of file base-list.h.

◆ remove_if()

void octave::base_list< tree_decl_elt * >::remove_if ( pred)
inlineinherited

Definition at line 58 of file base-list.h.

◆ rend() [1/2]

reverse_iterator octave::base_list< tree_decl_elt * >::rend ( void  )
inlineinherited

Definition at line 75 of file base-list.h.

◆ rend() [2/2]

const_reverse_iterator octave::base_list< tree_decl_elt * >::rend ( void  ) const
inlineinherited

Definition at line 76 of file base-list.h.

◆ size()

size_t octave::base_list< tree_decl_elt * >::size ( void  ) const
inlineinherited

Definition at line 52 of file base-list.h.

◆ variable_names()

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

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

References octave::tree_decl_elt::name(), and retval.

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

Member Data Documentation

◆ m_lst

std::list<tree_decl_elt * > octave::base_list< tree_decl_elt * >::m_lst
protectedinherited

Definition at line 106 of file base-list.h.


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