Public Member Functions | Public Attributes
Aseba::UnaryArithmeticAssignmentNode Struct Reference

#include <tree.h>

Inheritance diagram for Aseba::UnaryArithmeticAssignmentNode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual NodeexpandToAsebaTree (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

Detailed Description

Node for operations like "vector(op)", may be ++ or -- Will expand to "vector (op)= [1,...,1]" children[0] is a MemoryVectorNode

Definition at line 572 of file tree.h.


Member Function Documentation

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.

Return a shallow copy of the object (children point to the same objects)

Implements Aseba::Node.

Definition at line 578 of file tree.h.

virtual std::wstring Aseba::UnaryArithmeticAssignmentNode::toNodeName ( ) const [inline, virtual]

Return a string representation of the name of this node.

Implements Aseba::Node.

Definition at line 582 of file tree.h.


Member Data Documentation

operator

Definition at line 574 of file tree.h.


The documentation for this struct was generated from the following files:


aseba
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:18