(node)
| 162572 | return isNonVariableTopLevelDeclaration(node) && ts.isSourceFile(node.parent) || ts.isVariableDeclaration(node) && ts.isSourceFile(node.parent.parent.parent); |
| 162573 | } |
| 162574 | function sourceFileOfTopLevelDeclaration(node) { |
| 162575 | return ts.isVariableDeclaration(node) ? node.parent.parent.parent : node.parent; |
| 162576 | } |
| 162577 | function isTopLevelDeclarationStatement(node) { |
| 162578 | ts.Debug.assert(ts.isSourceFile(node.parent), "Node parent should be a SourceFile"); |
| 162579 | return isNonVariableTopLevelDeclaration(node) || ts.isVariableStatement(node); |
no outgoing calls
no test coverage detected
searching dependent graphs…