ghc-lib-parser-9.14.1.20251220: The GHC API, decoupled from GHC versions
Safe HaskellIgnore
LanguageGHC2021

GHC.Runtime.Interpreter.Types.SymbolCache

Description

The SymbolCache is used to cache lookups for specific symbols when using the interpreter.

Synopsis

Documentation

data InterpSymbolCache #

Constructors

InterpSymbolCache 

Fields

purgeInterpSymbolCache :: InterpSymbolCache -> IO () #

Clear all symbol caches.

data InterpSymbol (s :: SuffixOrInterpreted) where #

Instances

Instances details
Outputable (InterpSymbol s) # 
Instance details

Defined in GHC.Runtime.Interpreter.Types.SymbolCache

Methods

ppr :: InterpSymbol s -> SDoc #

interpSymbolName :: forall (s :: Symbol). InterpSymbol ('Suffix s) -> Name #

eliminateInterpSymbol :: forall (s :: SuffixOrInterpreted) r. InterpSymbol s -> (InterpSymbol 'Interpreted -> r) -> (forall (x :: Symbol). InterpSymbol ('Suffix x) -> r) -> r #