#include <tree.h>
Public Member Functions | |
CallSubNode (const SourcePos &sourcePos, unsigned subroutineId) | |
Constructor. | |
virtual void | emit (PreLinkBytecode &bytecodes) const |
Generate bytecode. | |
virtual Node * | optimize (std::wostream *dump) |
Optimize this node, return the optimized node. | |
virtual CallSubNode * | 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. | |
Public Attributes | |
unsigned | subroutineId |
the subroutine to call |
virtual CallSubNode* Aseba::CallSubNode::shallowCopy | ( | ) | [inline, virtual] |
Return a shallow copy of the object (children point to the same objects)
Implements Aseba::Node.
virtual std::wstring Aseba::CallSubNode::toNodeName | ( | ) | const [inline, virtual] |
Return a string representation of the name of this node.
Implements Aseba::Node.
unsigned Aseba::CallSubNode::subroutineId |