Public Types | Public Member Functions | Private Member Functions | Private Attributes

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]

List of all members.

Public Types

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

Public Member Functions

 tree_parameter_list (void)
 tree_parameter_list (tree_decl_elt *t)
 ~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)
void remove_if (P pred)
size_t size (void) const
bool takes_varargs (void) const
void undefine (void)
bool validate (in_or_out type)
bool varargs_only (void)

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

typedef std::list<tree_decl_elt * >::const_iterator octave_base_list< tree_decl_elt * >::const_iterator [inherited]

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

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

Definition at line 34 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 ( 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  )  [inline, inherited]

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

tree_decl_elt * & octave_base_list< tree_decl_elt * >::back ( void   )  [inline, inherited]

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

Referenced by validate().

const tree_decl_elt * & octave_base_list< tree_decl_elt * >::back ( void   )  const [inline, inherited]

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

iterator octave_base_list< tree_decl_elt * >::begin ( void   )  [inline, inherited]
const_iterator octave_base_list< tree_decl_elt * >::begin ( void   )  const [inline, inherited]

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

void octave_base_list< tree_decl_elt * >::clear ( void   )  [inline, inherited]

Definition at line 67 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 [inline, inherited]

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

Referenced by ~tree_parameter_list().

iterator octave_base_list< tree_decl_elt * >::end ( void   )  [inline, inherited]
const_iterator octave_base_list< tree_decl_elt * >::end ( void   )  const [inline, inherited]

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

iterator octave_base_list< tree_decl_elt * >::erase ( iterator  pos  )  [inline, inherited]

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

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

tree_decl_elt * & octave_base_list< tree_decl_elt * >::front ( void   )  [inline, inherited]

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

const tree_decl_elt * & octave_base_list< tree_decl_elt * >::front ( void   )  const [inline, inherited]

Definition at line 78 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 [inline, inherited]

Definition at line 40 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   )  [inline, private]

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

Referenced by dup(), and validate().

void tree_parameter_list::mark_varargs_only ( void   )  [inline, private]

Definition at line 94 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   )  [inline, inherited]

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

void octave_base_list< tree_decl_elt * >::pop_front ( void   )  [inline, inherited]

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

void octave_base_list< tree_decl_elt * >::push_back ( const tree_decl_elt * &  s  )  [inline, inherited]

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

void octave_base_list< tree_decl_elt * >::push_front ( const tree_decl_elt * &  s  )  [inline, inherited]

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

void octave_base_list< tree_decl_elt * >::remove_if ( pred  )  [inline, inherited]

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

size_t octave_base_list< tree_decl_elt * >::size ( void   )  const [inline, inherited]

Definition at line 39 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]

Member Data Documentation

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


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines