#include <stree.h>
Inheritance diagram for SmartyAssign:
Public Member Functions | |
SmartyAssign (Node *statement1, Node *statement2) | |
Constructor. | |
SmartyAssign (Node *statement1, Node *statement2, string iphpOut) | |
Constructor. | |
virtual ostream & | php (ostream &os) const |
Writes node to the stream as php. | |
const Node * | getVariable () const |
Returns variable. | |
const Node * | getAssignment () const |
Return value assigned. | |
void | setPHPOut (string iphpOut) |
Sets SmartyAssign::phpOut. | |
virtual Node * | copy () const |
Copies the node. | |
Private Attributes | |
string | phpOut |
A php output string. |
The meaning of arguments is as follows:
Definition at line 415 of file stree.h.
|
Constructor.
Definition at line 399 of file stree.cpp. References CSmartyAssign. Referenced by copy(). |
|
Constructor.
Definition at line 402 of file stree.cpp. References CSmartyAssign. |
|
Copies the node.
Reimplemented from Binary. Definition at line 422 of file stree.cpp. References Binary::getStatement1(), Binary::getStatement2(), phpOut, and SmartyAssign(). |
|
Return value assigned.
Definition at line 414 of file stree.cpp. References Binary::getStatement2(). Referenced by NamedContext::processSmartyAssign(), and MultiContext::processSmartyAssign(). |
|
Returns variable.
Definition at line 410 of file stree.cpp. References Binary::getStatement1(). Referenced by NamedContext::processSmartyAssign(), and MultiContext::processSmartyAssign(). |
|
Writes node to the stream as php.
Reimplemented from Binary. Definition at line 405 of file stree.cpp. References phpOut. |
|
Sets SmartyAssign::phpOut.
Definition at line 418 of file stree.cpp. References phpOut. Referenced by NamedContext::processSmartyAssign(), and MultiContext::processSmartyAssign(). |
|
A php output string.
Definition at line 417 of file stree.h. Referenced by copy(), php(), and setPHPOut(). |