Home
last modified time | relevance | path

Searched refs:newContent (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/third_party/typescript/tests/cases/fourslash/
DrefactorConvertExport_exportNodeKinds.ts73 const newContent = tests[name]; constant
76 if (newContent === undefined) {
84 newContent: { [fileName]: newContent },
DrefactorConvertParamsToDestructuredObject_tupleRestParam.ts26 newContent: `function fn1({ a, b, args }: { a: number; b: number; args: [number, number]; }) { }
35newContent: `function fn2({ a, b, args }: { a: number; b: number; args: [number, number, ...string…
45 newContent: `function fn3({ b, c }: { b: boolean; c: []; }) { }
54 newContent: `function fn4({ a, args = [] }: { a: number; args?: [...string[]]; }) { }
DtypeExtractionDoesNotDuplicateTrailingComment.ts14 newContent: `type /*RENAME*/NewType = {
30 newContent: `type NewType = {
50 newContent: `type NewType = {
DrefactorConvertParamsToDestructuredObject_methodOverrides.ts19 newContent: `class A {
35 newContent: `class A {
DrefactorConvertToGetAccessAndSetAccess23.ts13 newContent: `class A {
30 newContent: `class A {
Dextract-method13.ts17 newContent:
44 newContent:
DrefactorConvertArrowFunctionOrFunctionExpression_ToArrow_EmptyReturn.ts12 newContent: `const foo = () => {
Dextract-unterminated2.ts11 newContent: `const foo = /*RENAME*/newFunction()
Dextract-method31.ts20 newContent:
DrefactorExtractType29.ts10 newContent: `type /*RENAME*/NewType<P> = P;
DrefactorExtractType23.ts10 newContent: `type /*RENAME*/NewType<U> = U;
DrefactorConvertParamsToDestructuredObject_superCall.ts17 newContent: `class A {
DrefactorConvertToGetAccessAndSetAccess34.ts12 newContent: `const A = {
DrefactorAddOrRemoveBracesToArrowFunction11.ts10 newContent: `const foo = a => (1, 2, 3);`,
DrefactorConvertParamsToDestructuredObject_classExpressionHeritage.ts18 newContent: `const foo = class Foo {
DrefactorConvertParamsToDestructuredObject_functionComments2.ts17 newContent: `function foo(// comment
DrefactorAddOrRemoveBracesToArrowFunction13.ts10 newContent: `const foo = a => null;`,
DrefactorConvertArrowFunctionOrFunctionExpression_ToAnon_SingleLine.ts10 newContent: `const foo = function() {
DrefactorConvertParamsToDestructuredObject_shorthandProperty.ts18 newContent: `function f({ a, b, rest = [] }: { a: number; b: number; rest?: string[]; }) { }
DtextChangesPreserveNewlines3.ts19 newContent:
DrefactorExtractType13.ts14 newContent: `type /*RENAME*/NewType = boolean;
DrefactorConvertArrowFunctionOrFunctionExpression_ToNamed_SingleLine.ts10 newContent: `function foo() {
Dextract-method2.ts17 newContent:
/third_party/typescript/src/testRunner/unittests/tscWatch/
DresolutionCache.ts26 const newContent = `import {x} from "f1" constant
28 root.content = newContent;
40 …icOfFileFromProgram(watch.getCurrentProgram().getProgram(), root.path, newContent.indexOf("var x")…
79 const newContent = `import {x} from "f1"`; constant
80 root.content = newContent;
/third_party/typescript/src/instrumenter/
Dinstrumenter.ts40 …const newContent = tscContent.substr(0, index1) + loggerContent + prepareCode + invocationLine + c… constant
41 fs.writeFile(tscPath, newContent, err => {

12345678910>>...16