Public Member Functions
Aseba::BlockNode Struct Reference

Node for L"block", i.e. a vector of statements. More...

#include <tree.h>

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

List of all members.

Public Member Functions

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

Detailed Description

Node for L"block", i.e. a vector of statements.

Definition at line 103 of file tree.h.


Constructor & Destructor Documentation

Aseba::BlockNode::BlockNode ( const SourcePos sourcePos) [inline]

Constructor.

Definition at line 106 of file tree.h.


Member Function Documentation

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

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

Implements Aseba::Node.

Reimplemented in Aseba::ProgramNode.

Definition at line 107 of file tree.h.

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

Return a string representation of the name of this node.

Implements Aseba::Node.

Reimplemented in Aseba::ProgramNode.

Definition at line 112 of file tree.h.

virtual std::wstring Aseba::BlockNode::toWString ( ) const [inline, virtual]

Return a string representation of this node.

Implements Aseba::Node.

Reimplemented in Aseba::ProgramNode.

Definition at line 111 of file tree.h.


The documentation for this struct was generated from the following files:


aseba
Author(s): Stéphane Magnenat
autogenerated on Sun Oct 5 2014 23:46:39