ghc-lib-parser-ex-9.12.0.0: Programming with GHC parse trees

Safe Haskell | None
Language | Haskell2010

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 #

isWildPat :: LPat GhcPs -> Bool Source #

isSplicePat :: LPat GhcPs -> Bool Source #