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 dart.dom.indexed_db; | 8 library dart.dom.indexed_db; |
9 | 9 |
10 import 'dart:async'; | 10 import 'dart:async'; |
11 import 'dart:html'; | 11 import 'dart:html'; |
12 import 'dart:html_common'; | 12 import 'dart:html_common'; |
13 import 'dart:nativewrappers'; | 13 import 'dart:nativewrappers'; |
14 $if DART_USE_BLINK | |
15 import 'dart:_blink' as _blink; | 14 import 'dart:_blink' as _blink; |
16 $endif | |
17 | 15 |
18 $!GENERATED_DART_FILES | 16 $!GENERATED_DART_FILES |
19 | 17 |
20 class _KeyRangeFactoryProvider { | 18 class _KeyRangeFactoryProvider { |
21 | 19 |
22 static KeyRange createKeyRange_only(/*IDBKey*/ value) => | 20 static KeyRange createKeyRange_only(/*IDBKey*/ value) => |
23 KeyRange.only_(value); | 21 KeyRange.only_(value); |
24 | 22 |
25 static KeyRange createKeyRange_lowerBound( | 23 static KeyRange createKeyRange_lowerBound( |
26 /*IDBKey*/ bound, [bool open = false]) => | 24 /*IDBKey*/ bound, [bool open = false]) => |
27 KeyRange.lowerBound_(bound, open); | 25 KeyRange.lowerBound_(bound, open); |
28 | 26 |
29 static KeyRange createKeyRange_upperBound( | 27 static KeyRange createKeyRange_upperBound( |
30 /*IDBKey*/ bound, [bool open = false]) => | 28 /*IDBKey*/ bound, [bool open = false]) => |
31 KeyRange.upperBound_(bound, open); | 29 KeyRange.upperBound_(bound, open); |
32 | 30 |
33 static KeyRange createKeyRange_bound( | 31 static KeyRange createKeyRange_bound( |
34 /*IDBKey*/ lower, /*IDBKey*/ upper, | 32 /*IDBKey*/ lower, /*IDBKey*/ upper, |
35 [bool lowerOpen = false, bool upperOpen = false]) => | 33 [bool lowerOpen = false, bool upperOpen = false]) => |
36 KeyRange.bound_(lower, upper, lowerOpen, upperOpen); | 34 KeyRange.bound_(lower, upper, lowerOpen, upperOpen); |
37 } | 35 } |
38 $if DART_USE_BLINK | |
39 // FIXME: Can we make this private? | 36 // FIXME: Can we make this private? |
40 final indexed_dbBlinkMap = { | 37 final indexed_dbBlinkMap = { |
41 $!TYPE_MAP | 38 $!TYPE_MAP |
42 }; | 39 }; |
43 $endif | |
OLD | NEW |