purescript-0.12.0: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.Ide.Filter

Description

Filters for psc-ide commands

Synopsis

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 #