/third_party/typescript/tests/baselines/reference/ |
D | restTuplesFromContextualTypes.js | 112 for (var _i = 0; _i < arguments.length; _i++) { 113 x[_i] = arguments[_i]; 118 for (var _i = 1; _i < arguments.length; _i++) { 119 x[_i - 1] = arguments[_i]; 124 for (var _i = 2; _i < arguments.length; _i++) { 125 x[_i - 2] = arguments[_i]; 130 for (var _i = 3; _i < arguments.length; _i++) { 131 x[_i - 3] = arguments[_i]; 137 for (var _i = 0; _i < arguments.length; _i++) { 138 x[_i] = arguments[_i]; [all …]
|
D | restParametersWithArrayTypeAnnotations.js | 59 for (var _i = 0; _i < arguments.length; _i++) { 60 x[_i] = arguments[_i]; 65 for (var _i = 0; _i < arguments.length; _i++) { 66 x[_i] = arguments[_i]; 71 for (var _i = 1; _i < arguments.length; _i++) { 72 y[_i - 1] = arguments[_i]; 80 for (var _i = 0; _i < arguments.length; _i++) { 81 x[_i] = arguments[_i]; 90 for (var _i = 0; _i < arguments.length; _i++) { 91 x[_i] = arguments[_i]; [all …]
|
D | restParametersOfNonArrayTypes2.js | 64 for (var _i = 0; _i < arguments.length; _i++) { 65 x[_i] = arguments[_i]; 70 for (var _i = 0; _i < arguments.length; _i++) { 71 x[_i] = arguments[_i]; 76 for (var _i = 1; _i < arguments.length; _i++) { 77 y[_i - 1] = arguments[_i]; 85 for (var _i = 0; _i < arguments.length; _i++) { 86 x[_i] = arguments[_i]; 95 for (var _i = 0; _i < arguments.length; _i++) { 96 x[_i] = arguments[_i]; [all …]
|
D | collisionRestParameterClassMethod.types | 5 public foo(_i: number, ...restParameters) { //_i is error 6 >foo : (_i: number, ...restParameters: any[]) => void 7 >_i : number 10 var _i = 10; // no error 11 >_i : number 14 public fooNoError(_i: number) { // no error 15 >fooNoError : (_i: number) => void 16 >_i : number 18 var _i = 10; // no error 19 >_i : number [all …]
|
D | collisionRestParameterFunction.types | 3 function f1(_i: number, ...restParameters) { //_i is error 4 >f1 : (_i: number, ...restParameters: any[]) => void 5 >_i : number 8 var _i = 10; // no error 9 >_i : number 12 function f1NoError(_i: number) { // no error 13 >f1NoError : (_i: number) => void 14 >_i : number 16 var _i = 10; // no error 17 >_i : number [all …]
|
D | es5-asyncFunctionForOfStatements.js | 83 var _i, y_1; 85 for (_i = 0, y_1 = y; _i < y_1.length; _i++) { 86 x = y_1[_i]; 95 var _i, _a; 99 _i = 0; 105 if (!(_i < _a.length)) return [3 /*break*/, 4]; 106 x = _a[_i]; 110 _i++; 119 var _i, y_2; 123 _i = 0, y_2 = y; [all …]
|
D | collisionRestParameterClassConstructor.js | 4 constructor(_i: number, ...restParameters) { //_i is error 5 var _i = 10; // no error 9 constructor(_i: number) { // no error 10 var _i = 10; // no error 16 var _i = 10; // no error 21 var _i = 10; // no error 26 constructor(public _i: number, ...restParameters) { //_i is error 27 var _i = 10; // no error 31 constructor(public _i: number) { // no error 32 var _i = 10; // no error [all …]
|
D | collisionRestParameterClassConstructor.symbols | 6 constructor(_i: number, ...restParameters) { //_i is error 7 >_i : Symbol(_i, Decl(collisionRestParameterClassConstructor.ts, 2, 16), Decl(collisionRestParamete… 10 var _i = 10; // no error 11 >_i : Symbol(_i, Decl(collisionRestParameterClassConstructor.ts, 2, 16), Decl(collisionRestParamete… 17 constructor(_i: number) { // no error 18 >_i : Symbol(_i, Decl(collisionRestParameterClassConstructor.ts, 7, 16), Decl(collisionRestParamete… 20 var _i = 10; // no error 21 >_i : Symbol(_i, Decl(collisionRestParameterClassConstructor.ts, 7, 16), Decl(collisionRestParamete… 31 var _i = 10; // no error 32 >_i : Symbol(_i, Decl(collisionRestParameterClassConstructor.ts, 14, 11)) [all …]
|
D | fatarrowfunctionsOptionalArgs.js | 161 for (var _i = 0; _i < arguments.length; _i++) { 162 arg[_i] = arguments[_i]; 183 for (var _i = 1; _i < arguments.length; _i++) { 184 arg2[_i - 1] = arguments[_i]; 205 for (var _i = 0; _i < arguments.length; _i++) { 206 arg[_i] = arguments[_i]; 228 for (var _i = 0; _i < arguments.length; _i++) { 229 arg[_i] = arguments[_i]; 249 for (var _i = 0; _i < arguments.length; _i++) { 250 arg[_i] = arguments[_i]; [all …]
|
D | collisionRestParameterClassConstructor.types | 6 constructor(_i: number, ...restParameters) { //_i is error 7 >_i : number 10 var _i = 10; // no error 11 >_i : number 18 constructor(_i: number) { // no error 19 >_i : number 21 var _i = 10; // no error 22 >_i : number 33 var _i = 10; // no error 34 >_i : number [all …]
|
D | restParameterWithoutAnnotationIsAnyArray.js | 33 for (var _i = 0; _i < arguments.length; _i++) { 34 x[_i] = arguments[_i]; 39 for (var _i = 0; _i < arguments.length; _i++) { 40 x[_i] = arguments[_i]; 45 for (var _i = 1; _i < arguments.length; _i++) { 46 y[_i - 1] = arguments[_i]; 54 for (var _i = 0; _i < arguments.length; _i++) { 55 x[_i] = arguments[_i]; 64 for (var _i = 0; _i < arguments.length; _i++) { 65 x[_i] = arguments[_i]; [all …]
|
D | restParametersOfNonArrayTypes.js | 32 for (var _i = 0; _i < arguments.length; _i++) { 33 x[_i] = arguments[_i]; 38 for (var _i = 0; _i < arguments.length; _i++) { 39 x[_i] = arguments[_i]; 44 for (var _i = 1; _i < arguments.length; _i++) { 45 y[_i - 1] = arguments[_i]; 53 for (var _i = 0; _i < arguments.length; _i++) { 54 x[_i] = arguments[_i]; 63 for (var _i = 0; _i < arguments.length; _i++) { 64 x[_i] = arguments[_i]; [all …]
|
D | collisionRestParameterFunctionExpressions.types | 5 function f1(_i: number, ...restParameters) { //_i is error 6 >f1 : (_i: number, ...restParameters: any[]) => void 7 >_i : number 10 var _i = 10; // no error 11 >_i : number 14 function f1NoError(_i: number) { // no error 15 >f1NoError : (_i: number) => void 16 >_i : number 18 var _i = 10; // no error 19 >_i : number [all …]
|
D | destructuringParameterDeclaration4.js | 45 for (var _i = 0; _i < arguments.length; _i++) { 46 x[_i] = arguments[_i]; 51 for (var _i = 0; _i < arguments.length; _i++) { 52 x[_i] = arguments[_i]; 57 for (var _i = 0; _i < arguments.length; _i++) { 58 a[_i] = arguments[_i]; 63 for (var _i = 0; _i < arguments.length; _i++) { 64 b[_i] = arguments[_i]; 69 for (var _i = 0; _i < arguments.length; _i++) { 70 b[_i] = arguments[_i]; [all …]
|
D | emitRestParametersMethod.js | 20 for (var _i = 1; _i < arguments.length; _i++) { 21 rest[_i - 1] = arguments[_i]; 26 for (var _i = 0; _i < arguments.length; _i++) { 27 rest[_i] = arguments[_i]; 32 for (var _i = 1; _i < arguments.length; _i++) { 33 rest[_i - 1] = arguments[_i]; 41 for (var _i = 0; _i < arguments.length; _i++) { 42 rest[_i] = arguments[_i]; 47 for (var _i = 0; _i < arguments.length; _i++) { 48 rest[_i] = arguments[_i]; [all …]
|
D | collisionRestParameterClassMethod.symbols | 5 public foo(_i: number, ...restParameters) { //_i is error 7 >_i : Symbol(_i, Decl(collisionRestParameterClassMethod.ts, 1, 15), Decl(collisionRestParameterClas… 10 var _i = 10; // no error 11 >_i : Symbol(_i, Decl(collisionRestParameterClassMethod.ts, 1, 15), Decl(collisionRestParameterClas… 13 public fooNoError(_i: number) { // no error 15 >_i : Symbol(_i, Decl(collisionRestParameterClassMethod.ts, 4, 22), Decl(collisionRestParameterClas… 17 var _i = 10; // no error 18 >_i : Symbol(_i, Decl(collisionRestParameterClassMethod.ts, 4, 22), Decl(collisionRestParameterClas… 20 public f4(_i: number, ...rest); // no codegen no error 22 >_i : Symbol(_i, Decl(collisionRestParameterClassMethod.ts, 7, 14)) [all …]
|
D | collisionRestParameterClassMethod.js | 3 public foo(_i: number, ...restParameters) { //_i is error 4 var _i = 10; // no error 6 public fooNoError(_i: number) { // no error 7 var _i = 10; // no error 9 public f4(_i: number, ...rest); // no codegen no error 10 public f4(_i: string, ...rest); // no codegen no error 11 public f4(_i: any, ...rest) { // error 12 var _i: any; // no error 15 public f4NoError(_i: number); // no error 16 public f4NoError(_i: string); // no error [all …]
|
D | collisionRestParameterFunction.symbols | 3 function f1(_i: number, ...restParameters) { //_i is error 5 >_i : Symbol(_i, Decl(collisionRestParameterFunction.ts, 1, 12), Decl(collisionRestParameterFunctio… 8 var _i = 10; // no error 9 >_i : Symbol(_i, Decl(collisionRestParameterFunction.ts, 1, 12), Decl(collisionRestParameterFunctio… 11 function f1NoError(_i: number) { // no error 13 >_i : Symbol(_i, Decl(collisionRestParameterFunction.ts, 4, 19), Decl(collisionRestParameterFunctio… 15 var _i = 10; // no error 16 >_i : Symbol(_i, Decl(collisionRestParameterFunction.ts, 4, 19), Decl(collisionRestParameterFunctio… 19 declare function f2(_i: number, ...restParameters); // no error - no code gen 21 >_i : Symbol(_i, Decl(collisionRestParameterFunction.ts, 8, 20)) [all …]
|
D | noImplicitAnyParametersInClass.js | 108 for (var _i = 0; _i < arguments.length; _i++) { 109 r[_i] = arguments[_i]; 116 for (var _i = 1; _i < arguments.length; _i++) { 117 r[_i - 1] = arguments[_i]; 132 for (var _i = 0; _i < arguments.length; _i++) { 133 r[_i] = arguments[_i]; 140 for (var _i = 1; _i < arguments.length; _i++) { 141 r[_i - 1] = arguments[_i]; 159 for (var _i = 0; _i < arguments.length; _i++) { 160 r[_i] = arguments[_i]; [all …]
|
D | collisionRestParameterFunction.js | 3 function f1(_i: number, ...restParameters) { //_i is error 4 var _i = 10; // no error 6 function f1NoError(_i: number) { // no error 7 var _i = 10; // no error 10 declare function f2(_i: number, ...restParameters); // no error - no code gen 11 declare function f2NoError(_i: number); // no error 14 var _i = 10; // no error 17 var _i = 10; // no error 20 function f4(_i: number, ...rest); // no codegen no error 21 function f4(_i: string, ...rest); // no codegen no error [all …]
|
D | emitDefaultParametersFunctionExpression.js | 22 for (var _i = 2; _i < arguments.length; _i++) { 23 rest[_i - 2] = arguments[_i]; 29 for (var _i = 1; _i < arguments.length; _i++) { 30 rest[_i - 1] = arguments[_i]; 36 for (var _i = 1; _i < arguments.length; _i++) { 37 rest[_i - 1] = arguments[_i]; 44 for (var _i = 2; _i < arguments.length; _i++) { 45 rest[_i - 2] = arguments[_i]; 51 for (var _i = 2; _i < arguments.length; _i++) { 52 rest[_i - 2] = arguments[_i];
|
D | collisionRestParameterFunctionExpressions.symbols | 5 function f1(_i: number, ...restParameters) { //_i is error 7 >_i : Symbol(_i, Decl(collisionRestParameterFunctionExpressions.ts, 1, 16), Decl(collisionRestParam… 10 var _i = 10; // no error 11 >_i : Symbol(_i, Decl(collisionRestParameterFunctionExpressions.ts, 1, 16), Decl(collisionRestParam… 13 function f1NoError(_i: number) { // no error 15 >_i : Symbol(_i, Decl(collisionRestParameterFunctionExpressions.ts, 4, 23), Decl(collisionRestParam… 17 var _i = 10; // no error 18 >_i : Symbol(_i, Decl(collisionRestParameterFunctionExpressions.ts, 4, 23), Decl(collisionRestParam… 24 var _i = 10; // no error 25 >_i : Symbol(_i, Decl(collisionRestParameterFunctionExpressions.ts, 8, 11)) [all …]
|
D | nestedBlockScopedBindings6.js | 93 for (var _i = 0, _a = [1]; _i < _a.length; _i++) { 94 var x = _a[_i]; 106 for (var _i = 0, _a = [1]; _i < _a.length; _i++) { 107 var x = _a[_i]; 115 for (var _i = 0, _a = [1]; _i < _a.length; _i++) { 116 var x = _a[_i]; 135 for (var _i = 0, _a = [1]; _i < _a.length; _i++) { 136 var x = _a[_i]; 155 for (var _i = 0, _a = [1]; _i < _a.length; _i++) { 156 var x = _a[_i]; [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | collisionRestParameterClassConstructor.ts | 3 constructor(_i: number, ...restParameters) { //_i is error 4 var _i = 10; // no error 8 constructor(_i: number) { // no error 9 var _i = 10; // no error 15 var _i = 10; // no error 20 var _i = 10; // no error 25 constructor(public _i: number, ...restParameters) { //_i is error property in c3 26 var _i = 10; // no error 30 constructor(public _i: number) { // no error property in c3NoError 31 var _i = 10; // no error [all …]
|
/third_party/boost/boost/pending/detail/ |
D | int_iterator.hpp | 35 inline int_iterator() : _i(0) { } in int_iterator() 36 inline int_iterator(IntT i) : _i(i) { } in int_iterator() 37 inline int_iterator(const self& x) : _i(x._i) { } in int_iterator() 38 inline self& operator=(const self& x) { _i = x._i; return *this; } in operator =() 39 inline IntT operator*() { return _i; } in operator *() 40 inline IntT operator[](IntT n) { return _i + n; } in operator []() 41 inline self& operator++() { ++_i; return *this; } in operator ++() 42 inline self operator++(int) { self t = *this; ++_i; return t; } in operator ++() 43 inline self& operator+=(IntT n) { _i += n; return *this; } in operator +=() 45 inline self& operator--() { --_i; return *this; } in operator --() [all …]
|