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 // DO NOT EDIT | 5 // DO NOT EDIT |
6 // Auto-generated dart:indexed_db library. | 6 // Auto-generated dart:indexed_db library. |
7 | 7 |
8 library indexed_db; | 8 library indexed_db; |
9 | 9 |
| 10 import 'dart:async'; |
10 import 'dart:html'; | 11 import 'dart:html'; |
11 import 'dart:html_common'; | 12 import 'dart:html_common'; |
12 import 'dart:nativewrappers'; | 13 import 'dart:nativewrappers'; |
13 | 14 |
14 $!GENERATED_DART_FILES | 15 $!GENERATED_DART_FILES |
15 | 16 |
16 class _KeyRangeFactoryProvider { | 17 class _KeyRangeFactoryProvider { |
17 | 18 |
18 static KeyRange createKeyRange_only(/*IDBKey*/ value) => | 19 static KeyRange createKeyRange_only(/*IDBKey*/ value) => |
19 KeyRange.only_(value); | 20 KeyRange.only_(value); |
20 | 21 |
21 static KeyRange createKeyRange_lowerBound( | 22 static KeyRange createKeyRange_lowerBound( |
22 /*IDBKey*/ bound, [bool open = false]) => | 23 /*IDBKey*/ bound, [bool open = false]) => |
23 KeyRange.lowerBound_(bound, open); | 24 KeyRange.lowerBound_(bound, open); |
24 | 25 |
25 static KeyRange createKeyRange_upperBound( | 26 static KeyRange createKeyRange_upperBound( |
26 /*IDBKey*/ bound, [bool open = false]) => | 27 /*IDBKey*/ bound, [bool open = false]) => |
27 KeyRange.upperBound_(bound, open); | 28 KeyRange.upperBound_(bound, open); |
28 | 29 |
29 static KeyRange createKeyRange_bound( | 30 static KeyRange createKeyRange_bound( |
30 /*IDBKey*/ lower, /*IDBKey*/ upper, | 31 /*IDBKey*/ lower, /*IDBKey*/ upper, |
31 [bool lowerOpen = false, bool upperOpen = false]) => | 32 [bool lowerOpen = false, bool upperOpen = false]) => |
32 KeyRange.bound_(lower, upper, lowerOpen, upperOpen); | 33 KeyRange.bound_(lower, upper, lowerOpen, upperOpen); |
33 } | 34 } |
OLD | NEW |