Xreate
The Xreate programming language
Public Member Functions | List of all members
IPass Class Referenceabstract

Interface for all passes to inherit. xreate::PassManager holds a collection of passes to execute. More...

#include <abstractpass.h>

Detailed Description

Interface for all passes to inherit. xreate::PassManager holds a collection of passes to execute.

An each pass has to have IPass interface to be controllable by XreateManager. However in most cases users should inherit minimal useful implementation xreate::AbstractPass

Note
It's usually expected that a custom pass publishes processing results by one of the following means:
See also
xreate::XreateManager, xreate::AbstractPass
Inheritance diagram for IPass:
AbstractPass< InterpretationResolution > AbstractPass< std::list< Symbol > > AbstractPass< SymbolNode > AbstractPass< void > AbstractPass< Output > InterpretationPass VersionsPass DFAPass CFAPass CFATemporalSeqPass CompilePass LateReasoningDFAPassDecorator< Parent > CompilePassCustomDecorators< FUNCTION_DECORATOR, SCOPE_DECORATOR >

Public Member Functions

virtual void run ()=0
 Executes pass.
 
virtual void finish ()
 Finalizes pass. Empty by default.
 

The documentation for this class was generated from the following files: