class
compiler::WritePod
sys::Obj compiler::CompilerSupport compiler::CompilerStep compiler::WritePod
WritePod writes the FPod to a zip file.
Slots
-
private FacetDef[] computeIndexedFacets(FacetDef[]? all, Str[] list, Str:Int map)
-
private Location? location
- 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)
Pod fandoc follows same format as type apidocs except qname is "{podName}::pod" and symbols are "{podName}::pod.{symbol}".
-
private Void writeRes(Zip zip, File file, Uri? path := null)
-
private Void writeTypeDbType(OutStream out, TypeDef t, Str:Int facetNames)
-
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.