#include <tree.h>
Public Member Functions | |
virtual Node * | expandToAsebaTree (std::wostream *dump, unsigned int index=0) |
Second pass to expand "abstract" nodes into more concrete ones. | |
virtual UnaryArithmeticAssignmentNode * | shallowCopy () |
Return a shallow copy of the object (children point to the same objects) | |
virtual std::wstring | toNodeName () const |
Return a string representation of the name of this node. | |
virtual std::wstring | toWString () const |
Return a string representation of this node. | |
UnaryArithmeticAssignmentNode (const SourcePos &sourcePos, Compiler::Token::Type token, Node *memory) | |
Constructor. | |
Public Attributes | |
AsebaBinaryOperator | arithmeticOp |
operator |
Node for operations like "vector(op)", may be ++ or -- Will expand to "vector (op)= [1,...,1]" children[0] is a MemoryVectorNode
Node * Aseba::UnaryArithmeticAssignmentNode::expandToAsebaTree | ( | std::wostream * | dump, |
unsigned int | index = 0 |
||
) | [virtual] |
Second pass to expand "abstract" nodes into more concrete ones.
Reimplemented from Aseba::Node.
Definition at line 163 of file tree-expand.cpp.
virtual UnaryArithmeticAssignmentNode* Aseba::UnaryArithmeticAssignmentNode::shallowCopy | ( | ) | [inline, virtual] |
Return a shallow copy of the object (children point to the same objects)
Implements Aseba::Node.
virtual std::wstring Aseba::UnaryArithmeticAssignmentNode::toNodeName | ( | ) | const [inline, virtual] |
Return a string representation of the name of this node.
Implements Aseba::Node.