Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diagnostic ¶
type Diagnostic struct {
File string // source file path
Line int // line number (0 if unknown)
Phase Phase // parse, validate, crosscheck
Level Level // error, warning
Message string // human-readable message
Ref *Loc // counterpart location (crosscheck only, nil otherwise)
}
Diagnostic represents a single diagnostic message from any phase.
Click to show internal directories.
Click to hide internal directories.