MCPcopy Create free account
hub / github.com/ycm-core/YouCompleteMe / matcher

Function matcher

python/ycm/client/completion_request.py:161–163  ·  view source on GitHub ↗
( key )

Source from the content-addressed store, hash-verified

159 item = ConvertCompletionDataToVimData( completion )
160
161 def matcher( key ):
162 return ( ToUnicode( completed_item.get( key, "" ) ) ==
163 ToUnicode( item.get( key, "" ) ) )
164
165 if all( matcher( i ) for i in match_keys ):
166 matched_completions.append( completion.get( 'extra_data', {} ) )

Callers 1

Calls 1

getMethod · 0.80

Tested by

no test coverage detected