CompilerOutput encapsulates the result of a compile. The compiler can output in two modes - transientPod or podFile. In transient pod mode we simply compile to an in-memory pod. In podFile mode we compile a pod file to the file system, but don't automatically load it.
Slots
- modeSource
-
CompilerOutputMode? mode
Mode indicates the type of this output - either a transient pod or a pod file.
- podFileSource
-
File? podFile
If podFile mode, this is the pod zip file written to disk.
- strSource
-
Str? str
If str mode, this is the output string (not used by Fan compiler, but used by Javascript)
- transientPodSource
-
Pod? transientPod
If transientPod mode, this is loaded pod.