Home
last modified time | relevance | path

Searched refs:Hsc (Results 1 – 25 of 63) sorted by relevance

123

/dports/devel/hs-ormolu/ormolu-0.4.0.0/_cabal_deps/ghc-lib-parser-9.2.1.20211101/compiler/GHC/Driver/Env/
H A DTypes.hs3 ( Hsc(..)
32 newtype Hsc a = Hsc (HscEnv -> WarningMessages -> IO (a, WarningMessages)) constructor
35 instance Applicative Hsc where
36 pure a = Hsc $ \_ w -> return (a, w)
39 instance Monad Hsc where
40 Hsc m >>= k = Hsc $ \e w -> do (a, w1) <- m e w function
44 instance MonadIO Hsc where
45 liftIO io = Hsc $ \_ w -> do a <- io; return (a, w)
47 instance HasDynFlags Hsc where
50 instance HasLogger Hsc where
[all …]
/dports/lang/ghc/ghc-8.10.7/compiler/main/
H A DHscMain.hs215 getWarnings :: Hsc WarningMessages
216 getWarnings = Hsc $ \_ w -> return (w, w)
218 clearWarnings :: Hsc ()
221 logWarnings :: WarningMessages -> Hsc ()
224 getHscEnv :: Hsc HscEnv
225 getHscEnv = Hsc $ \e w -> return (e, w)
227 handleWarnings :: Hsc ()
461 -> Hsc TcGblEnv
469 -> Hsc TcGblEnv
497 -> Hsc TcGblEnv
[all …]
H A DDriverPhases.hs135 | Hsc HscSource constructor
158 anyHsc = Hsc (panic "anyHsc")
170 eqPhase (Hsc _) (Hsc _) = True
215 HsPp sf -> Hsc sf
216 Hsc _ -> maybeHCc
244 startPhase "hspp" = Hsc HsSrcFile
273 phaseInputExt (Hsc _) = "hspp" -- intermediate only
H A DHscTypes.hs267 newtype Hsc a = Hsc (HscEnv -> WarningMessages -> IO (a, WarningMessages)) function
270 instance Applicative Hsc where
271 pure a = Hsc $ \_ w -> return (a, w)
274 instance Monad Hsc where
275 Hsc m >>= k = Hsc $ \e w -> do (a, w1) <- m e w function
279 instance MonadIO Hsc where
280 liftIO io = Hsc $ \_ w -> do a <- io; return (a, w)
282 instance HasDynFlags Hsc where
285 runHsc :: HscEnv -> Hsc a -> IO a
286 runHsc hsc_env (Hsc hsc) = do
[all …]
H A DHooks.hs85 , hscFrontendHook :: Maybe (ModSummary -> Hsc FrontendResult)
H A DDriverPipeline.hs47 import HscTypes hiding ( Hsc )
677 isHaskell (RealPhase (Hsc _)) = True
1069 return (RealPhase (Hsc sf), input_fn)
1073 output_fn <- phaseOutputFilename (Hsc sf)
1089 return (RealPhase (Hsc sf), output_fn)
1096 runPhase (RealPhase (Hsc src_flavour)) input_fn dflags0
H A DPlugins.hs105 -> Hsc HsParsedModule
/dports/devel/hs-ormolu/ormolu-0.4.0.0/_cabal_deps/ghc-lib-parser-9.2.1.20211101/compiler/GHC/Driver/
H A DPhases.hs76 | Hsc HscSource constructor
99 anyHsc = Hsc (panic "anyHsc")
111 eqPhase (Hsc _) (Hsc _) = True
156 HsPp sf -> Hsc sf
157 Hsc _ -> maybeHCc
185 startPhase "hspp" = Hsc HsSrcFile
214 phaseInputExt (Hsc _) = "hspp" -- intermediate only
H A DEnv.hs4 ( Hsc(..)
34 import GHC.Driver.Env.Types ( Hsc(..), HscEnv(..) )
68 runHsc :: HscEnv -> Hsc a -> IO a
69 runHsc hsc_env (Hsc hsc) = do
84 runInteractiveHsc :: HscEnv -> Hsc a -> IO a
H A DHooks.hs136 , hscFrontendHook :: !(Maybe (ModSummary -> Hsc FrontendResult))
H A DPlugins.hs111 -> Hsc HsParsedModule
/dports/devel/hs-hlint/hlint-3.3.4/_cabal_deps/ghc-lib-parser-9.0.1.20210324/compiler/GHC/Driver/
H A DPhases.hs133 | Hsc HscSource constructor
156 anyHsc = Hsc (panic "anyHsc")
168 eqPhase (Hsc _) (Hsc _) = True
213 HsPp sf -> Hsc sf
214 Hsc _ -> maybeHCc
242 startPhase "hspp" = Hsc HsSrcFile
271 phaseInputExt (Hsc _) = "hspp" -- intermediate only
H A DTypes.hs276 newtype Hsc a = Hsc (HscEnv -> WarningMessages -> IO (a, WarningMessages)) type
279 instance Applicative Hsc where
280 pure a = Hsc $ \_ w -> return (a, w)
283 instance Monad Hsc where
284 Hsc m >>= k = Hsc $ \e w -> do (a, w1) <- m e w function
288 instance MonadIO Hsc where
289 liftIO io = Hsc $ \_ w -> do a <- io; return (a, w)
291 instance HasDynFlags Hsc where
294 runHsc :: HscEnv -> Hsc a -> IO a
295 runHsc hsc_env (Hsc hsc) = do
[all …]
H A DHooks.hs99 , hscFrontendHook :: Maybe (ModSummary -> Hsc FrontendResult)
H A DPlugins.hs105 -> Hsc HsParsedModule
/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 DDriverPhases.hs135 | Hsc HscSource constructor
158 anyHsc = Hsc (panic "anyHsc")
170 eqPhase (Hsc _) (Hsc _) = True
215 HsPp sf -> Hsc sf
216 Hsc _ -> maybeHCc
244 startPhase "hspp" = Hsc HsSrcFile
273 phaseInputExt (Hsc _) = "hspp" -- intermediate only
H A DHscTypes.hs267 newtype Hsc a = Hsc (HscEnv -> WarningMessages -> IO (a, WarningMessages)) type
270 instance Applicative Hsc where
271 pure a = Hsc $ \_ w -> return (a, w)
274 instance Monad Hsc where
275 Hsc m >>= k = Hsc $ \e w -> do (a, w1) <- m e w function
279 instance MonadIO Hsc where
280 liftIO io = Hsc $ \_ w -> do a <- io; return (a, w)
282 instance HasDynFlags Hsc where
285 runHsc :: HscEnv -> Hsc a -> IO a
286 runHsc hsc_env (Hsc hsc) = do
[all …]
H A DHooks.hs85 , hscFrontendHook :: Maybe (ModSummary -> Hsc FrontendResult)
H A DPlugins.hs105 -> Hsc HsParsedModule
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/hie-bios-0.7.5/src/HIE/Bios/Ghc/
H A DLoad.hs137 astHook :: IORef [TypecheckedModule] -> ModSummary -> Hsc FrontendResult
154 ghcInHsc :: Ghc a -> Hsc a
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/plugins/hls-tactics-plugin/src/Wingman/
H A DStaticPlugin.hs66 worker :: [CommandLineOption] -> ModSummary -> HsParsedModule -> Hsc HsParsedModule
/dports/devel/hs-hls-install/haskell-language-server-1.4.0/plugins/hls-tactics-plugin/src/Wingman/
H A DStaticPlugin.hs66 worker :: [CommandLineOption] -> ModSummary -> HsParsedModule -> Hsc HsParsedModule
/dports/lang/ghc/ghc-8.10.7/compiler/hieFile/
H A DHieAst.hs219 type HieM = ReaderT HieState Hsc
224 -> RenamedSource -> Hsc HieFile
241 -> Hsc (HieASTs TypeIndex, A.Array TypeIndex HieTypeFlat)
246 enrichHie :: TypecheckedSource -> RenamedSource -> Hsc (HieASTs Type)
629 hs_env <- Hsc $ \e w -> return (e,w)
/dports/editors/micro/micro-2.0.10/
H A Dgo.sum51 github.com/zyedidia/highlight v0.0.0-20170330143449-201131ce5cf5/go.mod h1:c1r+Ob9tUTPB0FKWO1+x+Hsc
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/ghcide/src/Development/IDE/GHC/
H A DCompat.hs251 -> Hsc HieFile

123