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.jsmode, the JavaScript code string. - mode
-
CompilerOutputMode? modeMode indicates the type of this output
- podFile
-
File? podFileIf
CompilerOutputMode.podFilemode, the pod zip file written to disk. - transientPod
-
Pod? transientPodIf
CompilerOutputMode.transientPodmode, this is loaded pod.