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

Function keywordForNode

test/fixtures/snapshot/typescript.js:135136–135138  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

135134 || !ts.isContextualKeyword(kind) && !isClassMemberCompletionKeyword(kind);
135135 }
135136 function keywordForNode(node) {
135137 return ts.isIdentifier(node) ? node.originalKeywordKind || 0 /* SyntaxKind.Unknown */ : node.kind;
135138 }
135139 function getContextualKeywords(contextToken, position) {
135140 var entries = [];
135141 /**

Calls

no outgoing calls

Tested by

no test coverage detected