purescript-0.15.9: PureScript Programming Language Compiler
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.PureScript.Ide.Matcher

Description

Matchers for psc-ide commands

Synopsis

Documentation

data Matcher a Source #

Instances

Instances details
FromJSON (Matcher IdeDeclarationAnn) Source # 
Instance details

Defined in Language.PureScript.Ide.Matcher

Monoid (Matcher a) Source # 
Instance details

Defined in Language.PureScript.Ide.Matcher

Methods

mempty :: Matcher a #

mappend :: Matcher a -> Matcher a -> Matcher a #

mconcat :: [Matcher a] -> Matcher a #

Semigroup (Matcher a) Source # 
Instance details

Defined in Language.PureScript.Ide.Matcher

Methods

(<>) :: Matcher a -> Matcher a -> Matcher a #

sconcat :: NonEmpty (Matcher a) -> Matcher a #

stimes :: Integral b => b -> Matcher a -> Matcher a #

runMatcher :: Matcher a -> [Match a] -> [Match a] Source #

flexMatcher :: Text -> Matcher IdeDeclarationAnn Source #

Matches any occurrence of the search string with intersections

The scoring measures how far the matches span the string where closer is better. Examples: flMa matches flexMatcher. Score: 14.28 sons matches sortCompletions. Score: 6.25