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

Function keywordCompletionData

test/fixtures/snapshot/typescript.js:132278–132284  ·  view source on GitHub ↗
(keywordFilters, filterOutTsOnlyKeywords, isNewIdentifierLocation)

Source from the content-addressed store, hash-verified

132276 };
132277 }
132278 function keywordCompletionData(keywordFilters, filterOutTsOnlyKeywords, isNewIdentifierLocation) {
132279 return {
132280 kind: 4 /* CompletionDataKind.Keywords */,
132281 keywordCompletions: getKeywordCompletions(keywordFilters, filterOutTsOnlyKeywords),
132282 isNewIdentifierLocation: isNewIdentifierLocation,
132283 };
132284 }
132285 function keywordFiltersFromSyntaxKind(keywordCompletion) {
132286 switch (keywordCompletion) {
132287 case 152 /* SyntaxKind.TypeKeyword */: return 8 /* KeywordCompletionFilters.TypeKeyword */;

Callers 1

getCompletionDataFunction · 0.85

Calls 1

getKeywordCompletionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…