Safe Haskell | None |
---|---|
Language | Haskell2010 |
Utility functions for working with the GHC AST
Synopsis
- dropAfterLocated :: Maybe (Located a) -> [RealLocated b] -> [RealLocated b]
- dropBeforeLocated :: Maybe (Located a) -> [RealLocated b] -> [RealLocated b]
- dropBeforeAndAfter :: Located a -> [RealLocated b] -> [RealLocated b]
- unsafeGetRealSrcSpan :: Located a -> RealSrcSpan
- getEndLineUnsafe :: Located a -> Int
- getStartLineUnsafe :: Located a -> Int
- baseDynFlags :: DynFlags
- unLocated :: Located a -> a
- showOutputable :: Outputable a => a -> String
- compareOutputable :: Outputable a => a -> a -> Ordering
Documentation
dropAfterLocated :: Maybe (Located a) -> [RealLocated b] -> [RealLocated b] Source #
dropBeforeLocated :: Maybe (Located a) -> [RealLocated b] -> [RealLocated b] Source #
dropBeforeAndAfter :: Located a -> [RealLocated b] -> [RealLocated b] Source #
Unsafe getters
unsafeGetRealSrcSpan :: Located a -> RealSrcSpan Source #
getEndLineUnsafe :: Located a -> Int Source #
getStartLineUnsafe :: Located a -> Int Source #
Standard settings
Positions
Outputable operators
showOutputable :: Outputable a => a -> String Source #
compareOutputable :: Outputable a => a -> a -> Ordering Source #