|
Loom C API
Public Loom compiler C API
|
A labeled source location providing context for a primary diagnostic. More...
#include <diagnostic.h>
Data Fields | |
| loomc_string_view_t | label |
| Human-readable relationship, such as "contract defined here". | |
| loomc_source_range_t | range |
| Source range of the related location. | |
A labeled source location providing context for a primary diagnostic.
Examples include a callee's declaration or the previous use of a value. The owning result retains the label and source identity. Source contents are optional, as with the primary range.