Node for "block", i.e. a vector of statements. More...
#include <tree.h>

Public Member Functions | |
| BlockNode (const SourcePos &sourcePos) | |
| Constructor. | |
| virtual void | emit (PreLinkBytecode &bytecodes) const |
| Generate bytecode. | |
| virtual Node * | optimize (std::ostream *dump) |
| Optimize this node, return the optimized node. | |
| 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 "block", i.e. a vector of statements.
Definition at line 90 of file tree.h.
| Aseba::BlockNode::BlockNode | ( | const SourcePos & | sourcePos | ) | [inline] |
| virtual std::string Aseba::BlockNode::toNodeName | ( | ) | const [inline, virtual] |
Return a string representation of the name of this node.
Implements Aseba::Node.
Reimplemented in Aseba::ProgramNode.
| virtual std::string Aseba::BlockNode::toString | ( | ) | const [inline, virtual] |
Return a string representation of this node.
Implements Aseba::Node.
Reimplemented in Aseba::ProgramNode.