Safe Haskell | None |
---|---|
Language | Haskell2010 |
Filters for psc-ide commands
- data Filter
- declarationTypeFilter :: [IdeDeclaration] -> Filter
- namespaceFilter :: NonEmpty IdeNamespace -> Filter
- moduleFilter :: [ModuleName] -> Filter
- prefixFilter :: Text -> Filter
- equalityFilter :: Text -> Filter
- applyFilters :: [Filter] -> [Module] -> [Module]
Documentation
declarationTypeFilter :: [IdeDeclaration] -> Filter Source #
Only keeps Identifiers in the given type declarations
namespaceFilter :: NonEmpty IdeNamespace -> Filter Source #
Only keeps Identifiers in the given Namespaces
moduleFilter :: [ModuleName] -> Filter Source #
Only keeps the given Modules
prefixFilter :: Text -> Filter Source #
Only keeps Identifiers that start with the given prefix
equalityFilter :: Text -> Filter Source #
Only keeps Identifiers that are equal to the search string
applyFilters :: [Filter] -> [Module] -> [Module] Source #