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 Member Functions | Private Member Functions | Private Attributes | List of all members
tree_decl_elt Class Reference

#include "pt-decl.h"

Collaboration diagram for tree_decl_elt:
Collaboration graph
[legend]

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)
std::string name (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().

std::string tree_decl_elt::name ( void  )
inline
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

Member Data Documentation

tree_expression* tree_decl_elt::expr
private

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

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

tree_identifier* tree_decl_elt::id
private

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

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


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