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

Function isFunctionLikeBodyKeyword

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

Source from the content-addressed store, hash-verified

135128 }
135129 }
135130 function isFunctionLikeBodyKeyword(kind) {
135131 return kind === 131 /* SyntaxKind.AsyncKeyword */
135132 || kind === 132 /* SyntaxKind.AwaitKeyword */
135133 || kind === 127 /* SyntaxKind.AsKeyword */
135134 || !ts.isContextualKeyword(kind) && !isClassMemberCompletionKeyword(kind);
135135 }
135136 function keywordForNode(node) {
135137 return ts.isIdentifier(node) ? node.originalKeywordKind || 0 /* SyntaxKind.Unknown */ : node.kind;
135138 }

Callers 1

Calls 1

Tested by

no test coverage detected