(context)
| 150222 | } |
| 150223 | refactor_1.registerRefactor = registerRefactor; |
| 150224 | function getApplicableRefactors(context) { |
| 150225 | return ts.arrayFrom(ts.flatMapIterator(refactors.values(), function (refactor) { |
| 150226 | var _a; |
| 150227 | return context.cancellationToken && context.cancellationToken.isCancellationRequested() || |
| 150228 | !((_a = refactor.kinds) === null || _a === void 0 ? void 0 : _a.some(function (kind) { return refactor_1.refactorKindBeginsWith(kind, context.kind); })) ? undefined : |
| 150229 | refactor.getAvailableActions(context); |
| 150230 | })); |
| 150231 | } |
| 150232 | refactor_1.getApplicableRefactors = getApplicableRefactors; |
| 150233 | function getEditsForRefactor(context, refactorName, actionName) { |
| 150234 | var refactor = refactors.get(refactorName); |
nothing calls this directly
no test coverage detected