GHC.Parser.Errors.Ppr
Contents
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 #
Methods
diagnosticMessage :: PsMessage -> DecoratedSDoc Source #
diagnosticReason :: PsMessage -> DiagnosticReason Source #
diagnosticHints :: PsMessage -> [GhcHint] Source #
diagnosticCode :: PsMessage -> Maybe DiagnosticCode Source #