| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 library dart2js.serialization; | 5 library dart2js.serialization; |
| 6 | 6 |
| 7 import '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../common/resolution.dart'; | 8 import '../common/resolution.dart'; |
| 9 import '../constants/expressions.dart'; | 9 import '../constants/expressions.dart'; |
| 10 import '../dart_types.dart'; | 10 import '../dart_types.dart'; |
| 11 import '../elements/elements.dart'; | 11 import '../elements/elements.dart'; |
| 12 import '../library_loader.dart' show LibraryProvider; | 12 import '../library_loader.dart' show LibraryProvider; |
| 13 import '../util/enumset.dart'; | 13 import '../util/enumset.dart'; |
| 14 | |
| 15 import 'constant_serialization.dart'; | 14 import 'constant_serialization.dart'; |
| 16 import 'element_serialization.dart'; | 15 import 'element_serialization.dart'; |
| 17 import 'json_serializer.dart'; | 16 import 'json_serializer.dart'; |
| 18 import 'keys.dart'; | 17 import 'keys.dart'; |
| 19 import 'type_serialization.dart'; | 18 import 'type_serialization.dart'; |
| 20 import 'values.dart'; | 19 import 'values.dart'; |
| 21 | 20 |
| 22 export 'task.dart' show LibraryDeserializer; | 21 export 'task.dart' show LibraryDeserializer; |
| 23 | 22 |
| 24 /// An object that supports the encoding an [ObjectValue] for serialization. | 23 /// An object that supports the encoding an [ObjectValue] for serialization. |
| (...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1130 | 1129 |
| 1131 /// Returns the value used to store [key] as a property in the encoding an | 1130 /// Returns the value used to store [key] as a property in the encoding an |
| 1132 /// [ObjectValue]. | 1131 /// [ObjectValue]. |
| 1133 /// | 1132 /// |
| 1134 /// Different encodings have different restrictions and capabilities as how | 1133 /// Different encodings have different restrictions and capabilities as how |
| 1135 /// to store a [Key] value. For instance: A JSON encoding needs to convert | 1134 /// to store a [Key] value. For instance: A JSON encoding needs to convert |
| 1136 /// [Key] to a [String] to store it in a JSON object; a Dart encoding can | 1135 /// [Key] to a [String] to store it in a JSON object; a Dart encoding can |
| 1137 /// choose to store a [Key] as an [int] or as the [Key] itself. | 1136 /// choose to store a [Key] as an [int] or as the [Key] itself. |
| 1138 getObjectPropertyValue(Key key); | 1137 getObjectPropertyValue(Key key); |
| 1139 } | 1138 } |
| OLD | NEW |