Skip to main content

Module formatted

Module formatted 

Source
Expand description

This module contains a formatted error and its methods.

Structs§

DiagnosticLabelView
One secondary label paired with its source span.
DiagnosticView
LSP-agnostic structured view of a compiler diagnostic.
Formatted
Formatted compiler error type undefined value x –> file.leo: 2:8 | 2 | let a = x; | ^ | = help: Initialize a variable x first.
Label
Represents error labels.

Enums§

Color
Enum representing a terminal color.