Documentation
¶
Overview ¶
Package source contains stable source-location types shared between the AST (internal) and the public error surface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatCodeFrame ¶
FormatCodeFrame returns a human-readable source snippet highlighting the column at the given position. It returns the empty string when no useful frame can be produced (missing source, out-of-range line, etc.).
Types ¶
Click to show internal directories.
Click to hide internal directories.