Node for L"program", i.e. a block node with some special behaviour later on. More...
#include <tree.h>
Public Member Functions | |
virtual void | emit (PreLinkBytecode &bytecodes) const |
Generate bytecode. | |
ProgramNode (const SourcePos &sourcePos) | |
Constructor. | |
virtual ProgramNode * | 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. |
Node for L"program", i.e. a block node with some special behaviour later on.
Aseba::ProgramNode::ProgramNode | ( | const SourcePos & | sourcePos | ) | [inline] |
virtual ProgramNode* Aseba::ProgramNode::shallowCopy | ( | ) | [inline, virtual] |
Return a shallow copy of the object (children point to the same objects)
Reimplemented from Aseba::BlockNode.
virtual std::wstring Aseba::ProgramNode::toNodeName | ( | ) | const [inline, virtual] |
Return a string representation of the name of this node.
Reimplemented from Aseba::BlockNode.
virtual std::wstring Aseba::ProgramNode::toWString | ( | ) | const [inline, virtual] |
Return a string representation of this node.
Reimplemented from Aseba::BlockNode.