| 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 { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 } else { | 34 } else { |
| 35 return _bound_3(this, lower, upper, lowerOpen, upperOpen); | 35 return _bound_3(this, lower, upper, lowerOpen, upperOpen); |
| 36 } | 36 } |
| 37 } | 37 } |
| 38 throw "Incorrect number or type of arguments"; | 38 throw "Incorrect number or type of arguments"; |
| 39 } | 39 } |
| 40 static IDBKeyRange _bound(receiver, lower, upper) native; | 40 static IDBKeyRange _bound(receiver, lower, upper) native; |
| 41 static IDBKeyRange _bound_2(receiver, lower, upper, lowerOpen) native; | 41 static IDBKeyRange _bound_2(receiver, lower, upper, lowerOpen) native; |
| 42 static IDBKeyRange _bound_3(receiver, lower, upper, lowerOpen, upperOpen) nati
ve; | 42 static IDBKeyRange _bound_3(receiver, lower, upper, lowerOpen, upperOpen) nati
ve; |
| 43 | 43 |
| 44 IDBKeyRange lowerBound(IDBKey bound_, [bool open = null]) { | 44 IDBKeyRange lowerBound(IDBKey bound, [bool open = null]) { |
| 45 if (open === null) { | 45 if (open === null) { |
| 46 return _lowerBound(this, bound_); | 46 return _lowerBound(this, bound); |
| 47 } else { | 47 } else { |
| 48 return _lowerBound_2(this, bound_, open); | 48 return _lowerBound_2(this, bound, open); |
| 49 } | 49 } |
| 50 } | 50 } |
| 51 static IDBKeyRange _lowerBound(receiver, bound) native; | 51 static IDBKeyRange _lowerBound(receiver, bound) native; |
| 52 static IDBKeyRange _lowerBound_2(receiver, bound, open) native; | 52 static IDBKeyRange _lowerBound_2(receiver, bound, open) native; |
| 53 | 53 |
| 54 IDBKeyRange only(IDBKey value) { | 54 IDBKeyRange only(IDBKey value) { |
| 55 return _only(this, value); | 55 return _only(this, value); |
| 56 } | 56 } |
| 57 static IDBKeyRange _only(receiver, value) native; | 57 static IDBKeyRange _only(receiver, value) native; |
| 58 | 58 |
| 59 IDBKeyRange upperBound(IDBKey bound_, [bool open = null]) { | 59 IDBKeyRange upperBound(IDBKey bound, [bool open = null]) { |
| 60 if (open === null) { | 60 if (open === null) { |
| 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 |