Boo.Lang.Compiler.CompilerPipeline.InsertBefore C# (CSharp) Метод

InsertBefore() публичный Метод

public InsertBefore ( Type stepExactType, ICompilerStep step ) : CompilerPipeline
stepExactType System.Type
step ICompilerStep
Результат CompilerPipeline
        public CompilerPipeline InsertBefore(Type stepExactType, ICompilerStep step)
        {
            return Insert(Find(stepExactType)-1, step);
        }

Usage Example

Пример #1
0
 protected override void CustomizeCompiler(BooCompiler compiler, CompilerPipeline pipeline, string[] urls)
 {
     pipeline.Insert(1, new ImplicitBaseClassCompilerStep(typeof(BooConfigReader), "Prepare", "Horn.Core.Dsl"));
     pipeline.InsertBefore(typeof(ProcessMethodBodiesWithDuckTyping), new RightShiftToMethodCompilerStep());
     pipeline.Insert(2, new UnderscorNamingConventionsToPascalCaseCompilerStep());
     pipeline.Insert(3, new UseSymbolsStep());
 }
All Usage Examples Of Boo.Lang.Compiler.CompilerPipeline::InsertBefore