| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Source.Loc
Documentation
Instances
| Semigroup Loc Source # | |
| Generic Loc Source # | |
| Show Loc Source # | |
| NFData Loc Source # | |
Defined in Source.Loc | |
| Eq Loc Source # | |
| Ord Loc Source # | |
| Hashable Loc Source # | |
Defined in Source.Loc | |
| HasSpan Loc Source # | |
| ToJSON Loc Source # | |
Defined in Source.Loc | |
| type Rep Loc Source # | |
Defined in Source.Loc type Rep Loc = D1 ('MetaData "Loc" "Source.Loc" "semantic-source-0.1.0.2-inplace" '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
| Semigroup Span Source # | |
| Generic Span Source # | |
| Show Span Source # | |
| NFData Span Source # | |
Defined in Source.Span | |
| Eq Span Source # | |
| Ord Span Source # | |
| Hashable Span Source # | |
Defined in Source.Span | |
| HasSpan Span Source # | |
| FromJSON Span Source # | |
Defined in Source.Span | |
| ToJSON Span Source # | |
Defined in Source.Span Methods toEncoding :: Span -> Encoding toJSONList :: [Span] -> Value toEncodingList :: [Span] -> Encoding | |
| type Rep Span Source # | |
Defined in Source.Span type Rep Span = D1 ('MetaData "Span" "Source.Span" "semantic-source-0.1.0.2-inplace" '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.
Constructors
| Range !Int !Int |
Instances
| Semigroup Range Source # | |
| Generic Range Source # | |
| Show Range Source # | |
| NFData Range Source # | |
Defined in Source.Range | |
| Eq Range Source # | |
| Ord Range Source # | |
| Hashable Range Source # | |
Defined in Source.Range | |
| Lower Range Source # | |
Defined in Source.Range Methods lowerBound :: Range | |
| ToJSON Range Source # | |
Defined in Source.Range Methods toEncoding :: Range -> Encoding toJSONList :: [Range] -> Value toEncodingList :: [Range] -> Encoding | |
| type Rep Range Source # | |
Defined in Source.Range type Rep Range = D1 ('MetaData "Range" "Source.Range" "semantic-source-0.1.0.2-inplace" 'False) (C1 ('MetaCons "Range" 'PrefixI 'True) (S1 ('MetaSel ('Just "start") 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "end") 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Int))) | |