ghc-9.6.3: The GHC API

Safe Haskell | Safe-Inferred
Language | Haskell2010

GHC.Parser.Errors.Ppr

Contents

- Orphan instances

# Documentation

psHeaderMessageDiagnostic :: PsHeaderMessage -> DecoratedSDoc Source #

psHeaderMessageReason :: PsHeaderMessage -> DiagnosticReason Source #

psHeaderMessageHints :: PsHeaderMessage -> [GhcHint] Source #

suggestParensAndBlockArgs :: [GhcHint] Source #

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

parse_error_in_pat :: SDoc Source #

forallSym :: Bool -> SDoc Source #

pprFileHeaderPragmaType :: FileHeaderPragmaType -> SDoc Source #

# Orphan instances

Diagnostic PsMessage Source # |
Instance details Associated Types type DiagnosticOpts PsMessage Source # Methods defaultDiagnosticOpts :: DiagnosticOpts PsMessage Source # diagnosticMessage :: DiagnosticOpts PsMessage -> PsMessage -> DecoratedSDoc Source # diagnosticReason :: PsMessage -> DiagnosticReason Source # diagnosticHints :: PsMessage -> [GhcHint] Source # diagnosticCode :: PsMessage -> Maybe DiagnosticCode Source #