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

Function superCallIsRootLevelInConstructor

test/fixtures/snapshot/typescript.js:80563–80566  ·  view source on GitHub ↗
(superCall, body)

Source from the content-addressed store, hash-verified

80561 }
80562 }
80563 function superCallIsRootLevelInConstructor(superCall, body) {
80564 var superCallParent = ts.walkUpParenthesizedExpressions(superCall.parent);
80565 return ts.isExpressionStatement(superCallParent) && superCallParent.parent === body;
80566 }
80567 function nodeImmediatelyReferencesSuperOrThis(node) {
80568 if (node.kind === 106 /* SyntaxKind.SuperKeyword */ || node.kind === 108 /* SyntaxKind.ThisKeyword */) {
80569 return true;

Calls

no outgoing calls

Tested by

no test coverage detected