class
compiler::WritePod
sys::Obj compiler::CompilerSupport compiler::CompilerStep compiler::WritePod
WritePod writes the FPod to a zip file.
Slots
-
private Loc? loc
- makeSource
-
new make(Compiler compiler)
-
private FacetDef[] noFacets := FacetDef[,].ro
- runSource
-
override Void run()
Overrides compiler::CompilerStep.run
Not used, use write instead
- writeSource
-
File write()
Run the step and return pod file written
-
static private Void writeDoc(OutStream out, Str key, DefNode node)
-
private Void writePodDoc(Zip zip)
If there is a pod.fandoc as peer to build.fan then copy it into doc/pod.fandoc
-
private Void writeRes(Zip zip, File file, Uri? path := null)
-
private Void writeTypeDoc(Zip zip, TypeDef t)
FDoc is used to read/write a fandoc text file. The fandoc file format is an extremely simple plan text format with left justified type/slot qnames, followed by the fandoc content indented two spaces. Addiontal type/slot meta-data is prefixed as "@name=value" lines.