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

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

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

Usage Example

Пример #1
0
 public static CompilerPipeline AdjustPipeline(EvaluationContext context, CompilerPipeline pipeline)
 {
     pipeline.InsertAfter(typeof(IntroduceUnityGlobalNamespaces), new IntroduceScriptingNamespace(context));
     pipeline.InsertAfter(typeof(IntroduceScriptingNamespace), new IntroduceImports(context));
     pipeline.InsertAfter(typeof(ApplySemantics), new IntroduceEvaluationContext(context));
     pipeline.Replace(typeof(ProcessUnityScriptMethods), new ProcessScriptingMethods(context));
     pipeline.InsertAfter(typeof(ProcessScriptingMethods), new IntroduceReturnValue());
     return pipeline;
 }
All Usage Examples Of Boo.Lang.Compiler.CompilerPipeline::InsertAfter