Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Synopsis
- data Location = L Int Int
- data Located a = LL Location Location a
- startOfLocated :: Located a -> Location
- endOfLocated :: Located a -> Location
- valueOfLocated :: Located a -> a
- incCharOfLocation :: Int -> Location -> Location
- incLineOfLocation :: Int -> Location -> Location
Documentation
Location in a source file.
A thing located at the given range in a source file.
startOfLocated :: Located a -> Location Source #
Take the start point of a located thing.
endOfLocated :: Located a -> Location Source #
Take the end point of a located thing.
valueOfLocated :: Located a -> a Source #
Take the value of a located thing.