ghc-lib-parser-9.14.1.20251220: 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
type DiagnosticHint PsMessage |
Instance details Defined in GHC.Parser.Errors.Ppr type DiagnosticHint PsMessage = GhcHint
Methods diagnosticMessage :: DiagnosticOpts PsMessage -> PsMessage -> DecoratedSDoc # diagnosticReason :: PsMessage -> DiagnosticReason # diagnosticHints :: PsMessage -> [DiagnosticHint PsMessage] # diagnosticCode :: PsMessage -> Maybe DiagnosticCode #