Home
last modified time | relevance | path

Searched refs:fn3 (Results 1 – 25 of 161) sorted by relevance

1234567

/third_party/typescript/tests/baselines/reference/
DtaggedTemplateStringsWithOverloadResolution3_ES6.js29 function fn3<T>(strs: TemplateStringsArray, n: T): string;
30 function fn3<T, U>(strs: TemplateStringsArray, s: string, t: T, u: U): U;
31 function fn3<T, U, V>(strs: TemplateStringsArray, v: V, u: U, t: T): number;
32 function fn3() { return null; } function
34 var s = fn3 `${ 3 }`;
35 var s = fn3 `${'' }${ 3 }${ '' }`;
36 var n = fn3 `${ 5 }${ 5 }${ 5 }`;
40 var s = fn3 `${ 4 }`
41 var s = fn3 `${ '' }${ '' }${ '' }`;
42 var n = fn3 `${ '' }${ '' }${ 3 }`;
[all …]
DtaggedTemplateStringsWithOverloadResolution3.js29 function fn3<T>(strs: TemplateStringsArray, n: T): string;
30 function fn3<T, U>(strs: TemplateStringsArray, s: string, t: T, u: U): U;
31 function fn3<T, U, V>(strs: TemplateStringsArray, v: V, u: U, t: T): number;
32 function fn3() { return null; } function
34 var s = fn3 `${ 3 }`;
35 var s = fn3 `${'' }${ 3 }${ '' }`;
36 var n = fn3 `${ 5 }${ 5 }${ 5 }`;
40 var s = fn3 `${ 4 }`
41 var s = fn3 `${ '' }${ '' }${ '' }`;
42 var n = fn3 `${ '' }${ '' }${ 3 }`;
[all …]
DoverloadResolutionClassConstructors.types103 class fn3<T, U, V> {
104 >fn3 : fn3<T, U, V>
122 new fn3(3);
123 >new fn3(3) : fn3<number, unknown, unknown>
124 >fn3 : typeof fn3
127 new fn3('', 3, '');
128 >new fn3('', 3, '') : fn3<number, string, unknown>
129 >fn3 : typeof fn3
134 new fn3(5, 5, 5);
135 >new fn3(5, 5, 5) : fn3<number, number, number>
[all …]
DoverloadResolution.js48 function fn3<T>(n: T): string;
49 function fn3<T, U>(s: string, t: T, u: U): U;
50 function fn3<T, U, V>(v: V, u: U, t: T): number;
51 function fn3() { return null; } function
53 var s = fn3(3);
54 var s = fn3('', 3, '');
55 var n = fn3(5, 5, 5);
59 var s = fn3<number>(4);
60 var s = fn3<string, string>('', '', '');
61 var n = fn3<number, string, string>('', '', 3);
[all …]
DoverloadResolutionClassConstructors.js49 class fn3<T, U, V> { class
56 new fn3(3);
57 new fn3('', 3, '');
58 new fn3(5, 5, 5);
61 new fn3<number>(4); // Error
62 new fn3<string, string>('', '', ''); // Error
63 new fn3<number, string, string>('', '', 3);
66 new fn3<number, number, number, number>(); // Error
169 var fn3 = /** @class */ (function () { function
170 function fn3() { function
[all …]
DoverloadResolutionConstructors.js50 interface fn3 {
55 var fn3: fn3; variable
57 var s = new fn3(3);
58 var s = new fn3('', 3, '');
59 var n = new fn3(5, 5, 5);
63 var s = new fn3<number>(4);
64 var s = new fn3<string, string>('', '', '');
65 var n = new fn3<number, string, string>('', '', 3);
68 new fn3<number, number, number, number>(); // Error
162 var fn3; variable
[all …]
DoverloadResolutionConstructors.types105 interface fn3 {
119 var fn3: fn3;
120 >fn3 : fn3
122 var s = new fn3(3);
124 >new fn3(3) : string
125 >fn3 : fn3
128 var s = new fn3('', 3, '');
130 >new fn3('', 3, '') : ""
131 >fn3 : fn3
136 var n = new fn3(5, 5, 5);
[all …]
DoverloadResolutionClassConstructors.symbols93 class fn3<T, U, V> {
94 >fn3 : Symbol(fn3, Decl(overloadResolutionClassConstructors.ts, 44, 15))
121 new fn3(3);
122 >fn3 : Symbol(fn3, Decl(overloadResolutionClassConstructors.ts, 44, 15))
124 new fn3('', 3, '');
125 >fn3 : Symbol(fn3, Decl(overloadResolutionClassConstructors.ts, 44, 15))
127 new fn3(5, 5, 5);
128 >fn3 : Symbol(fn3, Decl(overloadResolutionClassConstructors.ts, 44, 15))
131 new fn3<number>(4); // Error
132 >fn3 : Symbol(fn3, Decl(overloadResolutionClassConstructors.ts, 44, 15))
[all …]
DtaggedTemplateStringsWithOverloadResolution3.symbols74 function fn3<T>(strs: TemplateStringsArray, n: T): string;
75 >fn3 : Symbol(fn3, Decl(taggedTemplateStringsWithOverloadResolution3.ts, 24, 20), Decl(taggedTempla…
82 function fn3<T, U>(strs: TemplateStringsArray, s: string, t: T, u: U): U;
83 >fn3 : Symbol(fn3, Decl(taggedTemplateStringsWithOverloadResolution3.ts, 24, 20), Decl(taggedTempla…
95 function fn3<T, U, V>(strs: TemplateStringsArray, v: V, u: U, t: T): number;
96 >fn3 : Symbol(fn3, Decl(taggedTemplateStringsWithOverloadResolution3.ts, 24, 20), Decl(taggedTempla…
109 function fn3() { return null; }
110 >fn3 : Symbol(fn3, Decl(taggedTemplateStringsWithOverloadResolution3.ts, 24, 20), Decl(taggedTempla…
112 var s = fn3 `${ 3 }`;
114 >fn3 : Symbol(fn3, Decl(taggedTemplateStringsWithOverloadResolution3.ts, 24, 20), Decl(taggedTempla…
[all …]
DtaggedTemplateStringsWithOverloadResolution3_ES6.symbols74 function fn3<T>(strs: TemplateStringsArray, n: T): string;
75 >fn3 : Symbol(fn3, Decl(taggedTemplateStringsWithOverloadResolution3_ES6.ts, 24, 20), Decl(taggedTe…
82 function fn3<T, U>(strs: TemplateStringsArray, s: string, t: T, u: U): U;
83 >fn3 : Symbol(fn3, Decl(taggedTemplateStringsWithOverloadResolution3_ES6.ts, 24, 20), Decl(taggedTe…
95 function fn3<T, U, V>(strs: TemplateStringsArray, v: V, u: U, t: T): number;
96 >fn3 : Symbol(fn3, Decl(taggedTemplateStringsWithOverloadResolution3_ES6.ts, 24, 20), Decl(taggedTe…
109 function fn3() { return null; }
110 >fn3 : Symbol(fn3, Decl(taggedTemplateStringsWithOverloadResolution3_ES6.ts, 24, 20), Decl(taggedTe…
112 var s = fn3 `${ 3 }`;
114 >fn3 : Symbol(fn3, Decl(taggedTemplateStringsWithOverloadResolution3_ES6.ts, 24, 20), Decl(taggedTe…
[all …]
DoverloadResolutionConstructors.symbols103 interface fn3 {
104 >fn3 : Symbol(fn3, Decl(overloadResolutionConstructors.ts, 45, 15), Decl(overloadResolutionConstruc…
132 var fn3: fn3;
133 >fn3 : Symbol(fn3, Decl(overloadResolutionConstructors.ts, 45, 15), Decl(overloadResolutionConstruc…
134 >fn3 : Symbol(fn3, Decl(overloadResolutionConstructors.ts, 45, 15), Decl(overloadResolutionConstruc…
136 var s = new fn3(3);
138 >fn3 : Symbol(fn3, Decl(overloadResolutionConstructors.ts, 45, 15), Decl(overloadResolutionConstruc…
140 var s = new fn3('', 3, '');
142 >fn3 : Symbol(fn3, Decl(overloadResolutionConstructors.ts, 45, 15), Decl(overloadResolutionConstruc…
144 var n = new fn3(5, 5, 5);
[all …]
DoverloadResolution.types111 function fn3<T>(n: T): string;
112 >fn3 : { <T>(n: T): string; <T, U>(s: string, t: T, u: U): U; <T, U, V>(v: V, u: U, t: T): number; }
115 function fn3<T, U>(s: string, t: T, u: U): U;
116 >fn3 : { <T>(n: T): string; <T, U>(s: string, t: T, u: U): U; <T, U, V>(v: V, u: U, t: T): number; }
121 function fn3<T, U, V>(v: V, u: U, t: T): number;
122 >fn3 : { <T>(n: T): string; <T, U>(s: string, t: T, u: U): U; <T, U, V>(v: V, u: U, t: T): number; }
127 function fn3() { return null; }
128 >fn3 : { <T>(n: T): string; <T, U>(s: string, t: T, u: U): U; <T, U, V>(v: V, u: U, t: T): number; }
131 var s = fn3(3);
133 >fn3(3) : string
[all …]
DtaggedTemplateStringsWithOverloadResolution3_ES6.types90 function fn3<T>(strs: TemplateStringsArray, n: T): string;
91 >fn3 : { <T>(strs: TemplateStringsArray, n: T): string; <T, U>(strs: TemplateStringsArray, s: strin…
95 function fn3<T, U>(strs: TemplateStringsArray, s: string, t: T, u: U): U;
96 >fn3 : { <T>(strs: TemplateStringsArray, n: T): string; <T, U>(strs: TemplateStringsArray, s: strin…
102 function fn3<T, U, V>(strs: TemplateStringsArray, v: V, u: U, t: T): number;
103 >fn3 : { <T>(strs: TemplateStringsArray, n: T): string; <T, U>(strs: TemplateStringsArray, s: strin…
109 function fn3() { return null; }
110 >fn3 : { <T>(strs: TemplateStringsArray, n: T): string; <T, U>(strs: TemplateStringsArray, s: strin…
113 var s = fn3 `${ 3 }`;
115 >fn3 `${ 3 }` : string
[all …]
DtaggedTemplateStringsWithOverloadResolution3.types90 function fn3<T>(strs: TemplateStringsArray, n: T): string;
91 >fn3 : { <T>(strs: TemplateStringsArray, n: T): string; <T, U>(strs: TemplateStringsArray, s: strin…
95 function fn3<T, U>(strs: TemplateStringsArray, s: string, t: T, u: U): U;
96 >fn3 : { <T>(strs: TemplateStringsArray, n: T): string; <T, U>(strs: TemplateStringsArray, s: strin…
102 function fn3<T, U, V>(strs: TemplateStringsArray, v: V, u: U, t: T): number;
103 >fn3 : { <T>(strs: TemplateStringsArray, n: T): string; <T, U>(strs: TemplateStringsArray, s: strin…
109 function fn3() { return null; }
110 >fn3 : { <T>(strs: TemplateStringsArray, n: T): string; <T, U>(strs: TemplateStringsArray, s: strin…
113 var s = fn3 `${ 3 }`;
115 >fn3 `${ 3 }` : string
[all …]
DoverloadResolution.symbols102 function fn3<T>(n: T): string;
103 >fn3 : Symbol(fn3, Decl(overloadResolution.ts, 43, 11), Decl(overloadResolution.ts, 46, 30), Decl(o…
108 function fn3<T, U>(s: string, t: T, u: U): U;
109 >fn3 : Symbol(fn3, Decl(overloadResolution.ts, 43, 11), Decl(overloadResolution.ts, 46, 30), Decl(o…
119 function fn3<T, U, V>(v: V, u: U, t: T): number;
120 >fn3 : Symbol(fn3, Decl(overloadResolution.ts, 43, 11), Decl(overloadResolution.ts, 46, 30), Decl(o…
131 function fn3() { return null; }
132 >fn3 : Symbol(fn3, Decl(overloadResolution.ts, 43, 11), Decl(overloadResolution.ts, 46, 30), Decl(o…
134 var s = fn3(3);
136 >fn3 : Symbol(fn3, Decl(overloadResolution.ts, 43, 11), Decl(overloadResolution.ts, 46, 30), Decl(o…
[all …]
DfunctionNameConflicts.symbols21 function fn3() { }
22 >fn3 : Symbol(fn3, Decl(functionNameConflicts.ts, 9, 1))
24 var fn3;
25 >fn3 : Symbol(fn3, Decl(functionNameConflicts.ts, 12, 3))
DfunctionNameConflicts.js13 function fn3() { } function
14 var fn3; variable
40 function fn3() { }
41 var fn3; variable
/third_party/typescript/tests/cases/conformance/expressions/functionCalls/
DoverloadResolution.ts47 function fn3<T>(n: T): string; function
48 function fn3<T, U>(s: string, t: T, u: U): U;
49 function fn3<T, U, V>(v: V, u: U, t: T): number;
50 function fn3() { return null; }
52 var s = fn3(3);
53 var s = fn3('', 3, '');
54 var n = fn3(5, 5, 5);
58 var s = fn3<number>(4);
59 var s = fn3<string, string>('', '', '');
60 var n = fn3<number, string, string>('', '', 3);
[all …]
DoverloadResolutionConstructors.ts49 interface fn3 { interface
54 var fn3: fn3; variable
56 var s = new fn3(3);
57 var s = new fn3('', 3, '');
58 var n = new fn3(5, 5, 5);
62 var s = new fn3<number>(4);
63 var s = new fn3<string, string>('', '', '');
64 var n = new fn3<number, string, string>('', '', 3);
67 new fn3<number, number, number, number>(); // Error
DoverloadResolutionClassConstructors.ts48 class fn3<T, U, V> { class
55 new fn3(3);
56 new fn3('', 3, '');
57 new fn3(5, 5, 5);
60 new fn3<number>(4); // Error
61 new fn3<string, string>('', '', ''); // Error
62 new fn3<number, string, string>('', '', 3);
65 new fn3<number, number, number, number>(); // Error
/third_party/typescript/tests/cases/conformance/es6/templates/
DtaggedTemplateStringsWithOverloadResolution3.ts29 function fn3<T>(strs: TemplateStringsArray, n: T): string; function
30 function fn3<T, U>(strs: TemplateStringsArray, s: string, t: T, u: U): U;
31 function fn3<T, U, V>(strs: TemplateStringsArray, v: V, u: U, t: T): number;
32 function fn3() { return null; }
34 var s = fn3 `${ 3 }`;
35 var s = fn3 `${'' }${ 3 }${ '' }`;
36 var n = fn3 `${ 5 }${ 5 }${ 5 }`;
40 var s = fn3 `${ 4 }`
41 var s = fn3 `${ '' }${ '' }${ '' }`;
42 var n = fn3 `${ '' }${ '' }${ 3 }`;
[all …]
DtaggedTemplateStringsWithOverloadResolution3_ES6.ts29 function fn3<T>(strs: TemplateStringsArray, n: T): string; function
30 function fn3<T, U>(strs: TemplateStringsArray, s: string, t: T, u: U): U;
31 function fn3<T, U, V>(strs: TemplateStringsArray, v: V, u: U, t: T): number;
32 function fn3() { return null; }
34 var s = fn3 `${ 3 }`;
35 var s = fn3 `${'' }${ 3 }${ '' }`;
36 var n = fn3 `${ 5 }${ 5 }${ 5 }`;
40 var s = fn3 `${ 4 }`
41 var s = fn3 `${ '' }${ '' }${ '' }`;
42 var n = fn3 `${ '' }${ '' }${ 3 }`;
[all …]
/third_party/node/deps/npm/node_modules/retry/test/integration/
Dtest-retry-wrap.js10 fn3: function() {}
19 assert.equal(lib.fn3.name, 'bound retryWrapper');
27 assert.equal(lib.fn3.name, 'bound retryWrapper');
30 assert.equal(lib.fn3.options.retries, 2);
38 assert.equal(lib.fn3.name, 'bound retryWrapper');
46 assert.equal(lib.fn3.name, 'bound retryWrapper');
48 assert.equal(lib.fn3.options.retries, 2);
/third_party/typescript/tests/baselines/reference/convertToAsyncFunction/
DconvertToAsyncFunction_NestedFunctionRightLocation.ts5 function /*[#|*/fn3/*|]*/(){
8 return fn3();
17 async function fn3(){
21 return fn3();
DconvertToAsyncFunction_NestedFunctionRightLocation.js5 function /*[#|*/fn3/*|]*/(){ function
8 return fn3();
17 async function fn3(){
21 return fn3();

1234567