Home
last modified time | relevance | path

Searched refs:replaceText (Results 1 – 19 of 19) sorted by relevance

/third_party/typescript/src/testRunner/unittests/tsbuild/
DoutFile.ts36 modifyFs: fs => replaceText(fs, "/src/first/first_PART1.ts", "Hello", "Hola"),
80 modifyFs: fs => replaceText(fs, "/src/third/tsconfig.json", `"composite": true,`, ""),
88 …modifyFs: fs => replaceText(fs, "/src/third/tsconfig.json", `"composite": true,`, `"incremental": …
97 …modifyFs: fs => replaceText(fs, "/src/third/tsconfig.json", `"composite": true,`, `"composite": tr…
136 modifyFs: fs => replaceText(fs, "/src/third/tsconfig.json", `"composite": true,`, ""),
157 modifyFs: fs => replaceText(fs, "/src/third/tsconfig.json", `"composite": true,`, ""),
370 replaceText(fs, file, `"removeComments": true`, `"removeComments": false`);
380replaceText(fs, "/src/third/tsconfig.json", `"declaration": true,`, `"declaration": true,
390replaceText(fs, "/src/first/first_PART1.ts", "interface", `${internal} interface`);
423 …modifyAgainFs: fs => replaceText(fs, "/src/first/first_PART1.ts", `/*@internal*/ interface`, "inte…
[all …]
DemitDeclarationOnly.ts18 (fs => replaceText(fs, "/src/tsconfig.json", `"declarationMap": true,`, "")) :
22 modifyFs: fs => replaceText(fs, "/src/src/a.ts", "b: B;", "b: B; foo: any;"),
36replaceText(fs, "/src/src/a.ts", `import { B } from "./b";`, `export class B { prop = "hello"; }`);
41 … modifyFs: fs => replaceText(fs, "/src/src/a.ts", "export interface A {", `class C { }
47 modifyFs: fs => replaceText(fs, "/src/src/a.ts", "b: B;", "b: B; foo: any;"),
DamdModulesWithOut.ts106replaceText(fs, "/src/app/tsconfig.json", `"composite": true,`, `"composite": true,
108 replaceText(fs, "/src/lib/file0.ts", "const", `${internal} const`);
141 …modifyAgainFs: fs => replaceText(fs, "/src/lib/file1.ts", `export const`, `/*@internal*/ export co…
148replaceText(fs, "/src/lib/tsconfig.json", `"outFile": "module.js"`, `"outFile": "../module.js", "r…
150 replaceText(fs, "/src/app/file3.ts", "file1", "lib/file1");
DinferredTypeFromTransitiveModule.ts72 modifyFs: fs => replaceText(fs, "/src/lazyIndex.ts", `bar("hello")`, "bar()")
79replaceText(fs, "/src/tsconfig.json", `"incremental": true`, `"incremental": true, "isolatedModule…
83 replaceText(fs, "/src/bar.ts", "param: string", "");
87 replaceText(fs, "/src/bar.ts", "foobar()", "foobar(param: string)");
Dsample.ts60 … modifyFs: fs => replaceText(fs, "/src/core/tsconfig.json", `"composite": true,`, ""),
132 … modifyFs: fs => replaceText(fs, "/src/core/index.ts", "HELLO WORLD", "WELCOME PLANET"),
136 …modifyFs: fs => replaceText(fs, "/src/tests/tsconfig.json", `"composite": true`, `"composite": tru…
226replaceText(fs, "/src/tests/tsconfig.json", `"references": [`, `"extends": "./tsconfig.base.json",…
324 … modifyFs: fs => replaceText(fs, "/src/logic/index.ts", "c.multiply(10, 15)", `c.muitply()`),
441 …modifyFs: fs => replaceText(fs, "/src/logic/tsconfig.json", `"declaration": true,`, `"declaration"…
452 …modifyFs: fs => replaceText(fs, "/src/logic/tsconfig.json", `"composite": true,`, `"composite": tr…
472 …modifyFs: fs => replaceText(fs, "/src/core/tsconfig.json", `"incremental": true,`, `"incremental":…
498 modifyFs: fs => replaceText(fs, "/src/core/tsconfig.json", "esnext", "es5"),
515 …modifyFs: fs => replaceText(fs, "/src/core/tsconfig.json", `"module": "commonjs"`, `"module": "amd…
[all …]
DresolveJsonModule.ts59 …modifyFs: fs => replaceText(fs, "src/tsconfig_withFiles.json", `"composite": true,`, `"composite":…
68 modifyFs: fs => replaceText(fs, "src/tsconfig_withFiles.json", `"outDir": "dist",`, ""),
DlateBoundSymbol.ts11 modifyFs: fs => replaceText(fs, "/src/src/main.ts", "const x = 10;", ""),
Ddemo.ts24 modifyFs: fs => replaceText(
DconfigFileErrors.ts39 modifyFs: fs => replaceText(fs, "/src/tsconfig.json", ",", `,
DcontainerOnlyReferenced.ts38 modifyFs: fs => replaceText(fs, "/src/project3/src/c.ts", "c = ", "cc = "),
DreferencesWithRootDirInParent.ts24 modifyFs: fs => replaceText(fs, "/src/tsconfig.base.json", `"rootDir": "./src/",`, ""),
DjavascriptProjectEmit.ts181 modifyFs: fs => replaceText(fs, "/src/sub-project/index.js", "null", "undefined")
Dhelpers.ts22 … export function replaceText(fs: vfs.FileSystem, path: string, oldText: string, newText: string) { function
663 replaceText(fs, path, `"strict": false`, `"strict": true`);
691replaceText(fs, `src/${project}/${file}.ts`, restContent(project, file), nonrestContent(project, f…
699replaceText(fs, `src/${project}/${file}.ts`, nonrestContent(project, file), restContent(project, f…
710 replaceText(fs, `src/${project}/tsconfig.json`, `"strict": false,`, `"strict": false,
/third_party/typescript/src/testRunner/unittests/tsc/
Dincremental.ts183 … modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop", "prop1"),
192 … modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop1", "prop"),
201 … modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop", "prop1"),
211 … modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop1", "prop"),
233 … modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop", "prop1"),
237 … modifyFs: fs => replaceText(fs, "/src/project/src/class.ts", "prop1", "prop"),
572 … modifyFs: fs => replaceText(fs, "/src/project/MessageablePerson.ts", "public", "protected"),
576 … modifyFs: fs => replaceText(fs, "/src/project/MessageablePerson.ts", "protected", "public"),
Dcomposite.ts101 modifyFs: fs => replaceText(fs, "/src/project/tsconfig.json", "none", "es2015"),
/third_party/node/deps/icu-small/source/tools/genrb/
Dprscmnts.cpp49 UnicodeString replaceText, UErrorCode *status){ in removeText() argument
64 dest = myMatcher.replaceAll(replaceText,*status); in removeText()
/third_party/skia/third_party/externals/icu/source/tools/genrb/
Dprscmnts.cpp49 UnicodeString replaceText, UErrorCode *status){ in removeText() argument
64 dest = myMatcher.replaceAll(replaceText,*status); in removeText()
/third_party/icu/icu4c/source/tools/genrb/
Dprscmnts.cpp49 UnicodeString replaceText, UErrorCode *status){ in removeText() argument
64 dest = myMatcher.replaceAll(replaceText,*status); in removeText()
/third_party/typescript/scripts/
Dword2md.mjs102 * @param {string} replaceText
105 function findReplace(findText, findOptions, replaceText, replaceOptions) { argument
121 replaceText,