Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Eq Loc Source # | |
Ord Loc Source # | |
Show Loc Source # | |
Generic Loc Source # | |
Semigroup Loc Source # | |
NFData Loc Source # | |
Defined in Source.Loc | |
Hashable 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.0.1.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
Eq Span Source # | |
Ord Span Source # | |
Show Span Source # | |
Generic Span Source # | |
Semigroup Span Source # | |
NFData Span Source # | |
Defined in Source.Span | |
Hashable Span Source # | |
Defined in Source.Span | |
Lower Span Source # | |
Defined in Source.Span lowerBound :: Span | |
FromJSON Span Source # | |
Defined in Source.Span parseJSON :: Value -> Parser Span parseJSONList :: Value -> Parser [Span] | |
ToJSON 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.0.1.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
Eq Range Source # | |
Ord Range Source # | |
Show Range Source # | |
Generic Range Source # | |
Semigroup Range Source # | |
NFData Range Source # | |
Defined in Source.Range | |
Hashable 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.0.1.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))) |