OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 part of indexed_db; | 5 part of indexed_db; |
6 | 6 $ANNOTATIONS |
7 /// @domName $DOMNAME | |
8 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 7 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
9 /** | 8 @DomName('IDBKeyRange.only') |
10 * @domName IDBKeyRange.only | |
11 */ | |
12 factory KeyRange.only(/*Key*/ value) => | 9 factory KeyRange.only(/*Key*/ value) => |
13 _KeyRangeFactoryProvider.create$(CLASSNAME)_only(value); | 10 _KeyRangeFactoryProvider.create$(CLASSNAME)_only(value); |
14 | 11 |
15 /** | 12 @DomName('IDBKeyRange.lowerBound') |
16 * @domName IDBKeyRange.lowerBound | |
17 */ | |
18 factory KeyRange.lowerBound(/*Key*/ bound, [bool open = false]) => | 13 factory KeyRange.lowerBound(/*Key*/ bound, [bool open = false]) => |
19 _KeyRangeFactoryProvider.create$(CLASSNAME)_lowerBound(bound, open); | 14 _KeyRangeFactoryProvider.create$(CLASSNAME)_lowerBound(bound, open); |
20 | 15 |
21 /** | 16 @DomName('IDBKeyRange.upperBound') |
22 * @domName IDBKeyRange.upperBound | |
23 */ | |
24 factory KeyRange.upperBound(/*Key*/ bound, [bool open = false]) => | 17 factory KeyRange.upperBound(/*Key*/ bound, [bool open = false]) => |
25 _KeyRangeFactoryProvider.create$(CLASSNAME)_upperBound(bound, open); | 18 _KeyRangeFactoryProvider.create$(CLASSNAME)_upperBound(bound, open); |
26 | 19 |
27 /** | 20 @DomName('KeyRange.bound') |
28 * @domName KeyRange.bound | |
29 */ | |
30 factory KeyRange.bound(/*Key*/ lower, /*Key*/ upper, | 21 factory KeyRange.bound(/*Key*/ lower, /*Key*/ upper, |
31 [bool lowerOpen = false, bool upperOpen = false]) => | 22 [bool lowerOpen = false, bool upperOpen = false]) => |
32 _KeyRangeFactoryProvider.create$(CLASSNAME)_bound( | 23 _KeyRangeFactoryProvider.create$(CLASSNAME)_bound( |
33 lower, upper, lowerOpen, upperOpen); | 24 lower, upper, lowerOpen, upperOpen); |
34 | 25 |
35 $!MEMBERS | 26 $!MEMBERS |
36 } | 27 } |
OLD | NEW |