Searched refs:rangeToExtract (Results 1 – 2 of 2) sorted by relevance
/third_party/typescript/src/testRunner/unittests/services/extract/ |
D | helpers.ts | 110 …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/ |
D | extractSymbol.ts | 30 …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
|