(targetRange, context)
| 160629 | return extractions; |
| 160630 | } |
| 160631 | function getPossibleExtractionsWorker(targetRange, context) { |
| 160632 | var sourceFile = context.file; |
| 160633 | var scopes = collectEnclosingScopes(targetRange); |
| 160634 | var enclosingTextRange = getEnclosingTextRange(targetRange, sourceFile); |
| 160635 | var readsAndWrites = collectReadsAndWrites(targetRange, scopes, enclosingTextRange, sourceFile, context.program.getTypeChecker(), context.cancellationToken); |
| 160636 | return { scopes: scopes, readsAndWrites: readsAndWrites }; |
| 160637 | } |
| 160638 | function getDescriptionForFunctionInScope(scope) { |
| 160639 | return ts.isFunctionLikeDeclaration(scope) |
| 160640 | ? "inner function" |
no test coverage detected
searching dependent graphs…