#include <EventGenerator.hpp>
Public Types | |
typedef RefCountPointer < EventGenerator > | Ptr |
Public Member Functions | |
virtual | ~EventGenerator () |
virtual EventGenerator::Ptr | generateEvents (EventHandler *events, DynamicContext *context)=0 |
Returns the result of this expression via the EventHandler provided. | |
Static Public Member Functions | |
static void | generateAndTailCall (const EventGenerator::Ptr &generator, EventHandler *events, DynamicContext *context) |
virtual EventGenerator::~EventGenerator | ( | ) | [inline, virtual] |
static void EventGenerator::generateAndTailCall | ( | const EventGenerator::Ptr & | generator, | |
EventHandler * | events, | |||
DynamicContext * | context | |||
) | [inline, static] |
References RefCountPointer< T >::notNull().
virtual EventGenerator::Ptr EventGenerator::generateEvents | ( | EventHandler * | events, | |
DynamicContext * | context | |||
) | [pure virtual] |
Returns the result of this expression via the EventHandler provided.
An EventGenerator may be returned to be called as a tail call optimization
Implemented in ASTNodeEventGenerator.