#include <stree.h>
Inheritance diagram for AskOperator:
Public Member Functions | |
AskOperator (Node *statement1, Node *statement2, Node *statement3) | |
Constructor. | |
virtual ostream & | php (ostream &os) const |
Writes node to the stream as php. | |
virtual Node * | copy () const |
Copies the node. | |
virtual string | evaluate (const NameSpace &nameSpace) const |
Computes the value of the expression (only basic atihmetic and string operations). |
Definition at line 692 of file stree.h.
|
Constructor.
Definition at line 725 of file stree.cpp. References CAskOperator. Referenced by copy(). |
|
Copies the node.
Reimplemented from Ternary. Definition at line 733 of file stree.cpp. References AskOperator(), Ternary::getStatement1(), Ternary::getStatement2(), and Ternary::getStatement3(). |
|
Computes the value of the expression (only basic atihmetic and string operations).
Reimplemented from List. Definition at line 737 of file stree.cpp. References Node::evaluate(), Ternary::getStatement1(), Ternary::getStatement2(), and Ternary::getStatement3(). |
|
Writes node to the stream as php.
Reimplemented from Ternary. Definition at line 728 of file stree.cpp. References Ternary::getStatement1(), Ternary::getStatement2(), and Ternary::getStatement3(). |