Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data WithPosition a = WithPosition {}
- data WithPosition' a = WithPosition' {}
- type Position' = Maybe Position
- data Position = Position {}
- class ToPosition p where
- toPosition :: p -> Position
- class ToPosition' p where
- toPosition' :: p -> Position'
Documentation
data WithPosition a Source #
Instances
data WithPosition' a Source #
Instances
Instances
Bounded Position Source # | |
Eq Position Source # | |
Ord Position Source # | |
Defined in BNFC.Types.Position | |
Show Position Source # | |
ToPosition' Position Source # | |
Defined in BNFC.Types.Position toPosition' :: Position -> Position' Source # | |
ToPosition' Position' Source # | |
Defined in BNFC.Types.Position toPosition' :: Position' -> Position' Source # | |
ToPosition Position Source # | |
Defined in BNFC.Types.Position toPosition :: Position -> Position Source # |
class ToPosition p where Source #
Something that can be parsed into a Position
.
toPosition :: p -> Position Source #
Instances
ToPosition Position Source # | |
Defined in BNFC.Types.Position toPosition :: Position -> Position Source # | |
ToPosition (Int, Int) Source # | |
Defined in BNFC.Types.Position |
class ToPosition' p where Source #
Something that can be parsed into a Position'
.
toPosition' :: p -> Position' Source #
Instances
ToPosition' Position Source # | |
Defined in BNFC.Types.Position toPosition' :: Position -> Position' Source # | |
ToPosition' Position' Source # | |
Defined in BNFC.Types.Position toPosition' :: Position' -> Position' Source # | |
ToPosition' (Maybe (Int, Int)) Source # | |
Defined in BNFC.Types.Position | |
ToPosition' (Int, Int) Source # | |
Defined in BNFC.Types.Position |