ghc-9.13: The GHC API
Safe HaskellNone
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 Source #

Constructors

InterpSymbolCache 

Fields

purgeInterpSymbolCache :: InterpSymbolCache -> IO () Source #

Clear all symbol caches.

data InterpSymbol (s :: SuffixOrInterpreted) where Source #

Instances

Instances details
Outputable (InterpSymbol s) Source # 
Instance details

Defined in GHC.Runtime.Interpreter.Types.SymbolCache

Methods

ppr :: InterpSymbol s -> SDoc Source #

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