C# Class Boo.Lang.Compiler.CompilerPipeline

A ordered set of ICompilerStep implementations that should be executed in sequence.
Datei anzeigen Open project: boo/boo-lang Class Usage Examples

Protected Properties

Property Type Description
_breakOnErrors bool
_items Boo.Lang.List

Public Methods

Method Description
Add ( ICompilerStep step ) : CompilerPipeline
Clear ( ) : void
CompilerPipeline ( ) : System
Find ( Type stepExactType ) : int
Get ( Type stepExactType ) : ICompilerStep
GetPipeline ( string name ) : CompilerPipeline
Insert ( int index, ICompilerStep step ) : CompilerPipeline
InsertAfter ( Type stepExactType, ICompilerStep step ) : CompilerPipeline
InsertBefore ( Type stepExactType, ICompilerStep step ) : CompilerPipeline
RemoveAt ( int index ) : CompilerPipeline
Replace ( Type stepExactType, ICompilerStep step ) : CompilerPipeline
Run ( CompilerContext context ) : void
this ( int index ) : ICompilerStep

Protected Methods

Method Description
DoRun ( CompilerContext context ) : void
OnAfter ( CompilerContext context ) : void
OnAfterStep ( CompilerContext context, ICompilerStep step ) : void
OnBefore ( CompilerContext context ) : void
OnBeforeStep ( CompilerContext context, ICompilerStep step ) : void
Prepare ( CompilerContext context ) : void
RunStep ( CompilerContext context, ICompilerStep step ) : void

Private Methods

Method Description
AssemblySimpleNameFromFullTypeName ( string name ) : string
DisposeSteps ( ) : void
FindLoadedAssembly ( string assemblyName ) : Assembly
FindPipelineType ( string typeName ) : Type
LoadCustomPipeline ( string typeName ) : CompilerPipeline
RunSteps ( CompilerContext context ) : void
SimpleTypeNameFromFullTypeName ( string name ) : string

Method Details

Add() public method

public Add ( ICompilerStep step ) : CompilerPipeline
step ICompilerStep
return CompilerPipeline

Clear() public method

public Clear ( ) : void
return void

CompilerPipeline() public method

public CompilerPipeline ( ) : System
return System

DoRun() protected method

protected DoRun ( CompilerContext context ) : void
context CompilerContext
return void

Find() public method

public Find ( Type stepExactType ) : int
stepExactType System.Type
return int

Get() public method

public Get ( Type stepExactType ) : ICompilerStep
stepExactType System.Type
return ICompilerStep

GetPipeline() public static method

public static GetPipeline ( string name ) : CompilerPipeline
name string
return CompilerPipeline

Insert() public method

public Insert ( int index, ICompilerStep step ) : CompilerPipeline
index int
step ICompilerStep
return CompilerPipeline

InsertAfter() public method

public InsertAfter ( Type stepExactType, ICompilerStep step ) : CompilerPipeline
stepExactType System.Type
step ICompilerStep
return CompilerPipeline

InsertBefore() public method

public InsertBefore ( Type stepExactType, ICompilerStep step ) : CompilerPipeline
stepExactType System.Type
step ICompilerStep
return CompilerPipeline

OnAfter() protected method

protected OnAfter ( CompilerContext context ) : void
context CompilerContext
return void

OnAfterStep() protected method

protected OnAfterStep ( CompilerContext context, ICompilerStep step ) : void
context CompilerContext
step ICompilerStep
return void

OnBefore() protected method

protected OnBefore ( CompilerContext context ) : void
context CompilerContext
return void

OnBeforeStep() protected method

protected OnBeforeStep ( CompilerContext context, ICompilerStep step ) : void
context CompilerContext
step ICompilerStep
return void

Prepare() protected method

protected Prepare ( CompilerContext context ) : void
context CompilerContext
return void

RemoveAt() public method

public RemoveAt ( int index ) : CompilerPipeline
index int
return CompilerPipeline

Replace() public method

public Replace ( Type stepExactType, ICompilerStep step ) : CompilerPipeline
stepExactType System.Type
step ICompilerStep
return CompilerPipeline

Run() public method

public Run ( CompilerContext context ) : void
context CompilerContext
return void

RunStep() protected method

protected RunStep ( CompilerContext context, ICompilerStep step ) : void
context CompilerContext
step ICompilerStep
return void

this() public method

public this ( int index ) : ICompilerStep
index int
return ICompilerStep

Property Details

_breakOnErrors protected_oe property

protected bool _breakOnErrors
return bool

_items protected_oe property

protected Boo.Lang.List _items
return Boo.Lang.List