Documentation
¶
Overview ¶
Package diagnosticsource supplies evaluated inline text and library-confined file contents to the CLI and REPL diagnostic renderers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SourceReader ¶
SourceReader returns a diagnostic source callback using the active runtime. Inline labels prefer retained text; all file reads go through the library. A missing or refusing library never falls back to the host filesystem.
Types ¶
type Reader ¶
Reader retains up to 4 MiB of inline sources by display label, evicting oldest entries first. Physical sources continue through the underlying reader and are retrieved through the active library. Like the runtime reader it wraps, it is used by one evaluation at a time.
Click to show internal directories.
Click to hide internal directories.