/third_party/typescript/tests/baselines/reference/ |
D | assignFromStringInterface2.types | 48 replace(searchValue: string, replaceValue: string): string; 49 …replaceValue: string): string; (searchValue: string, replaceValue: (substring: string, ...args: an… 51 >replaceValue : string 53 … replace(searchValue: string, replaceValue: (substring: string, ...args: any[]) => string): string; 54 …replaceValue: string): string; (searchValue: string, replaceValue: (substring: string, ...args: an… 56 >replaceValue : (substring: string, ...args: any[]) => string 60 replace(searchValue: RegExp, replaceValue: string): string; 61 …replaceValue: string): string; (searchValue: string, replaceValue: (substring: string, ...args: an… 63 >replaceValue : string 65 … replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): string; [all …]
|
D | regExpWithSlashInCharClass.types | 5 >"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…
|
D | assignFromStringInterface2.symbols | 55 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))
|
D | assignFromStringInterface2.js | 17 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;
|
D | assignFromStringInterface2.errors.txt | 22 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;
|
D | noImplicitAnyInContextuallyTypesFunctionParamter.types | 16 >''.replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string … 18 >replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | R…
|
D | overloadResolutionOverNonCTLambdas.types | 9 …// 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…
|
D | parserArgumentList1.types | 13 >node.className.replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchVa… 17 >replace : { (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | R…
|
D | 1.0lib-noErrors.types | 460 …* @param replaceValue A String object or string literal containing the text to replace for every s… 462 replace(searchValue: string, replaceValue: string): string; 463 …replaceValue: 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; 473 …replaceValue: 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 …]
|
D | stringLiteralTypeIsSubtypeOfString.js | 52 replace(searchValue: any, replaceValue: any): string { return null; } 132 C.prototype.replace = function (searchValue, replaceValue) { return null; }; argument
|
D | controlFlowPropertyDeclarations.types | 298 >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…
|
D | 1.0lib-noErrors.js | 334 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;
|
D | stringLiteralTypeIsSubtypeOfString.types | 159 replace(searchValue: any, replaceValue: any): string { return null; } 160 >replace : (searchValue: any, replaceValue: any) => string 162 >replaceValue : any
|
D | overloadResolutionOverNonCTLambdas.symbols | 9 …// replace(searchValue: RegExp, replaceValue: (substring: string, ...args: any[]) => string): stri…
|
/third_party/node/deps/v8/src/builtins/ |
D | string-replaceall.tq | 36 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 …]
|
D | regexp-replace.tq | 178 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/ |
D | assignFromStringInterface2.ts | 16 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/ |
D | es2015.symbol.wellknown.d.ts | 176 [Symbol.replace](string: string, replaceValue: string): string; 226 …lace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValu…
|
D | es2021.string.d.ts | 7 replaceAll(searchValue: string | RegExp, replaceValue: string): string;
|
/third_party/typescript/lib/ |
D | lib.es2015.symbol.wellknown.d.ts | 196 [Symbol.replace](string: string, replaceValue: string): string; 246 …lace(searchValue: { [Symbol.replace](string: string, replaceValue: string): string; }, replaceValu…
|
D | lib.es2021.string.d.ts | 27 replaceAll(searchValue: string | RegExp, replaceValue: string): string;
|
D | lib.esnext.string.d.ts | 27 replaceAll(searchValue: string | RegExp, replaceValue: string): string;
|
/third_party/typescript/tests/cases/conformance/decorators/ |
D | 1.0lib-noErrors.ts | 334 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/ |
D | stringLiteralTypeIsSubtypeOfString.ts | 51 replace(searchValue: any, replaceValue: any): string { return null; }
|
/third_party/typescript/src/testRunner/unittests/tscWatch/ |
D | helpers.ts | 405 …aceFileText(sys: WatchedSystem, file: string, searchValue: string | RegExp, replaceValue: string) { 407 sys.writeFile(file, content.replace(searchValue, replaceValue));
|