Versions in this module Expand all Collapse all v0 v0.2.0 Nov 22, 2026 v0.1.0 Sep 6, 2026 Changes in this version + type Diagnostic struct + Code string + Message string + Notes []string + Path string + Span syntax.Span + func (diagnostic Diagnostic) Error() string + type Errors struct + Diagnostics []Diagnostic + func (failures *Errors) Error() string + type FileLoader struct + func (FileLoader) Load(importerPath, importPath string) (syntax.File, error) + type Options struct + Catalog *resolve.Catalog + ChannelDepth map[string]int + Loader SourceLoader + Lock resolve.Lock + ResolutionMode resolve.Mode + Revision uint64 + type Result struct + Graph ir.Graph + Lock resolve.Lock + func Compile(file syntax.File, options Options) (Result, error) + type SourceLoader interface + Load func(importerPath, importPath string) (syntax.File, error) + type SourceLoaderFunc func(importerPath, importPath string) (syntax.File, error) + func (function SourceLoaderFunc) Load(importerPath, importPath string) (syntax.File, error)