MCPcopy Index your code
hub / github.com/nodejs/node / getEditsForRefactor

Function getEditsForRefactor

test/fixtures/snapshot/typescript.js:150233–150236  ·  view source on GitHub ↗
(context, refactorName, actionName)

Source from the content-addressed store, hash-verified

150231 }
150232 refactor_1.getApplicableRefactors = getApplicableRefactors;
150233 function getEditsForRefactor(context, refactorName, actionName) {
150234 var refactor = refactors.get(refactorName);
150235 return refactor && refactor.getEditsForAction(context, actionName);
150236 }
150237 refactor_1.getEditsForRefactor = getEditsForRefactor;
150238 })(refactor = ts.refactor || (ts.refactor = {}));
150239})(ts || (ts = {}));

Callers

nothing calls this directly

Calls 4

synchronizeHostDataFunction · 0.85
getValidSourceFileFunction · 0.85
getRefactorContextFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected