Public Member Functions
Aseba::WhileNode Struct Reference

#include <tree.h>

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

List of all members.

Public Member Functions

virtual void checkVectorSize () const
 Check the consistency in vectors' size.
virtual void emit (PreLinkBytecode &bytecodes) const
 Generate bytecode.
virtual Nodeoptimize (std::wostream *dump)
 Optimize this node, return the optimized node.
virtual WhileNodeshallowCopy ()
 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.
virtual ReturnType typeCheck () const
 Typecheck this node, throw an exception if there is any type violation.
 WhileNode (const SourcePos &sourcePos)
 Constructor.

Detailed Description

Node for L"while". children[0] is expression children[1] is block

Definition at line 192 of file tree.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 195 of file tree.h.


Member Function Documentation

void Aseba::WhileNode::checkVectorSize ( ) const [virtual]

Check the consistency in vectors' size.

Reimplemented from Aseba::Node.

Definition at line 254 of file tree-expand.cpp.

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

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

Implements Aseba::Node.

Definition at line 196 of file tree.h.

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

Return a string representation of the name of this node.

Implements Aseba::Node.

Definition at line 203 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:18