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:svg library. | 6 // Auto-generated dart:svg library. |
7 | 7 |
8 library indexed_db; | 8 library 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:_js_helper' show Creates, Returns, JSName, Null; |
| 14 import 'dart:_foreign_helper' show JS; |
13 | 15 |
14 $!GENERATED_DART_FILES | 16 $!GENERATED_DART_FILES |
15 | 17 |
16 class _KeyRangeFactoryProvider { | 18 class _KeyRangeFactoryProvider { |
17 | 19 |
18 static KeyRange createKeyRange_only(/*Key*/ value) => | 20 static KeyRange createKeyRange_only(/*Key*/ value) => |
19 _only(_class(), _translateKey(value)); | 21 _only(_class(), _translateKey(value)); |
20 | 22 |
21 static KeyRange createKeyRange_lowerBound( | 23 static KeyRange createKeyRange_lowerBound( |
22 /*Key*/ bound, [bool open = false]) => | 24 /*Key*/ bound, [bool open = false]) => |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 122 |
121 /// May modify original. If so, action is idempotent. | 123 /// May modify original. If so, action is idempotent. |
122 _convertNativeToDart_IDBAny(object) { | 124 _convertNativeToDart_IDBAny(object) { |
123 return convertNativeToDart_AcceptStructuredClone(object, mustCopy: false); | 125 return convertNativeToDart_AcceptStructuredClone(object, mustCopy: false); |
124 } | 126 } |
125 | 127 |
126 | 128 |
127 const String _idbKey = '=List|=Object|num|String'; // TODO(sra): Add DateTime. | 129 const String _idbKey = '=List|=Object|num|String'; // TODO(sra): Add DateTime. |
128 const _annotation_Creates_IDBKey = const Creates(_idbKey); | 130 const _annotation_Creates_IDBKey = const Creates(_idbKey); |
129 const _annotation_Returns_IDBKey = const Returns(_idbKey); | 131 const _annotation_Returns_IDBKey = const Returns(_idbKey); |
OLD | NEW |