|
Aegis
4.25.D505
|
#include <tree.h>
Public Types | |
| typedef aegis_shared_ptr< tree > | pointer |
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 &) | |
| tree & | operator= (const tree &) |
The tree abstract base class is used to represent a generic node in an expression syntax tree.
| typedef aegis_shared_ptr<tree> tree::pointer |
| virtual tree::~tree | ( | ) | [virtual] |
| tree::tree | ( | ) | [protected] |
The default constructor.
| tree::tree | ( | const tree & | ) | [private] |
The copy constructor. Do not use.
| virtual bool tree::constant | ( | ) | const [pure virtual] |
Implemented in tree_triadic, tree_constant, tree_print, tree_this, tree_delete, tree_monadic, and tree_diadic.
| virtual rpt_value::pointer tree::evaluate | ( | string_ty * | , |
| string_ty * | , | ||
| string_ty * | , | ||
| struct stat * | |||
| ) | const [pure virtual] |
Implemented in tree_type, tree_uid, tree_pos, tree_size, tree_plus, tree_nlink, tree_neg, tree_shift_right, tree_mtime, tree_ne, tree_mul, tree_shift_left, tree_triadic, tree_mode, tree_eq, tree_mod, tree_bitwise_not, tree_comma, tree_ino, tree_lt, tree_subtract, tree_bitwise_xor, tree_not, tree_gid, tree_le, tree_join, tree_bitwise_or, tree_or, tree_ctime, tree_gt, tree_divide, tree_bitwise_and, tree_and, tree_basename, tree_atime, tree_ge, tree_constant, tree_execute, tree_print, tree_this, tree_delete, and tree_match.
| rpt_value::pointer tree::evaluate_constant | ( | ) | const |
| virtual const char* tree::name | ( | ) | const [pure virtual] |
Implemented in tree_type, tree_uid, tree_pos, tree_size, tree_plus, tree_nlink, tree_neg, tree_shift_right, tree_mtime, tree_ne, tree_mul, tree_shift_left, tree_triadic, tree_mode, tree_eq, tree_mod, tree_bitwise_not, tree_comma, tree_ino, tree_lt, tree_subtract, tree_bitwise_xor, tree_not, tree_gid, tree_le, tree_join, tree_bitwise_or, tree_or, tree_ctime, tree_gt, tree_divide, tree_bitwise_and, tree_and, tree_basename, tree_atime, tree_ge, tree_execute, tree_print, tree_constant, tree_delete, tree_this, and tree_match.
| virtual tree::pointer tree::optimize | ( | ) | const [pure virtual] |
Implemented in tree_type, tree_uid, tree_pos, tree_size, tree_plus, tree_nlink, tree_neg, tree_shift_right, tree_mtime, tree_ne, tree_mul, tree_shift_left, tree_triadic, tree_mode, tree_eq, tree_mod, tree_bitwise_not, tree_comma, tree_ino, tree_lt, tree_subtract, tree_bitwise_xor, tree_not, tree_gid, tree_le, tree_join, tree_bitwise_or, tree_or, tree_ctime, tree_gt, tree_divide, tree_bitwise_and, tree_and, tree_constant, tree_basename, tree_print, tree_atime, tree_this, tree_delete, tree_execute, tree_ge, and tree_match.
| tree::pointer tree::optimize_constant | ( | ) | const |
| virtual void tree::print | ( | ) | const [pure virtual] |
Implemented in tree_triadic, tree_constant, tree_this, tree_monadic, and tree_diadic.
| virtual bool tree::useful | ( | ) | const [pure virtual] |
Implemented in tree_triadic, tree_constant, tree_execute, tree_print, tree_this, tree_delete, tree_monadic, and tree_diadic.
1.7.6.1