Copyright | © 2019 James Alexander Feldman-Crough |
---|---|
License | MPL-2.0 |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
A location in a Source
, with the line and column number computed lazily.
Location | |
|
Instances
Eq Location Source # | |
Show Location Source # | |
Generic Location Source # | |
NFData Location Source # | |
Defined in ProSource.Location | |
Hashable Location Source # | |
Defined in ProSource.Location | |
Pretty Location Source # | |
Defined in ProSource.Location | |
HasLocation Location Source # | |
Defined in ProSource.HasLocation | |
type Rep Location Source # | |
Defined in ProSource.Location type Rep Location = D1 ('MetaData "Location" "ProSource.Location" "pro-source-0.1.0.0-Aka5hIIzvNFHIHVEFICznz" 'False) (C1 ('MetaCons "Location" 'PrefixI 'True) ((S1 ('MetaSel ('Just "locationSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Source) :*: S1 ('MetaSel ('Just "locationOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Offset)) :*: (S1 ('MetaSel ('Just "locationLine") 'NoSourceUnpackedness 'SourceLazy 'DecidedLazy) (Rec0 Line) :*: S1 ('MetaSel ('Just "locationColumn") 'NoSourceUnpackedness 'SourceLazy 'DecidedLazy) (Rec0 Column)))) |