Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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.2.0.0-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 parseJSON :: Value -> Parser Span parseJSONList :: Value -> Parser [Span] | |
ToJSON Span Source # | |
Defined in Source.Span | |
type Rep Span Source # | |
Defined in Source.Span type Rep Span = D1 ('MetaData "Span" "Source.Span" "semantic-source-0.2.0.0-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.
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 lowerBound :: Range | |
ToJSON Range Source # | |
Defined in Source.Range | |
type Rep Range Source # | |
Defined in Source.Range type Rep Range = D1 ('MetaData "Range" "Source.Range" "semantic-source-0.2.0.0-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))) |