MCPcopy Create free account
hub / github.com/nodejs/node / isMemberCompletionKind

Function isMemberCompletionKind

test/fixtures/snapshot/typescript.js:132350–132359  ·  view source on GitHub ↗
(kind)

Source from the content-addressed store, hash-verified

132348 return ts.isSourceFileJS(sourceFile) && !ts.isCheckJsEnabledForFile(sourceFile, compilerOptions);
132349 }
132350 function isMemberCompletionKind(kind) {
132351 switch (kind) {
132352 case 0 /* CompletionKind.ObjectPropertyDeclaration */:
132353 case 3 /* CompletionKind.MemberLike */:
132354 case 2 /* CompletionKind.PropertyAccess */:
132355 return true;
132356 default:
132357 return false;
132358 }
132359 }
132360 function getJsxClosingTagCompletion(location, sourceFile) {
132361 // We wanna walk up the tree till we find a JSX closing element
132362 var jsxClosingElement = ts.findAncestor(location, function (node) {

Callers 1

completionInfoFromDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected