(node)
| 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; |
| 80570 | } |
| 80571 | if (ts.isThisContainerOrFunctionBlock(node)) { |
| 80572 | return false; |
| 80573 | } |
| 80574 | return !!ts.forEachChild(node, nodeImmediatelyReferencesSuperOrThis); |
| 80575 | } |
| 80576 | function checkAccessorDeclaration(node) { |
| 80577 | addLazyDiagnostic(checkAccessorDeclarationDiagnostics); |
| 80578 | checkSourceElement(node.body); |
no test coverage detected
searching dependent graphs…