#include <stree.h>
Inheritance diagram for EncapsExpr:
Public Member Functions | |
EncapsExpr (string ebegin, Node *statement, string eend) | |
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 679 of file stree.h.
|
Constructor.
Definition at line 707 of file stree.cpp. References CEncapsExpr. Referenced by copy(). |
|
Copies the node.
Reimplemented from Ternary. Definition at line 714 of file stree.cpp. References EncapsExpr(), 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 720 of file stree.cpp. References Node::evaluate(), and Ternary::getStatement2(). |
|
Writes node to the stream as php.
Reimplemented from Ternary. Definition at line 709 of file stree.cpp. References Ternary::getStatement1(), Ternary::getStatement2(), and Ternary::getStatement3(). |