#include <streenamedlist.h>
Inheritance diagram for Unary:
Public Member Functions | |
Unary (string name, Node *statement) | |
Creates Unary with given name and child. | |
Node * | getStatement1 () |
Returns the child of the node. | |
const Node * | getStatement1 () const |
Returns the 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 28 of file streenamedlist.h.
|
Creates Unary with given name and child.
Definition at line 19 of file streenamedlist.cpp. References List::push_back(). Referenced by copy(). |
|
Copies the node.
Reimplemented from List. Reimplemented in PHP, EchoPHP, CurlyBraces, SmartyBraces, DoubleQuote, Break, Continue, Return, Global, Static, Echo, Template, InlineHTML, Expression, Unset, Use, ClassVariable, AList, Exit, Print, Array, Isset, ConstantEncapsedString, ConstantString, and PHPVariable. Definition at line 37 of file streenamedlist.cpp. References List::getName(), getStatement1(), and Unary(). |
|
Returns the child of the node.
Definition at line 27 of file streenamedlist.cpp. |
|
|
Writes node to the stream as php.
Reimplemented from List. Reimplemented in PHP, EchoPHP, CurlyBraces, SmartyBraces, DoubleQuote, Break, Continue, Return, Global, Static, Echo, Template, InlineHTML, Expression, Unset, Use, ClassVariable, AList, Exit, Print, Array, Isset, ConstantEncapsedString, ConstantString, and PHPVariable. Definition at line 32 of file streenamedlist.cpp. References List::getName(), and getStatement1(). |