FileRange : Type- Totality: total
Visibility: public export interface Measure : Type -> Type Things that have an associated interval in the source files.
Parameters: a
Methods:
measure : a -> FileRange
Implementations:
Measure NonEmptyFC Measure (NonEmptyFC, a)
measure : Measure a => a -> FileRange- Totality: total
Visibility: public export map : MeasureRM b => (a -> b) -> Node a -> Node b- Totality: total
Visibility: export traverse : (Applicative f, MeasureRM b) => (a -> f b) -> Node a -> f (Node b)- Totality: total
Visibility: export data PosMap : Type -> Type- Totality: total
Visibility: export
Constructors:
Empty : PosMap a Single : a -> PosMap a Deep : RMFileRange -> Digit a -> PosMap (Node a) -> Digit a -> PosMap a
Hints:
Foldable PosMap Show a => Show (PosMap a) (TTC a, Measure a) => TTC (PosMap a)
empty : PosMap a- Totality: total
Visibility: export singleton : a -> PosMap a- Totality: total
Visibility: export map : MeasureRM b => (a -> b) -> PosMap a -> PosMap b- Totality: total
Visibility: export traverse : (Applicative f, MeasureRM b) => (a -> f b) -> PosMap a -> f (PosMap b)- Totality: total
Visibility: export takeUntil : MeasureRM a => (Interval -> Bool) -> PosMap a -> PosMap a- Totality: total
Visibility: export dropUntil : MeasureRM a => (Interval -> Bool) -> PosMap a -> PosMap a- Totality: total
Visibility: export insert : Measure a => a -> PosMap a -> PosMap a Inserts a new element in the map, in lexicographical order.
Totality: total
Visibility: exportfromList : Measure a => List a -> PosMap a Builds a new map from a list of measurable elements, inserting in
lexicographical order.
Totality: total
Visibility: exportunion : Measure a => PosMap a -> PosMap a -> PosMap a Merges two interval maps.
Totality: total
Visibility: exportinRange : MeasureRM a => FilePos -> FilePos -> PosMap a -> List a Finds all the intervals that overlap with the given interval.
Totality: total
Visibility: exportexactRange : MeasureRM a => FilePos -> FilePos -> PosMap a -> List a Finds the values matching the exact interval input
Totality: total
Visibility: exportsearchPos : MeasureRM a => FilePos -> PosMap a -> List a Returns all the interval that contains the given point.
Totality: total
Visibility: exportintersections : MeasureRM a => FileRange -> PosMap a -> List a Returns all the intervals that intersect the given interval.
Totality: total
Visibility: exportdominators : MeasureRM a => FileRange -> PosMap a -> List a Returns all the intervals that contain the given interval.
Totality: total
Visibility: exportbounds : Measure a => PosMap a -> Maybe FileRange Returns the extreme boundaries of the map, if non empty.
Totality: total
Visibility: export