
1 // 2 // Copyright (c) 2006, Brian Frank and Andy Frank 3 // Licensed under the Academic Free License version 3.0 4 // 5 // History: 6 // 4 Nov 06 Brian Frank Creation 7 // 8 9 ** 10 ** CompilerOutput encapsulates the result of a compile. The compiler 11 ** can output in two modes - transientPod or podFile. In transient pod 12 ** mode we simply compile to an in-memory pod. In podFile mode we 13 ** compile a pod file to the file system, but don't automatically 14 ** load it. 15 ** 16 class CompilerOutput 17 { 18 19 ** 20 ** Mode indicates the type of this output - either a 21 ** transient pod or a pod file. 22 ** 23 CompilerOutputMode mode 24 25 ** 26 ** If transientPod mode, this is loaded pod. 27 ** 28 Pod transientPod 29 30 ** 31 ** If podFile mode, this is the pod zip file written to disk. 32 ** 33 File podFile 34 } 35 36 ************************************************************************** 37 ** CompilerOutputMode 38 ************************************************************************** 39 40 ** 41 ** Input source from the file system 42 ** 43 enum CompilerOutputMode 44 { 45 transientPod, 46 podFile 47 } 48