UnityScript.Scripting.Evaluator.AdjustPipeline C# (CSharp) Method

AdjustPipeline() public static method

public static AdjustPipeline ( EvaluationContext context, CompilerPipeline pipeline ) : CompilerPipeline
context EvaluationContext
pipeline Boo.Lang.Compiler.CompilerPipeline
return Boo.Lang.Compiler.CompilerPipeline
        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;
        }