class compiler::CompilerOutput
sys::Obj compiler::CompilerOutput
CompilerOutput encapsulates the result of a compile. The compiler can output in three modes:
transientPod: compiles to an in-memory podpodFile: compile a pod file to the file system, but don't automatically load it.js: runs through frontend of compiler to build AST and generates JavaScript code (doesn't perform any backend fcode or pod generation)
- cjs
-
Str? cjs - esm
-
Str? esm - js
-
Str? jsIf CompilerOutputMode.js mode, the JavaScript code string.
- mode
-
CompilerOutputMode? modeMode indicates the type of this output
- podFile
-
File? podFileIf CompilerOutputMode.podFile mode, the pod zip file written to disk.
- transientPod
-
Pod? transientPodIf CompilerOutputMode.transientPod mode, this is loaded pod.