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

#include <tree.h>

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

List of all members.

Public Member Functions

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

Public Attributes

unsigned eventId
 the event id associated with this context

Detailed Description

Node for L"onevent" no children

Definition at line 228 of file tree.h.


Member Function Documentation

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

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

Implements Aseba::Node.

Definition at line 233 of file tree.h.

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

Return a string representation of the name of this node.

Implements Aseba::Node.

Definition at line 239 of file tree.h.

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

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

Reimplemented from Aseba::Node.

Definition at line 235 of file tree.h.


Member Data Documentation

the event id associated with this context

Definition at line 230 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:17