# Functions
Enabled returns whether optimization logging is enabled.
FlushLoggedOpts flushes all the accumulated optimization log entries.
LogJsonOption parses and validates the version,directory value attached to the -json compiler flag.
LogOpt logs information about a (usually missed) optimization performed by the compiler.
LogOptRange is the same as LogOpt, but includes the ability to express a range of positions, not just a point.
NewLoggedOpt allocates a new LoggedOpt, to later be passed to either NewLoggedOpt or LogOpt as "args".
# Constants
version 0 for LSP 3.14, 3.15; future versions of LSP may change the format and the compiler may need to support both as clients are updated.
No description provided by the author
SeverityInformation defined:
* Reports an information.
# Variables
No description provided by the author
# Structs
Diagnostic defined:
* Represents a diagnostic, such as a compiler error or warning.
DiagnosticRelatedInformation defined:
* Represents a related message and source code location for a diagnostic.
A Location represents a location inside a resource, such as a line inside a text file.
A LoggedOpt is what the compiler produces and accumulates, to be converted to JSON for human or IDE consumption.
No description provided by the author
A Range in a text document expressed as (zero-based) start and end positions.
No description provided by the author
# Type aliases
DiagnosticSeverity defines constants.
DiagnosticTag defines constants.
No description provided by the author