Public Member Functions | Private Member Functions | Private Attributes

tree_decl_elt Class Reference

#include "pt-decl.h"

Collaboration diagram for tree_decl_elt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 tree_decl_elt (tree_identifier *i=0, tree_expression *e=0)
 ~tree_decl_elt (void)
void accept (tree_walker &tw)
tree_decl_eltdup (symbol_table::scope_id scope, symbol_table::context_id context) const
bool eval (void)
tree_expressionexpression (void)
tree_identifierident (void)
bool is_defined (void)
bool is_variable (void)
octave_lvalue lvalue (void)
bool lvalue_ok (void)
void mark_as_formal_parameter (void)
octave_value_list rvalue (int nargout)
octave_value rvalue1 (int nargout=1)

Private Member Functions

 tree_decl_elt (const tree_decl_elt &)
tree_decl_eltoperator= (const tree_decl_elt &)

Private Attributes

tree_expressionexpr
tree_identifierid

Detailed Description

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


Constructor & Destructor Documentation

tree_decl_elt::tree_decl_elt ( tree_identifier i = 0,
tree_expression e = 0 
) [inline]

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

Referenced by dup().

tree_decl_elt::~tree_decl_elt ( void   ) 

Definition at line 42 of file pt-decl.cc.

References expr, and id.

tree_decl_elt::tree_decl_elt ( const tree_decl_elt  )  [private]

Member Function Documentation

void tree_decl_elt::accept ( tree_walker tw  ) 
tree_decl_elt * tree_decl_elt::dup ( symbol_table::scope_id  scope,
symbol_table::context_id  context 
) const
bool tree_decl_elt::eval ( void   ) 
tree_expression* tree_decl_elt::expression ( void   )  [inline]
tree_identifier* tree_decl_elt::ident ( void   )  [inline]
bool tree_decl_elt::is_defined ( void   )  [inline]

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

Referenced by tree_parameter_list::convert_to_const_vector().

bool tree_decl_elt::is_variable ( void   )  [inline]
octave_lvalue tree_decl_elt::lvalue ( void   )  [inline]
bool tree_decl_elt::lvalue_ok ( void   )  [inline]

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

void tree_decl_elt::mark_as_formal_parameter ( void   )  [inline]

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

Referenced by tree_parameter_list::mark_as_formal_parameters().

tree_decl_elt& tree_decl_elt::operator= ( const tree_decl_elt  )  [private]
octave_value_list tree_decl_elt::rvalue ( int  nargout  )  [inline]

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

References error().

octave_value tree_decl_elt::rvalue1 ( int  nargout = 1  )  [inline]

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

References octave_value().

Referenced by tree_parameter_list::convert_to_const_vector().


Member Data Documentation

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

Referenced by dup(), eval(), and ~tree_decl_elt().

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

Referenced by dup(), and ~tree_decl_elt().


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