Home
last modified time | relevance | path

Searched refs:getCurLoc (Results 1 – 8 of 8) sorted by relevance

/dports/devel/hs-hlint/hlint-3.3.4/_cabal_deps/ghc-lib-parser-9.0.1.20210324/compiler/GHC/Driver/
H A DCmdLine.hs23 EwM, runEwM, addErr, addWarn, addFlagWarn, getArg, getCurLoc, liftEwM,
157 getCurLoc :: Monad m => EwM m SrcSpan
158 getCurLoc = EwM (\(L loc _) es ws -> return (es, ws, loc)) function
H A DSession.hs1862 l <- getCurLoc
4346 setWarnSafe True = getCurLoc >>= \l -> upd (\d -> d { warnSafeOnLoc = l })
4350 setWarnUnsafe True = getCurLoc >>= \l -> upd (\d -> d { warnUnsafeOnLoc = l })
4356 l <- getCurLoc
4360 setGenDeriving True = getCurLoc >>= \l -> upd (\d -> d { newDerivOnLoc = l })
4366 l <- getCurLoc
4372 l <- getCurLoc
4377 = getCurLoc >>= \l -> upd (\d -> d { thOnLoc = l }) function
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/ghc-lib-parser-8.10.7.20210828/compiler/main/
H A DCmdLineParser.hs23 EwM, runEwM, addErr, addWarn, addFlagWarn, getArg, getCurLoc, liftEwM,
157 getCurLoc :: Monad m => EwM m SrcSpan
158 getCurLoc = EwM (\(L loc _) es ws -> return (es, ws, loc)) function
H A DDynFlags.hs2549 l <- getCurLoc
5042 setWarnSafe True = getCurLoc >>= \l -> upd (\d -> d { warnSafeOnLoc = l })
5046 setWarnUnsafe True = getCurLoc >>= \l -> upd (\d -> d { warnUnsafeOnLoc = l })
5052 l <- getCurLoc
5056 setGenDeriving True = getCurLoc >>= \l -> upd (\d -> d { newDerivOnLoc = l })
5062 l <- getCurLoc
5068 l <- getCurLoc
5073 = getCurLoc >>= \l -> upd (\d -> d { thOnLoc = l }) function
/dports/lang/ghc/ghc-8.10.7/compiler/main/
H A DCmdLineParser.hs23 EwM, runEwM, addErr, addWarn, addFlagWarn, getArg, getCurLoc, liftEwM,
157 getCurLoc :: Monad m => EwM m SrcSpan
158 getCurLoc = EwM (\(L loc _) es ws -> return (es, ws, loc)) function
H A DDynFlags.hs2548 l <- getCurLoc
5041 setWarnSafe True = getCurLoc >>= \l -> upd (\d -> d { warnSafeOnLoc = l })
5045 setWarnUnsafe True = getCurLoc >>= \l -> upd (\d -> d { warnUnsafeOnLoc = l })
5051 l <- getCurLoc
5055 setGenDeriving True = getCurLoc >>= \l -> upd (\d -> d { newDerivOnLoc = l })
5061 l <- getCurLoc
5067 l <- getCurLoc
5072 = getCurLoc >>= \l -> upd (\d -> d { thOnLoc = l }) function
/dports/devel/hs-ormolu/ormolu-0.4.0.0/_cabal_deps/ghc-lib-parser-9.2.1.20211101/compiler/GHC/Driver/
H A DCmdLine.hs23 EwM, runEwM, addErr, addWarn, addFlagWarn, getArg, getCurLoc, liftEwM,
158 getCurLoc :: Monad m => EwM m SrcSpan
159 getCurLoc = EwM (\(L loc _) es ws -> return (es, ws, loc)) function
H A DSession.hs1629 l <- getCurLoc
4102 setWarnSafe True = getCurLoc >>= \l -> upd (\d -> d { warnSafeOnLoc = l })
4106 setWarnUnsafe True = getCurLoc >>= \l -> upd (\d -> d { warnUnsafeOnLoc = l })
4112 l <- getCurLoc
4116 setGenDeriving True = getCurLoc >>= \l -> upd (\d -> d { newDerivOnLoc = l })
4120 setDeriveVia True = getCurLoc >>= \l -> upd (\d -> d { deriveViaOnLoc = l })
4126 l <- getCurLoc
4132 l <- getCurLoc
4137 = getCurLoc >>= \l -> upd (\d -> d { thOnLoc = l }) function