Documentation
¶
Overview ¶
Package formatter renders syntax-valid Neva source into its canonical layout.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Format ¶
Format parses and formats one Neva source file. Invalid source is never formatted; the returned compiler error contains the parser diagnostic.
func FormatParsed ¶
func FormatParsed(parsed parser.ParsedSource) []byte
FormatParsed renders syntax-valid parsed source. It has no dependency on module resolution, analysis, desugaring, or code generation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.