persistent-2.16.0.0: Type-safe, multi-backend data serialization.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Database.Persist.Types.SourceSpan

Synopsis

Documentation

data SourceSpan Source #

A pair of (start linecol, end linecol) coordinates. The end column will be one past the final character (i.e. the span (1,1)->(1,1) is zero characters long).

SourceSpans are 1-indexed in both lines and columns.

Conceptually identical to GHC's RealSourceSpan.

Since: 2.16.0.0

Constructors

SourceSpan