Safe Haskell | None |
---|---|
Language | Haskell2010 |
Ranges that cannot be constructed with incorrect bounds.
Documentation
posRangeStart :: PosRange -> Position Source #
posRangeEnd :: PosRange -> Position Source #
lineRangeStart :: LineRange -> Line Source #
lineRangeEnd :: LineRange -> Line Source #
rangesToList :: Ranges -> [Range] Source #
data RangesError Source #
Instances
Eq RangesError Source # | |
Defined in Text.Pandoc.Filter.EmphasizeCode.Range (==) :: RangesError -> RangesError -> Bool # (/=) :: RangesError -> RangesError -> Bool # | |
Show RangesError Source # | |
Defined in Text.Pandoc.Filter.EmphasizeCode.Range showsPrec :: Int -> RangesError -> ShowS # show :: RangesError -> String # showList :: [RangesError] -> ShowS # |
data EmphasisStyle Source #
Instances
Eq EmphasisStyle Source # | |
Defined in Text.Pandoc.Filter.EmphasizeCode.Range (==) :: EmphasisStyle -> EmphasisStyle -> Bool # (/=) :: EmphasisStyle -> EmphasisStyle -> Bool # | |
Show EmphasisStyle Source # | |
Defined in Text.Pandoc.Filter.EmphasizeCode.Range showsPrec :: Int -> EmphasisStyle -> ShowS # show :: EmphasisStyle -> String # showList :: [EmphasisStyle] -> ShowS # |
data SingleLineRange Source #
Instances
Eq SingleLineRange Source # | |
Defined in Text.Pandoc.Filter.EmphasizeCode.Range (==) :: SingleLineRange -> SingleLineRange -> Bool # (/=) :: SingleLineRange -> SingleLineRange -> Bool # | |
Show SingleLineRange Source # | |
Defined in Text.Pandoc.Filter.EmphasizeCode.Range showsPrec :: Int -> SingleLineRange -> ShowS # show :: SingleLineRange -> String # showList :: [SingleLineRange] -> ShowS # |
mkSingleLineRangeInline :: Line -> Column -> Maybe Column -> Maybe SingleLineRange Source #
splitRanges :: Ranges -> HashMap Line [SingleLineRange] Source #