ghc-lib-parser-ex-9.4.0.0: Algorithms on GHC parse trees
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Haskell.GhclibParserEx.GHC.Hs.Pat

Documentation

patToStr :: LPat GhcPs -> String Source #

strToPat :: String -> LPat GhcPs Source #

fromPChar :: LPat GhcPs -> Maybe Char Source #

hasPFieldsDotDot :: HsRecFields GhcPs (LPat GhcPs) -> Bool Source #

isPFieldWildcard :: LHsFieldBind GhcPs (LFieldOcc GhcPs) (LPat GhcPs) -> Bool Source #

isPWildcard :: LPat GhcPs -> Bool Source #

isPFieldPun :: LHsFieldBind GhcPs (LFieldOcc GhcPs) (LPat GhcPs) -> Bool Source #

isPatTypeSig :: LPat GhcPs -> Bool Source #

isPBangPat :: LPat GhcPs -> Bool Source #

isPViewPat :: LPat GhcPs -> Bool Source #

isSplicePat :: LPat GhcPs -> Bool Source #