MCPcopy
hub / github.com/hashicorp/hcl / DiagnosticWriter

Interface DiagnosticWriter

diagnostic.go:165–168  ·  diagnostic.go::DiagnosticWriter

A DiagnosticWriter emits diagnostics somehow.

Source from the content-addressed store, hash-verified

163
164// A DiagnosticWriter emits diagnostics somehow.
165type DiagnosticWriter interface {
166 WriteDiagnostic(*Diagnostic) error
167 WriteDiagnostics(Diagnostics) error
168}
169
170// DiagnosticExtraUnwrapper is an interface implemented by values in the
171// Extra field of Diagnostic when they are wrapping another "Extra" value that

Callers 4

TestDiagnosticTextWriterFunction · 0.65
realMainFunction · 0.65
processFileFunction · 0.65
realmainFunction · 0.65

Implementers 2

diagnosticTextWriterdiagnostic_text.go
jsonDiagWritercmd/hcldec/diags_json.go

Calls

no outgoing calls

Tested by

no test coverage detected