(node, container)
| 71811 | return !!ts.findAncestor(node, function (n) { return n === threshold ? "quit" : ts.isFunctionLike(n) || (n.parent && ts.isPropertyDeclaration(n.parent) && !ts.hasStaticModifier(n.parent) && n.parent.initializer === n); }); |
| 71812 | } |
| 71813 | function getPartOfForStatementContainingNode(node, container) { |
| 71814 | return ts.findAncestor(node, function (n) { return n === container ? "quit" : n === container.initializer || n === container.condition || n === container.incrementor || n === container.statement; }); |
| 71815 | } |
| 71816 | function getEnclosingIterationStatement(node) { |
| 71817 | return ts.findAncestor(node, function (n) { return (!n || ts.nodeStartsNewLexicalEnvironment(n)) ? "quit" : ts.isIterationStatement(n, /*lookInLabeledStatements*/ false); }); |
| 71818 | } |
no outgoing calls
no test coverage detected