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

#include <tree.h>

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

List of all members.

Public Member Functions

 CallSubNode (const SourcePos &sourcePos, unsigned subroutineId)
 Constructor.
virtual void emit (PreLinkBytecode &bytecodes) const
 Generate bytecode.
virtual Nodeoptimize (std::wostream *dump)
 Optimize this node, return the optimized node.
virtual CallSubNodeshallowCopy ()
 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

Detailed Description

Node for L"callsub" no children

Definition at line 279 of file tree.h.


Member Function Documentation

virtual CallSubNode* Aseba::CallSubNode::shallowCopy ( ) [inline, virtual]

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

Implements Aseba::Node.

Definition at line 284 of file tree.h.

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

Return a string representation of the name of this node.

Implements Aseba::Node.

Definition at line 289 of file tree.h.


Member Data Documentation

the subroutine to call

Definition at line 281 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:17