コード例 #1
0
        public void Output(string directoryName, string fileNameWithoutExtension, CompileStatus status)
        {
            //the static initializer function has an if statement created so that the initializer runs once. Closing this if block
            ClassStaticInitializers.Values.ToList().ForEach(m => m.CloseBlock());
            var outputter = new JavaScriptCodeOutputter(ClassesLoaded, ClassInitializers, ClassStaticInitializers, GlobalInitializer, EntryPointClass, EntryPointFunctionName, GlobalNativeCodeSnippets);

            outputter.Output(directoryName, fileNameWithoutExtension, status);
        }
コード例 #2
0
 public void Output(string directoryName, string fileNameWithoutExtension, CompileStatus status)
 {
     //the static initializer function has an if statement created so that the initializer runs once. Closing this if block
     ClassStaticInitializers.Values.ToList().ForEach(m => m.CloseBlock());
     var outputter = new JavaScriptCodeOutputter(ClassesLoaded, ClassInitializers, ClassStaticInitializers, GlobalInitializer, EntryPointClass, EntryPointFunctionName, GlobalNativeCodeSnippets);
     outputter.Output(directoryName, fileNameWithoutExtension, status);
 }