Public Member Functions | Public Attributes
Aseba::SubDeclNode Struct Reference

#include <tree.h>

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

List of all members.

Public Member Functions

virtual void emit (PreLinkBytecode &bytecodes) const
 Generate bytecode.
virtual Nodeoptimize (std::wostream *dump)
 Optimize this node, return the optimized node.
virtual SubDeclNodeshallowCopy ()
 Return a shallow copy of the object (children point to the same objects)
 SubDeclNode (const SourcePos &sourcePos, unsigned subroutineId)
 Constructor.
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.

Public Attributes

unsigned subroutineId
 the associated subroutine

Detailed Description

Node for L"sub" no children

Definition at line 263 of file tree.h.


Member Function Documentation

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

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

Implements Aseba::Node.

Definition at line 268 of file tree.h.

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

Return a string representation of the name of this node.

Implements Aseba::Node.

Definition at line 274 of file tree.h.

virtual ReturnType Aseba::SubDeclNode::typeCheck ( ) const [inline, virtual]

Typecheck this node, throw an exception if there is any type violation.

Reimplemented from Aseba::Node.

Definition at line 270 of file tree.h.


Member Data Documentation

the associated subroutine

Definition at line 265 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:40