Aegis  4.25.D505
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions
tree Class Reference

#include <tree.h>

Inheritance diagram for tree:
tree_constant tree_diadic tree_monadic tree_this tree_triadic tree_and tree_bitwise_and tree_bitwise_or tree_bitwise_xor tree_comma tree_divide tree_eq tree_ge tree_gt tree_join tree_le tree_lt tree_match tree_mod tree_mul tree_ne tree_or tree_plus tree_shift_left tree_shift_right tree_subtract tree_atime tree_basename tree_bitwise_not tree_ctime tree_delete tree_execute tree_gid tree_ino tree_mode tree_mtime tree_neg tree_nlink tree_not tree_pos tree_print tree_size tree_type tree_uid

Public Types

typedef aegis_shared_ptr< treepointer

Public Member Functions

virtual ~tree ()
virtual const char * name () const =0
virtual void print () const =0
virtual rpt_value::pointer evaluate (string_ty *, string_ty *, string_ty *, struct stat *) const =0
virtual bool useful () const =0
virtual bool constant () const =0
virtual tree::pointer optimize () const =0
rpt_value::pointer evaluate_constant () const
tree::pointer optimize_constant () const

Protected Member Functions

 tree ()

Private Member Functions

 tree (const tree &)
treeoperator= (const tree &)

Detailed Description

The tree abstract base class is used to represent a generic node in an expression syntax tree.

Definition at line 33 of file tree.h.


Member Typedef Documentation

Definition at line 36 of file tree.h.


Constructor & Destructor Documentation

virtual tree::~tree ( ) [virtual]
tree::tree ( ) [protected]

The default constructor.

tree::tree ( const tree ) [private]

The copy constructor. Do not use.


Member Function Documentation

virtual bool tree::constant ( ) const [pure virtual]
virtual rpt_value::pointer tree::evaluate ( string_ty ,
string_ty ,
string_ty ,
struct stat *   
) const [pure virtual]
virtual const char* tree::name ( ) const [pure virtual]
tree& tree::operator= ( const tree ) [private]

The copy constructor. Do not use.

virtual tree::pointer tree::optimize ( ) const [pure virtual]
virtual void tree::print ( ) const [pure virtual]
virtual bool tree::useful ( ) const [pure virtual]

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