Home
last modified time | relevance | path

Searched refs:rangeToExtract (Results 1 – 2 of 2) sorted by relevance

/third_party/typescript/src/testRunner/unittests/services/extract/
Dhelpers.ts110 …const rangeToExtract = refactor.extractSymbol.getRangeToExtract(sourceFile, createTextSpanFromRang… constant
111 …assert.equal(rangeToExtract.errors, undefined, rangeToExtract.errors && "Range error: " + rangeToE…
173 …const rangeToExtract = refactor.extractSymbol.getRangeToExtract(sourceFile, createTextSpanFromRang… constant
174 …assert.isUndefined(rangeToExtract.errors, rangeToExtract.errors && "Range error: " + rangeToExtrac…
/third_party/typescript/src/services/refactors/
DextractSymbol.ts30 …const rangeToExtract = getRangeToExtract(context.file, getRefactorContextSpan(context), context.tr… constant
31 const targetRange = rangeToExtract.targetRange;
34 …if (!rangeToExtract.errors || rangeToExtract.errors.length === 0 || !context.preferences.provideRe…
43 …actions: [{ ...extractFunctionAction, notApplicableReason: getStringError(rangeToExtract.errors) }]
50 …actions: [{ ...extractConstantAction, notApplicableReason: getStringError(rangeToExtract.errors) }]
172 const rangeToExtract = getRangeToExtract(context.file, getRefactorContextSpan(context)); constant
173 const targetRange = rangeToExtract.targetRange!; // TODO:GH#18217