Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data CodeVisibility Source #
Instances
Eq CodeVisibility Source # | |
Defined in Parser.SourceFile (==) :: CodeVisibility -> CodeVisibility -> Bool # (/=) :: CodeVisibility -> CodeVisibility -> Bool # | |
Ord CodeVisibility Source # | |
Defined in Parser.SourceFile compare :: CodeVisibility -> CodeVisibility -> Ordering # (<) :: CodeVisibility -> CodeVisibility -> Bool # (<=) :: CodeVisibility -> CodeVisibility -> Bool # (>) :: CodeVisibility -> CodeVisibility -> Bool # (>=) :: CodeVisibility -> CodeVisibility -> Bool # max :: CodeVisibility -> CodeVisibility -> CodeVisibility # min :: CodeVisibility -> CodeVisibility -> CodeVisibility # | |
Show CodeVisibility Source # | |
Defined in Parser.SourceFile showsPrec :: Int -> CodeVisibility -> ShowS # show :: CodeVisibility -> String # showList :: [CodeVisibility] -> ShowS # |
data PragmaSource c Source #
PragmaVisibility | |
|
Instances
Show c => Show (PragmaSource c) Source # | |
Defined in Parser.SourceFile showsPrec :: Int -> PragmaSource c -> ShowS # show :: PragmaSource c -> String # showList :: [PragmaSource c] -> ShowS # |
data WithVisibility a Source #
Instances
Show a => Show (WithVisibility a) Source # | |
Defined in Parser.SourceFile showsPrec :: Int -> WithVisibility a -> ShowS # show :: WithVisibility a -> String # showList :: [WithVisibility a] -> ShowS # |
hasCodeVisibility :: CodeVisibility -> WithVisibility a -> Bool Source #
isModuleOnly :: PragmaSource c -> Bool Source #
isTestsOnly :: PragmaSource c -> Bool Source #
mapCodeVisibility :: (a -> b) -> WithVisibility a -> WithVisibility b Source #
parseInternalSource :: ErrorContextM m => (FilePath, String) -> m ([PragmaSource SourceContext], [AnyCategory SourceContext], [DefinedCategory SourceContext]) Source #
parsePublicSource :: ErrorContextM m => (FilePath, String) -> m ([PragmaSource SourceContext], [AnyCategory SourceContext]) Source #
parseTestSource :: ErrorContextM m => (FilePath, String) -> m ([PragmaSource SourceContext], [IntegrationTest SourceContext]) Source #
updateCodeVisibility :: (Set CodeVisibility -> Set CodeVisibility) -> WithVisibility a -> WithVisibility a Source #