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