flix

0.67.0

Reflect.SourceLocation

enum SourceLocation with CoerceSource
case SourceLocation(String, SourcePosition, SourcePosition)

Represents a span or range within a source, defined by a source identifier and start/end source positions.

Fields:

  1. source: The source identifier (typically a file path)
  2. start: The beginning position of the span (inclusive)
  3. end: The ending position of the span (inclusive)

Instances

instance Coerce[SourceLocation]Source