Module utils

Source
Expand description

Common utilities shared across the different elements of chompy.

Structs§

Library
Holds onto the references of the loaded source code to be looked up for diagnostics, and to later clean up all memory. Used to interact with codespan via codespan’s Files.
Location
A location for something in fog, combining a span and a file id.
Span
A Span is used to notate a specific range of characters in source code to later inform users the exact location of diagnostics.

Traits§

Located
Implements utilities for types who have a Location attached to them.

Type Aliases§

FileId
Alias around usize, which codespan uses as an id for files.