MCPcopy Index your code
hub / github.com/nodejs/node / keywordToCompletionEntry

Function keywordToCompletionEntry

test/fixtures/snapshot/typescript.js:132262–132269  ·  view source on GitHub ↗
(keyword)

Source from the content-addressed store, hash-verified

132260 return { isGlobalCompletion: false, isMemberCompletion: false, isNewIdentifierLocation: false, entries: entries };
132261 }
132262 function keywordToCompletionEntry(keyword) {
132263 return {
132264 name: ts.tokenToString(keyword),
132265 kind: "keyword" /* ScriptElementKind.keyword */,
132266 kindModifiers: "" /* ScriptElementKindModifier.none */,
132267 sortText: Completions.SortText.GlobalsOrKeywords,
132268 };
132269 }
132270 function specificKeywordCompletionInfo(entries, isNewIdentifierLocation) {
132271 return {
132272 isGlobalCompletion: false,

Callers 1

getCompletionDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…