pro-source-0.1.0.0: Utilities for tracking source locations
Copyright© 2019 James Alexander Feldman-Crough
LicenseMPL-2.0
Safe HaskellNone
LanguageHaskell2010

ProSource.SparseLocation

Description

 
Synopsis

Documentation

data SparseLocation Source #

A location in a Source. The line and column numbers of this type are not attached to this type; convert to a Location to access those values.

Constructors

SparseLocation 

Fields

Instances

Instances details
Eq SparseLocation Source # 
Instance details

Defined in ProSource.SparseLocation

Show SparseLocation Source # 
Instance details

Defined in ProSource.SparseLocation

Generic SparseLocation Source # 
Instance details

Defined in ProSource.SparseLocation

Associated Types

type Rep SparseLocation :: Type -> Type #

NFData SparseLocation Source # 
Instance details

Defined in ProSource.SparseLocation

Methods

rnf :: SparseLocation -> () #

Hashable SparseLocation Source # 
Instance details

Defined in ProSource.SparseLocation

type Rep SparseLocation Source # 
Instance details

Defined in ProSource.SparseLocation

type Rep SparseLocation = D1 ('MetaData "SparseLocation" "ProSource.SparseLocation" "pro-source-0.1.0.0-Aka5hIIzvNFHIHVEFICznz" 'False) (C1 ('MetaCons "SparseLocation" 'PrefixI 'True) (S1 ('MetaSel ('Just "sparseLocationSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Source) :*: S1 ('MetaSel ('Just "sparseLocationOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Offset)))