GHC.Parser.Errors.Ppr

ghc-9.10.0.20240426: The GHC API

Safe Haskell | None
Language | GHC2021

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