ghc-lib-parser-ex-0.20211001: Algorithms on GHC parse trees
Safe HaskellNone
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 :: LHsRecField GhcPs (LPat GhcPs) -> Bool Source #

isPWildcard :: LPat GhcPs -> Bool Source #

isPFieldPun :: LHsRecField 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 #