Node for "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 std::string | toNodeName () const |
Return a string representation of the name of this node. | |
virtual std::string | toString () const |
Return a string representation of this node. |
Node for "program", i.e. a block node with some special behaviour later on.
Definition at line 102 of file tree.h.
Aseba::ProgramNode::ProgramNode | ( | const SourcePos & | sourcePos | ) | [inline] |
virtual std::string Aseba::ProgramNode::toNodeName | ( | ) | const [inline, virtual] |
Return a string representation of the name of this node.
Reimplemented from Aseba::BlockNode.
virtual std::string Aseba::ProgramNode::toString | ( | ) | const [inline, virtual] |
Return a string representation of this node.
Reimplemented from Aseba::BlockNode.