|
Aegis
4.25.D505
|
#include <logical.h>
Public Member Functions | |
| virtual | ~tree_triadic () |
Static Public Member Functions | |
| static pointer | create (const pointer &a1, const pointer &a2, const pointer &a3) |
Protected Member Functions | |
| const char * | name () const |
| rpt_value::pointer | evaluate (string_ty *, string_ty *, string_ty *, struct stat *) const |
| tree::pointer | optimize () const |
| void | print () const |
| bool | useful () const |
| bool | constant () const |
Private Member Functions | |
| tree_triadic (const pointer &a1, const pointer &a2, const pointer &a3) | |
| tree_triadic () | |
| tree_triadic (const tree_triadic &) | |
| tree_triadic & | operator= (const tree_triadic &) |
Private Attributes | |
| tree::pointer | a1 |
| tree::pointer | a2 |
| tree::pointer | a3 |
The tree_triadic class is used to represent an expression tree which performs a (a ? b : c) operation.
| virtual tree_triadic::~tree_triadic | ( | ) | [virtual] |
The destructor.
| tree_triadic::tree_triadic | ( | const pointer & | a1, |
| const pointer & | a2, | ||
| const pointer & | a3 | ||
| ) | [private] |
The constructor. It is private on purpose, use the "create" clas smethod instead.
| a1 | The first argument to this function. |
| a2 | The second argument to this function. |
| a3 | The third argument to this function. |
| tree_triadic::tree_triadic | ( | ) | [private] |
The default constructor. Do not use.
| tree_triadic::tree_triadic | ( | const tree_triadic & | ) | [private] |
The copy constructor. Do not use.
| bool tree_triadic::constant | ( | ) | const [protected, virtual] |
Implements tree.
| static pointer tree_triadic::create | ( | const pointer & | a1, |
| const pointer & | a2, | ||
| const pointer & | a3 | ||
| ) | [static] |
The create class method is used to create new dynamically allocated instance of this class.
| a1 | The first argument to this function. |
| a2 | The second argument to this function. |
| a3 | The third argument to this function. |
| rpt_value::pointer tree_triadic::evaluate | ( | string_ty * | , |
| string_ty * | , | ||
| string_ty * | , | ||
| struct stat * | |||
| ) | const [protected, virtual] |
Implements tree.
| const char* tree_triadic::name | ( | ) | const [protected, virtual] |
Implements tree.
| tree_triadic& tree_triadic::operator= | ( | const tree_triadic & | ) | [private] |
The assignment operator. Do not use.
| tree::pointer tree_triadic::optimize | ( | ) | const [protected, virtual] |
Implements tree.
| void tree_triadic::print | ( | ) | const [protected, virtual] |
Implements tree.
| bool tree_triadic::useful | ( | ) | const [protected, virtual] |
Implements tree.
tree::pointer tree_triadic::a1 [private] |
tree::pointer tree_triadic::a2 [private] |
tree::pointer tree_triadic::a3 [private] |
1.7.6.1