Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Eq Loc Source # | |
Ord Loc Source # | |
Show Loc Source # | |
Generic Loc Source # | |
Semigroup Loc Source # | |
Hashable Loc Source # | |
Defined in Source.Loc | |
ToJSON Loc Source # | |
Defined in Source.Loc | |
NFData Loc Source # | |
Defined in Source.Loc | |
HasSpan Loc Source # | |
type Rep Loc Source # | |
Defined in Source.Loc type Rep Loc = D1 (MetaData "Loc" "Source.Loc" "semantic-source-0.1.0.0-DesnhU0NCffKxegt7Q4ngW" False) (C1 (MetaCons "Loc" PrefixI True) (S1 (MetaSel (Just "byteRange") SourceUnpack SourceStrict DecidedStrict) (Rec0 Range) :*: S1 (MetaSel (Just "span") SourceUnpack SourceStrict DecidedStrict) (Rec0 Span))) |
byteRange_ :: Lens' Loc Range Source #
A Span of position information
Instances
Eq Span Source # | |
Ord Span Source # | |
Show Span Source # | |
Generic Span Source # | |
Semigroup Span Source # | |
Hashable Span Source # | |
Defined in Source.Span | |
ToJSON Span Source # | |
Defined in Source.Span | |
FromJSON Span Source # | |
NFData Span Source # | |
Defined in Source.Span | |
HasSpan Span Source # | |
type Rep Span Source # | |
Defined in Source.Span type Rep Span = D1 (MetaData "Span" "Source.Span" "semantic-source-0.1.0.0-DesnhU0NCffKxegt7Q4ngW" False) (C1 (MetaCons "Span" PrefixI True) (S1 (MetaSel (Just "start") SourceUnpack SourceStrict DecidedStrict) (Rec0 Pos) :*: S1 (MetaSel (Just "end") SourceUnpack SourceStrict DecidedStrict) (Rec0 Pos))) |
A 0-indexed, half-open interval of integers, defined by start & end indices.
Instances
Eq Range Source # | |
Ord Range Source # | |
Show Range Source # | |
Generic Range Source # | |
Semigroup Range Source # | |
Hashable Range Source # | |
Defined in Source.Range | |
ToJSON Range Source # | |
Defined in Source.Range | |
NFData Range Source # | |
Defined in Source.Range | |
Lower Range Source # | |
Defined in Source.Range lowerBound :: Range # | |
type Rep Range Source # | |
Defined in Source.Range type Rep Range = D1 (MetaData "Range" "Source.Range" "semantic-source-0.1.0.0-DesnhU0NCffKxegt7Q4ngW" False) (C1 (MetaCons "Range" PrefixI True) (S1 (MetaSel (Just "start") SourceUnpack SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "end") SourceUnpack SourceStrict DecidedStrict) (Rec0 Int))) |