#include <stree.h>
Inheritance diagram for PostUnaryOperator:
Public Member Functions | |
PostUnaryOperator (string oname, Node *statement2) | |
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). |
The name of the operator is given by oname.
Definition at line 638 of file stree.h.
|
Constructor.
Definition at line 624 of file stree.cpp. References CPostUnaryOperator. Referenced by copy(). |
|
Copies the node.
Reimplemented from Binary. Definition at line 632 of file stree.cpp. References Binary::getStatement1(), Binary::getStatement2(), and PostUnaryOperator(). |
|
Computes the value of the expression (only basic atihmetic and string operations).
Reimplemented from List. Definition at line 636 of file stree.cpp. References Binary::getStatement1(), Binary::getStatement2(), intToString(), and stringToInt(). |
|
Writes node to the stream as php.
Reimplemented from Binary. Definition at line 627 of file stree.cpp. References Binary::getStatement1(), and Binary::getStatement2(). |