Versions in this module Expand all Collapse all v0 v0.13.0 Aug 20, 2026 Changes in this version + func Compile(config gowdk.Config, sources gwdkanalysis.Sources, options Options) (Snapshot, Diagnostics, error) + func CompileContext(ctx context.Context, config gowdk.Config, sources gwdkanalysis.Sources, ...) (Snapshot, Diagnostics, error) + func Program(snapshot Snapshot) gwdkir.Program + type Diagnostic struct + Code string + Column int + Line int + Message string + Related []source.RelatedSpan + Severity string + Source string + Span source.SourceSpan + Stage string + type Diagnostics []Diagnostic + func (items Diagnostics) Error() string + func (items Diagnostics) HasErrors() bool + type Mode uint8 + const ProjectMode + const SourceMode + type Options struct + Mode Mode + ProjectRoot string + ScanContracts bool + type Snapshot struct + Analyzed compiler.AnalyzedProgram + Contracts contractscan.Report + Validated compiler.ValidatedProgram