| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _IDBKeyRangeWrappingImplementation extends DOMWrapperBase implements IDBKe
yRange { | 7 class _IDBKeyRangeWrappingImplementation extends DOMWrapperBase implements IDBKe
yRange { |
| 8 _IDBKeyRangeWrappingImplementation() : super() {} | 8 _IDBKeyRangeWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__IDBKeyRangeWrappingImplementation() native { | 10 static create__IDBKeyRangeWrappingImplementation() native { |
| 11 return new _IDBKeyRangeWrappingImplementation(); | 11 return new _IDBKeyRangeWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 IDBKey get lower() { return _get__IDBKeyRange_lower(this); } | 14 IDBKey get lower() { return _get_lower(this); } |
| 15 static IDBKey _get__IDBKeyRange_lower(var _this) native; | 15 static IDBKey _get_lower(var _this) native; |
| 16 | 16 |
| 17 bool get lowerOpen() { return _get__IDBKeyRange_lowerOpen(this); } | 17 bool get lowerOpen() { return _get_lowerOpen(this); } |
| 18 static bool _get__IDBKeyRange_lowerOpen(var _this) native; | 18 static bool _get_lowerOpen(var _this) native; |
| 19 | 19 |
| 20 IDBKey get upper() { return _get__IDBKeyRange_upper(this); } | 20 IDBKey get upper() { return _get_upper(this); } |
| 21 static IDBKey _get__IDBKeyRange_upper(var _this) native; | 21 static IDBKey _get_upper(var _this) native; |
| 22 | 22 |
| 23 bool get upperOpen() { return _get__IDBKeyRange_upperOpen(this); } | 23 bool get upperOpen() { return _get_upperOpen(this); } |
| 24 static bool _get__IDBKeyRange_upperOpen(var _this) native; | 24 static bool _get_upperOpen(var _this) native; |
| 25 | 25 |
| 26 IDBKeyRange bound(IDBKey lower, IDBKey upper, [bool lowerOpen = null, bool upp
erOpen = null]) { | 26 IDBKeyRange bound(IDBKey lower, IDBKey upper, [bool lowerOpen = null, bool upp
erOpen = null]) { |
| 27 if (lowerOpen === null) { | 27 if (lowerOpen === null) { |
| 28 if (upperOpen === null) { | 28 if (upperOpen === null) { |
| 29 return _bound(this, lower, upper); | 29 return _bound(this, lower, upper); |
| 30 } | 30 } |
| 31 } else { | 31 } else { |
| 32 if (upperOpen === null) { | 32 if (upperOpen === null) { |
| 33 return _bound_2(this, lower, upper, lowerOpen); | 33 return _bound_2(this, lower, upper, lowerOpen); |
| 34 } else { | 34 } else { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 61 return _upperBound(this, bound); | 61 return _upperBound(this, bound); |
| 62 } else { | 62 } else { |
| 63 return _upperBound_2(this, bound, open); | 63 return _upperBound_2(this, bound, open); |
| 64 } | 64 } |
| 65 } | 65 } |
| 66 static IDBKeyRange _upperBound(receiver, bound) native; | 66 static IDBKeyRange _upperBound(receiver, bound) native; |
| 67 static IDBKeyRange _upperBound_2(receiver, bound, open) native; | 67 static IDBKeyRange _upperBound_2(receiver, bound, open) native; |
| 68 | 68 |
| 69 String get typeName() { return "IDBKeyRange"; } | 69 String get typeName() { return "IDBKeyRange"; } |
| 70 } | 70 } |
| OLD | NEW |