|
| 1 | +var foo = 123 |
| 2 | +foo.toString(); |
| 3 | + |
| 4 | +var bar = '456'; |
| 5 | +bar.toString(); |
| 6 | + |
| 7 | +interface FF0<r> { |
| 8 | +} |
| 9 | +interface FF1<a, r> { |
| 10 | +} |
| 11 | +interface FF2<a, b, r> { |
| 12 | +} |
| 13 | +interface FF3<a, b, c, r> { |
| 14 | +} |
| 15 | + |
| 16 | +interface MapAll { |
| 17 | + <a, r>(tieds: FF1<a, r>, one: a) : r[]; |
| 18 | + <a, b, r>(tieds: FF2<a, b, r>, one: a, two: b) : r[]; |
| 19 | + <a, b, c, r>(tieds: FF3<a, b, c, r>, one: a, two: b, three: c) : r[]; |
| 20 | +} |
| 21 | + |
| 22 | +interface UseAll { |
| 23 | + (tieds: FF0<void>) : void; |
| 24 | + <a>(tieds: FF1<a, void>, one: a) : void; |
| 25 | + <a, b>(tieds: FF2<a, b, void>, one: a, two: b) : void; |
| 26 | + <a, b, c>(tieds: FF3<a, b, c, void>, one: a, two: b, three: c) : void; |
| 27 | +} |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | +/* AUTOGENERATED ON: Sat Jan 03 2015 13:56:07 GMT-0500 (Eastern Standard Time) |
| 32 | + * The following code was autogenerated. |
| 33 | + * Any changes to it will be lost at the next re-generation. |
| 34 | + * If changes are needed consider |
| 35 | + * - altering the generator or |
| 36 | + * - altering the input configuration |
| 37 | + */ |
| 38 | +interface F0<r> extends F1<any, r> { |
| 39 | + call(): r; |
| 40 | + bind(): F0<r>; |
| 41 | +} |
| 42 | +interface F1<a, r> extends F2<a, any, r> { |
| 43 | + call(one: a): r; |
| 44 | + bind(one: a): F0<r>; |
| 45 | +} |
| 46 | +interface F2<a, b, r> extends F3<a, b, any, r> { |
| 47 | + call(one: a, two: b): r; |
| 48 | + bind(one: a): F1<b, r>; |
| 49 | + bind(one: a, two: b): F0<r>; |
| 50 | +} |
| 51 | +interface F3<a, b, c, r> extends F4<a, b, c, any, r> { |
| 52 | + call(one: a, two: b, three: c): r; |
| 53 | + bind(one: a): F2<b, c, r>; |
| 54 | + bind(one: a, two: b): F1<c, r>; |
| 55 | + bind(one: a, two: b, three: c): F0<r>; |
| 56 | +} |
| 57 | +interface F4<a, b, c, d, r> extends F5<a, b, c, d, any, r> { |
| 58 | + call(one: a, two: b, three: c, four: d): r; |
| 59 | + bind(one: a): F3<b, c, d, r>; |
| 60 | + bind(one: a, two: b): F2<c, d, r>; |
| 61 | + bind(one: a, two: b, three: c): F1<d, r>; |
| 62 | + bind(one: a, two: b, three: c, four: d): F0<r>; |
| 63 | +} |
| 64 | +interface F5<a, b, c, d, e, r> extends F6<a, b, c, d, e, any, r> { |
| 65 | + call(one: a, two: b, three: c, four: d, five: e): r; |
| 66 | + bind(one: a): F4<b, c, d, e, r>; |
| 67 | + bind(one: a, two: b): F3<c, d, e, r>; |
| 68 | + bind(one: a, two: b, three: c): F2<d, e, r>; |
| 69 | + bind(one: a, two: b, three: c, four: d): F1<e, r>; |
| 70 | + bind(one: a, two: b, three: c, four: d, five: e): F0<r>; |
| 71 | +} |
| 72 | +interface F6<a, b, c, d, e, f, r> extends F7<a, b, c, d, e, f, any, r> { |
| 73 | + call(one: a, two: b, three: c, four: d, five: e, six: f): r; |
| 74 | + bind(one: a): F5<b, c, d, e, f, r>; |
| 75 | + bind(one: a, two: b): F4<c, d, e, f, r>; |
| 76 | + bind(one: a, two: b, three: c): F3<d, e, f, r>; |
| 77 | + bind(one: a, two: b, three: c, four: d): F2<e, f, r>; |
| 78 | + bind(one: a, two: b, three: c, four: d, five: e): F1<f, r>; |
| 79 | + bind(one: a, two: b, three: c, four: d, five: e, six: f): F0<r>; |
| 80 | +} |
| 81 | +interface F7<a, b, c, d, e, f, g, r> extends F8<a, b, c, d, e, f, g, any, r> { |
| 82 | + call(one: a, two: b, three: c, four: d, five: e, six: f, seven: g): r; |
| 83 | + bind(one: a): F6<b, c, d, e, f, g, r>; |
| 84 | + bind(one: a, two: b): F5<c, d, e, f, g, r>; |
| 85 | + bind(one: a, two: b, three: c): F4<d, e, f, g, r>; |
| 86 | + bind(one: a, two: b, three: c, four: d): F3<e, f, g, r>; |
| 87 | + bind(one: a, two: b, three: c, four: d, five: e): F2<f, g, r>; |
| 88 | + bind(one: a, two: b, three: c, four: d, five: e, six: f): F1<g, r>; |
| 89 | + bind(one: a, two: b, three: c, four: d, five: e, six: f, seven: g): F0<r>; |
| 90 | +} |
| 91 | +interface F8<a, b, c, d, e, f, g, h, r> extends F9<a, b, c, d, e, f, g, h, any, r> { |
| 92 | + call(one: a, two: b, three: c, four: d, five: e, six: f, seven: g, eight: h): r; |
| 93 | + bind(one: a): F7<b, c, d, e, f, g, h, r>; |
| 94 | + bind(one: a, two: b): F6<c, d, e, f, g, h, r>; |
| 95 | + bind(one: a, two: b, three: c): F5<d, e, f, g, h, r>; |
| 96 | + bind(one: a, two: b, three: c, four: d): F4<e, f, g, h, r>; |
| 97 | + bind(one: a, two: b, three: c, four: d, five: e): F3<f, g, h, r>; |
| 98 | + bind(one: a, two: b, three: c, four: d, five: e, six: f): F2<g, h, r>; |
| 99 | + bind(one: a, two: b, three: c, four: d, five: e, six: f, seven: g): F1<h, r>; |
| 100 | + bind(one: a, two: b, three: c, four: d, five: e, six: f, seven: g, eight: h): F0<r>; |
| 101 | +} |
| 102 | +interface F9<a, b, c, d, e, f, g, h, i, r> { |
| 103 | + call(one: a, two: b, three: c, four: d, five: e, six: f, seven: g, eight: h, nine: i): r; |
| 104 | + bind(one: a): F8<b, c, d, e, f, g, h, i, r>; |
| 105 | + bind(one: a, two: b): F7<c, d, e, f, g, h, i, r>; |
| 106 | + bind(one: a, two: b, three: c): F6<d, e, f, g, h, i, r>; |
| 107 | + bind(one: a, two: b, three: c, four: d): F5<e, f, g, h, i, r>; |
| 108 | + bind(one: a, two: b, three: c, four: d, five: e): F4<f, g, h, i, r>; |
| 109 | + bind(one: a, two: b, three: c, four: d, five: e, six: f): F3<g, h, i, r>; |
| 110 | + bind(one: a, two: b, three: c, four: d, five: e, six: f, seven: g): F2<h, i, r>; |
| 111 | + bind(one: a, two: b, three: c, four: d, five: e, six: f, seven: g, eight: h): F1<i, r>; |
| 112 | + bind(one: a, two: b, three: c, four: d, five: e, six: f, seven: g, eight: h, nine: i): F0<r>; |
| 113 | +} |
0 commit comments