GHC.Parser.Errors.Ppr

ghc-lib-parser-9.10.1.20250103: The GHC API, decoupled from GHC versions

Safe Haskell | Ignore
Language | GHC2021

GHC.Parser.Errors.Ppr

Contents

- Orphan instances

# Documentation

psHeaderMessageDiagnostic :: PsHeaderMessage -> DecoratedSDoc #

psHeaderMessageReason :: PsHeaderMessage -> DiagnosticReason #

psHeaderMessageHints :: PsHeaderMessage -> [GhcHint] #

suggestParensAndBlockArgs :: [GhcHint] #

pp_unexpected_fun_app :: Outputable a => SDoc -> a -> SDoc #

parse_error_in_pat :: SDoc #

forallSym :: Bool -> SDoc #

pprFileHeaderPragmaType :: FileHeaderPragmaType -> SDoc #

# Orphan instances

Diagnostic PsMessage # |
Instance details Associated Types
type DiagnosticOpts PsMessage |
Instance details Defined in GHC.Parser.Errors.Ppr type DiagnosticOpts PsMessage = NoDiagnosticOpts
Methods diagnosticMessage :: DiagnosticOpts PsMessage -> PsMessage -> DecoratedSDoc # diagnosticReason :: PsMessage -> DiagnosticReason # diagnosticHints :: PsMessage -> [GhcHint] # diagnosticCode :: PsMessage -> Maybe DiagnosticCode #