GHC.Core.Opt.CallerCC.Types

ghc-9.10.0.20240413: The GHC API

Safe Haskell | None
Language | GHC2021

GHC.Core.Opt.CallerCC.Types

# Documentation

data NamePattern Source #

Constructors

PChar Char NamePattern |
PWildcard NamePattern |
PEnd |

#### Instances

Instances details

Binary NamePattern Source # |
Instance details Defined in GHC.Core.Opt.CallerCC.Types Methods put_ :: BinHandle -> NamePattern -> IO () Source # put :: BinHandle -> NamePattern -> IO (Bin NamePattern) Source # get :: BinHandle -> IO NamePattern Source #
Outputable NamePattern Source # |
Instance details Defined in GHC.Core.Opt.CallerCC.Types Methods ppr :: NamePattern -> SDoc Source #

data CallerCcFilter Source #

Constructors

CallerCcFilter |
Fields ccfModuleName :: Maybe ModuleName ccfFuncName :: NamePattern

#### Instances

Instances details

Binary CallerCcFilter Source # |
Instance details Defined in GHC.Core.Opt.CallerCC.Types Methods put_ :: BinHandle -> CallerCcFilter -> IO () Source # put :: BinHandle -> CallerCcFilter -> IO (Bin CallerCcFilter) Source # get :: BinHandle -> IO CallerCcFilter Source #
Outputable CallerCcFilter Source # |
Instance details Defined in GHC.Core.Opt.CallerCC.Types Methods ppr :: CallerCcFilter -> SDoc Source #

occNameMatches :: NamePattern -> OccName -> Bool Source #

parseCallerCcFilter :: String -> Either String CallerCcFilter Source #

parseNamePattern :: Parser NamePattern Source #