#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::ostream *dump) |
| Optimize this node, return the optimized node. | |
| virtual std::string | toNodeName () const |
| Return a string representation of the name of this node. | |
| virtual std::string | toString () const |
| Return a string representation of this node. | |
Public Attributes | |
| unsigned | eventId |
| the event id associated with this context | |
Node for "onevent" no children
Definition at line 201 of file tree.h.
| virtual std::string Aseba::EventDeclNode::toNodeName | ( | ) | const [inline, virtual] |
Return a string representation of the name of this node.
Implements Aseba::Node.
| unsigned Aseba::EventDeclNode::eventId |