GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
tree_parameter_list Class Reference

#include "pt-misc.h"

Inheritance diagram for tree_parameter_list:
Inheritance graph
[legend]
Collaboration diagram for tree_parameter_list:
Collaboration graph
[legend]

Public Types

typedef std::list
< tree_decl_elt * >
::const_iterator 
const_iterator
typedef std::list
< tree_decl_elt * >
::const_reverse_iterator 
const_reverse_iterator
enum  in_or_out { in = 1, out = 2 }
typedef std::list
< tree_decl_elt * >::iterator 
iterator
typedef std::list
< tree_decl_elt * >
::reverse_iterator 
reverse_iterator

Public Member Functions

 tree_parameter_list (void)
 tree_parameter_list (tree_decl_elt *t)
 tree_parameter_list (tree_identifier *id)
 ~tree_parameter_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)
octave_value_list convert_to_const_vector (int nargout, const Cell &varargout)
void define_from_arg_vector (const octave_value_list &args)
tree_parameter_listdup (symbol_table::scope_id scope, symbol_table::context_id context) const
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
void initialize_undefined_elements (const std::string &warnfor, int nargout, const octave_value &val)
bool is_defined (void)
size_t length (void) const
void mark_as_formal_parameters (void)
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
bool takes_varargs (void) const
void undefine (void)
bool validate (in_or_out type)
bool varargs_only (void)
std::list< std::string > variable_names (void) const

Private Member Functions

 tree_parameter_list (const tree_parameter_list &)
void mark_varargs (void)
void mark_varargs_only (void)
tree_parameter_listoperator= (const tree_parameter_list &)

Private Attributes

int marked_for_varargs

Detailed Description

Definition at line 45 of file pt-misc.h.

Member Typedef Documentation

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

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

typedef std::list<tree_decl_elt * >::iterator octave_base_list< tree_decl_elt * >::iterator
inherited

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

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

Member Enumeration Documentation

Enumerator:
in 
out 

Definition at line 50 of file pt-misc.h.

Constructor & Destructor Documentation

tree_parameter_list::tree_parameter_list ( void  )
inline

Definition at line 56 of file pt-misc.h.

Referenced by dup().

tree_parameter_list::tree_parameter_list ( tree_decl_elt t)
inline

Definition at line 59 of file pt-misc.h.

tree_parameter_list::tree_parameter_list ( tree_identifier id)
inline

Definition at line 62 of file pt-misc.h.

tree_parameter_list::~tree_parameter_list ( void  )
tree_parameter_list::tree_parameter_list ( const tree_parameter_list )
private

Member Function Documentation

void tree_parameter_list::accept ( tree_walker tw)
void octave_base_list< tree_decl_elt * >::append ( const tree_decl_elt * &  s)
inlineinherited

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

tree_decl_elt * & octave_base_list< tree_decl_elt * >::back ( void  )
inlineinherited

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

Referenced by validate().

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

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

iterator octave_base_list< tree_decl_elt * >::begin ( void  )
inlineinherited
const_iterator octave_base_list< tree_decl_elt * >::begin ( void  ) const
inlineinherited

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

void octave_base_list< tree_decl_elt * >::clear ( void  )
inlineinherited

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

octave_value_list tree_parameter_list::convert_to_const_vector ( int  nargout,
const Cell varargout 
)
void tree_parameter_list::define_from_arg_vector ( const octave_value_list args)
tree_parameter_list * tree_parameter_list::dup ( symbol_table::scope_id  scope,
symbol_table::context_id  context 
) const
bool octave_base_list< tree_decl_elt * >::empty ( void  ) const
inlineinherited

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

Referenced by ~tree_parameter_list().

iterator octave_base_list< tree_decl_elt * >::end ( void  )
inlineinherited
const_iterator octave_base_list< tree_decl_elt * >::end ( void  ) const
inlineinherited

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

iterator octave_base_list< tree_decl_elt * >::erase ( iterator  pos)
inlineinherited

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

Referenced by validate(), and ~tree_parameter_list().

tree_decl_elt * & octave_base_list< tree_decl_elt * >::front ( void  )
inlineinherited

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

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

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

void tree_parameter_list::initialize_undefined_elements ( const std::string &  warnfor,
int  nargout,
const octave_value val 
)
bool tree_parameter_list::is_defined ( void  )
size_t octave_base_list< tree_decl_elt * >::length ( void  ) const
inlineinherited

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

Referenced by convert_to_const_vector(), define_from_arg_vector(), undefine(), and validate().

void tree_parameter_list::mark_as_formal_parameters ( void  )
void tree_parameter_list::mark_varargs ( void  )
inlineprivate

Definition at line 98 of file pt-misc.h.

Referenced by dup(), and validate().

void tree_parameter_list::mark_varargs_only ( void  )
inlineprivate

Definition at line 100 of file pt-misc.h.

Referenced by validate().

tree_parameter_list& tree_parameter_list::operator= ( const tree_parameter_list )
private
void octave_base_list< tree_decl_elt * >::pop_back ( void  )
inlineinherited

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

void octave_base_list< tree_decl_elt * >::pop_front ( void  )
inlineinherited

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

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

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

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

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

reverse_iterator octave_base_list< tree_decl_elt * >::rbegin ( void  )
inlineinherited

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

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

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

void octave_base_list< tree_decl_elt * >::remove_if ( pred)
inlineinherited

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

reverse_iterator octave_base_list< tree_decl_elt * >::rend ( void  )
inlineinherited

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

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

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

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

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

bool tree_parameter_list::takes_varargs ( void  ) const
inline
void tree_parameter_list::undefine ( void  )
bool tree_parameter_list::validate ( in_or_out  type)
bool tree_parameter_list::varargs_only ( void  )
inline
std::list< std::string > tree_parameter_list::variable_names ( void  ) const

Member Data Documentation

int tree_parameter_list::marked_for_varargs
private

Definition at line 96 of file pt-misc.h.


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