#include <streenamedlist.h>
Inheritance diagram for Quadary:
Public Member Functions | |
Quadary (string name, Node *statement1, Node *statement2, Node *statement3, Node *statement4) | |
Creates Quadary with given name and children. | |
Node * | getStatement1 () |
Returns the first child of the node. | |
Node * | getStatement2 () |
Returns the second child of the node. | |
Node * | getStatement3 () |
Returns the third child of the node. | |
Node * | getStatement4 () |
Returns the forth child of the node. | |
const Node * | getStatement1 () const |
Returns the first child of the node. | |
const Node * | getStatement2 () const |
Returns the second child of the node. | |
const Node * | getStatement3 () const |
Returns the third child of the node. | |
const Node * | getStatement4 () const |
Returns the forth child of the node. | |
virtual ostream & | php (ostream &os) const |
Writes node to the stream as php. | |
virtual Node * | copy () const |
Copies the node. |
Definition at line 93 of file streenamedlist.h.
|
Creates Quadary with given name and children.
Definition at line 92 of file streenamedlist.cpp. References List::push_back(). Referenced by copy(). |
|
Copies the node.
Reimplemented from List. Reimplemented in For, Foreach, and Function. Definition at line 117 of file streenamedlist.cpp. References List::getName(), getStatement1(), getStatement2(), getStatement3(), getStatement4(), and Quadary(). |
|
Returns the first child of the node.
Definition at line 105 of file streenamedlist.cpp. |
|
Returns the first child of the node.
Definition at line 100 of file streenamedlist.cpp. Referenced by copy(), Function::copy(), Foreach::copy(), For::copy(), php(), Function::php(), Foreach::php(), and For::php(). |
|
Returns the second child of the node.
Definition at line 106 of file streenamedlist.cpp. |
|
Returns the second child of the node.
Definition at line 101 of file streenamedlist.cpp. Referenced by copy(), Function::copy(), Foreach::copy(), For::copy(), php(), Function::php(), Foreach::php(), and For::php(). |
|
Returns the third child of the node.
Definition at line 107 of file streenamedlist.cpp. |
|
Returns the third child of the node.
Definition at line 102 of file streenamedlist.cpp. Referenced by copy(), Function::copy(), Foreach::copy(), For::copy(), php(), Function::php(), Foreach::php(), and For::php(). |
|
Returns the forth child of the node.
Definition at line 108 of file streenamedlist.cpp. |
|
Returns the forth child of the node.
Definition at line 103 of file streenamedlist.cpp. Referenced by copy(), Function::copy(), Foreach::copy(), For::copy(), php(), Function::php(), Foreach::php(), and For::php(). |
|
Writes node to the stream as php.
Reimplemented from List. Reimplemented in For, Foreach, and Function. Definition at line 110 of file streenamedlist.cpp. References List::getName(), getStatement1(), getStatement2(), getStatement3(), and getStatement4(). |