$search
#include <tree.h>

Public Member Functions | |
| virtual void | emit (PreLinkBytecode &bytecodes) const |
| Generate bytecode. | |
| EventDeclNode (const SourcePos &sourcePos, unsigned eventId=0) | |
| Constructor. | |
| virtual Node * | optimize (std::wostream *dump) |
| Optimize this node, return the optimized node. | |
| virtual EventDeclNode * | shallowCopy () |
| 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 | |
Node for L"onevent" no children
Definition at line 228 of file tree.h.
| virtual EventDeclNode* Aseba::EventDeclNode::shallowCopy | ( | ) | [inline, virtual] |
Return a shallow copy of the object (children point to the same objects).
Implements Aseba::Node.
| virtual std::wstring Aseba::EventDeclNode::toNodeName | ( | ) | const [inline, virtual] |
Return a string representation of the name of this node.
Implements Aseba::Node.
| virtual ReturnType Aseba::EventDeclNode::typeCheck | ( | ) | const [inline, virtual] |
Typecheck this node, throw an exception if there is any type violation.
Reimplemented from Aseba::Node.
| unsigned Aseba::EventDeclNode::eventId |