|
Aegis
4.25.D505
|
#include <constant.h>
Public Member Functions | |
| virtual | ~tree_constant () |
Static Public Member Functions | |
| static tree::pointer | create (rpt_value::pointer value) |
Protected Member Functions | |
| const char * | name () const |
| void | print () const |
| rpt_value::pointer | evaluate (string_ty *, string_ty *, string_ty *, struct stat *) const |
| bool | useful () const |
| bool | constant () const |
| tree::pointer | optimize () const |
Private Member Functions | |
| tree_constant (rpt_value::pointer value) | |
| tree_constant () | |
| tree_constant (const tree_constant &) | |
| tree_constant & | operator= (const tree_constant &) |
Private Attributes | |
| rpt_value::pointer | value |
The tree_constant class us ised to represent an expression tree node with a constant value.
Definition at line 31 of file constant.h.
| virtual tree_constant::~tree_constant | ( | ) | [virtual] |
The destructor.
| tree_constant::tree_constant | ( | rpt_value::pointer | value | ) | [private] |
The constructor. It is private on purpose, use the "create" class method indtead.
| value | The value of this node. |
| tree_constant::tree_constant | ( | ) | [private] |
The default constructor. Do not use.
| tree_constant::tree_constant | ( | const tree_constant & | ) | [private] |
The copy constructor. Do not use.
| bool tree_constant::constant | ( | ) | const [protected, virtual] |
Implements tree.
| static tree::pointer tree_constant::create | ( | rpt_value::pointer | value | ) | [static] |
The create class method is used to create new dynamically allocated instance of this class.
| value | The value of this node. |
| rpt_value::pointer tree_constant::evaluate | ( | string_ty * | , |
| string_ty * | , | ||
| string_ty * | , | ||
| struct stat * | |||
| ) | const [protected, virtual] |
Implements tree.
| const char* tree_constant::name | ( | ) | const [protected, virtual] |
Implements tree.
| tree_constant& tree_constant::operator= | ( | const tree_constant & | ) | [private] |
The assignment operator. Do not use.
| tree::pointer tree_constant::optimize | ( | ) | const [protected, virtual] |
Implements tree.
| void tree_constant::print | ( | ) | const [protected, virtual] |
Implements tree.
| bool tree_constant::useful | ( | ) | const [protected, virtual] |
Implements tree.
rpt_value::pointer tree_constant::value [private] |
The value instance variable is used to remember the value of this expression tree node.
Definition at line 85 of file constant.h.
1.7.6.1