MCPcopy
hub / github.com/xavierd/clang_complete / getAbbr

Function getAbbr

plugin/libclang.py:267–272  ·  view source on GitHub ↗
(strings)

Source from the content-addressed store, hash-verified

265 return map(formatResult, sortedResult)
266
267def getAbbr(strings):
268 tmplst = filter(lambda x: x.isKindTypedText(), strings)
269 if len(tmplst) == 0:
270 return ""
271 else:
272 return tmplst[0].spelling
273
274kinds = dict({ \
275# Declarations \

Callers 2

formatResultFunction · 0.85
getCurrentCompletionsFunction · 0.85

Calls 1

isKindTypedTextMethod · 0.80

Tested by

no test coverage detected