Home
last modified time | relevance | path

Searched refs:replaceValue (Results 1 – 25 of 34) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DassignFromStringInterface2.types48 replace(searchValue: string, replaceValue: string): string;
49replaceValue: string): string; (searchValue: string, replaceValue: (substring: string, ...args: an…
51 >replaceValue : string
53 … replace(searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string;
54replaceValue: string): string; (searchValue: string, replaceValue: (substring: string, ...args: an…
56 >replaceValue : (substring: string, ...args: any[]) => string
60 replace(searchValue: RegExp, replaceValue: string): string;
61replaceValue: string): string; (searchValue: string, replaceValue: (substring: string, ...args: an…
63 >replaceValue : string
65 … replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string;
[all …]
DregExpWithSlashInCharClass.types5 >"a/".replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: strin…
7 >replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | R…
14 >"a//".replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: stri…
16 >replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | R…
23 >"a/".replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: strin…
25 >replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | R…
DassignFromStringInterface2.symbols55 replace(searchValue: string, replaceValue: string): string;
58 >replaceValue : Symbol(replaceValue, Decl(assignFromStringInterface2.ts, 15, 32))
60 … replace(searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string;
63 >replaceValue : Symbol(replaceValue, Decl(assignFromStringInterface2.ts, 16, 32))
67 replace(searchValue: RegExp, replaceValue: string): string;
71 >replaceValue : Symbol(replaceValue, Decl(assignFromStringInterface2.ts, 17, 32))
73 … replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string;
77 >replaceValue : Symbol(replaceValue, Decl(assignFromStringInterface2.ts, 18, 32))
DassignFromStringInterface2.js17 replace(searchValue: string, replaceValue: string): string;
18 … replace(searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string;
19 replace(searchValue: RegExp, replaceValue: string): string;
20 … replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string;
DassignFromStringInterface2.errors.txt22 replace(searchValue: string, replaceValue: string): string;
23 … replace(searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string;
24 replace(searchValue: RegExp, replaceValue: string): string;
25 … replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string;
DnoImplicitAnyInContextuallyTypesFunctionParamter.types16 >''.replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string …
18 >replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | R…
DoverloadResolutionOverNonCTLambdas.types9 …// replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): stri…
18 >message.replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: st…
20 >replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | R…
DparserArgumentList1.types13 >node.className.replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchVa…
17 >replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | R…
D1.0lib-noErrors.types460 …* @param replaceValue A String object or string literal containing the text to replace for every s…
462 replace(searchValue: string, replaceValue: string): string;
463replaceValue: string): string; (searchValue: string, replaceValue: (substring: string, ...args: an…
465 >replaceValue : string
470 * @param replaceValue A function that returns the replacement text.
472 … replace(searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string;
473replaceValue: string): string; (searchValue: string, replaceValue: (substring: string, ...args: an…
475 >replaceValue : (substring: string, ...args: any[]) => string
482 …* @param replaceValue A String object or string literal containing the text to replace for every s…
484 replace(searchValue: RegExp, replaceValue: string): string;
[all …]
DstringLiteralTypeIsSubtypeOfString.js52 replace(searchValue: any, replaceValue: any): string { return null; }
132 C.prototype.replace = function (searchValue, replaceValue) { return null; }; argument
DcontrolFlowPropertyDeclarations.types298 >text .replace(/\r/g, '') .replace : { (searchValue: string | RegExp, replaceValue: s…
300 >text .replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValu…
304 >replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | R…
309 >replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | R…
D1.0lib-noErrors.js334 replace(searchValue: string, replaceValue: string): string;
341 … replace(searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string;
348 replace(searchValue: RegExp, replaceValue: string): string;
355 … replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string;
DstringLiteralTypeIsSubtypeOfString.types159 replace(searchValue: any, replaceValue: any): string { return null; }
160 >replace : (searchValue: any, replaceValue: any) => string
162 >replaceValue : any
DoverloadResolutionOverNonCTLambdas.symbols9 …// replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): stri…
/third_party/node/deps/v8/src/builtins/
Dstring-replaceall.tq36 searchValue: JSAny, replaceValue: JSAny): JSAny {
56 // i. Return ? Call(replacer, searchValue, « O, replaceValue »).
60 return Call(context, replacer, searchValue, receiver, replaceValue);
70 // 5. Let functionalReplace be IsCallable(replaceValue).
71 let replaceValueArg = replaceValue;
72 const functionalReplace = Is<Callable>(replaceValue);
76 // a. Let replaceValue be ? ToString(replaceValue).
77 replaceValueArg = ToString_Inline(replaceValue);
106 // i. Let replacement be ? ToString(? Call(replaceValue, undefined,
113 // i. Assert: Type(replaceValue) is String.
[all …]
Dregexp-replace.tq178 regexp: FastJSRegExp, string: String, replaceValue: JSAny): String {
184 typeswitch (replaceValue) {
192 const replaceString: String = ToString_Inline(replaceValue);
195 // ToString(replaceValue) could potentially change the shape of the
238 const replaceValue: JSAny = arguments[1];
252 return RegExpReplace(fastRx, s, replaceValue);
255 return RegExpReplaceRT(context, rx, s, replaceValue);
/third_party/typescript/tests/cases/conformance/types/primitives/string/
DassignFromStringInterface2.ts16 replace(searchValue: string, replaceValue: string): string;
17 … replace(searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string;
18 replace(searchValue: RegExp, replaceValue: string): string;
19 … replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string;
/third_party/typescript/src/lib/
Des2015.symbol.wellknown.d.ts176 [Symbol.replace](string: string, replaceValue: string): string;
226 …lace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValu…
Des2021.string.d.ts7 replaceAll(searchValue: string | RegExp, replaceValue: string): string;
/third_party/typescript/lib/
Dlib.es2015.symbol.wellknown.d.ts196 [Symbol.replace](string: string, replaceValue: string): string;
246 …lace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValu…
Dlib.es2021.string.d.ts27 replaceAll(searchValue: string | RegExp, replaceValue: string): string;
Dlib.esnext.string.d.ts27 replaceAll(searchValue: string | RegExp, replaceValue: string): string;
/third_party/typescript/tests/cases/conformance/decorators/
D1.0lib-noErrors.ts334 replace(searchValue: string, replaceValue: string): string;
341 … replace(searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string;
348 replace(searchValue: RegExp, replaceValue: string): string;
355 … replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string;
/third_party/typescript/tests/cases/conformance/types/typeRelationships/subtypesAndSuperTypes/
DstringLiteralTypeIsSubtypeOfString.ts51 replace(searchValue: any, replaceValue: any): string { return null; }
/third_party/typescript/src/testRunner/unittests/tscWatch/
Dhelpers.ts405 …aceFileText(sys: WatchedSystem, file: string, searchValue: string | RegExp, replaceValue: string) {
407 sys.writeFile(file, content.replace(searchValue, replaceValue));

12