Versions in this module Expand all Collapse all v0 v0.0.1 Dec 11, 2023 Changes in this version + const SeverityError + const SeverityFatal + const SeverityUnspecified + const SeverityWarning + type CompilerOutputParserCB func(cmdline []string, out []byte) + type Context struct + Column int + File string + Line int + Message string + func (d *Context) ToRPC() *rpc.CompileDiagnosticContext + type DetectedCompiler struct + DetailedVersion []string + Family string + Name string + Version *semver.Version + func DetectCompilerFromCommandLine(args []string, probeCompiler bool) *DetectedCompiler + type Diagnostic struct + Column int + Context FullContext + File string + Line int + Message string + Severity Severity + Suggestions Notes + func ParseCompilerOutput(compiler *DetectedCompiler, out []byte) ([]*Diagnostic, error) + func (d *Diagnostic) ToRPC() *rpc.CompileDiagnostic + type Diagnostics []*Diagnostic + func (d Diagnostics) ToRPC() []*rpc.CompileDiagnostic + type FullContext []*Context + func (t FullContext) ToRPC() []*rpc.CompileDiagnosticContext + type Note struct + Column int + File string + Line int + Message string + func (s *Note) ToRPC() *rpc.CompileDiagnosticNote + type Notes []*Note + func (s Notes) ToRPC() []*rpc.CompileDiagnosticNote + type Severity string