Documentation
¶
Overview ¶
Package formatter implements a deterministic, comment-preserving TypeRB printer. Parsing happens first; the printer then uses the lossless token stream so comments, strings, percent literals, and heredocs are never lost.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Format ¶
func Format(source []byte) ([]byte, []diagnostic.Diagnostic)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.