#include <stree.h>
Inheritance diagram for ConstantString:
Public Member Functions | |
ConstantString (Node *statement) | |
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 845 of file stree.h.
|
Constructor.
Definition at line 884 of file stree.cpp. References CConstantString. Referenced by copy(). |
|
Copies the node.
Reimplemented from Unary. Definition at line 891 of file stree.cpp. References ConstantString(), and Unary::getStatement1(). |
|
Computes the value of the expression (only basic atihmetic and string operations).
Reimplemented from List. Definition at line 895 of file stree.cpp. References Node::evaluate(), and Unary::getStatement1(). |
|
Writes node to the stream as php.
Reimplemented from Unary. Definition at line 886 of file stree.cpp. References Unary::getStatement1(). |