| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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_system; | 5 library dart2js.serialization_system; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import '../common.dart'; | 9 import '../common.dart'; |
| 10 import '../common/resolution.dart'; | 10 import '../common/resolution.dart'; |
| 11 import '../compiler.dart'; | 11 import '../compiler.dart'; |
| 12 import '../dart_types.dart'; | 12 import '../elements/resolution_types.dart'; |
| 13 import '../elements/elements.dart'; | 13 import '../elements/elements.dart'; |
| 14 import '../scanner/scanner.dart'; | 14 import '../scanner/scanner.dart'; |
| 15 import '../script.dart'; | 15 import '../script.dart'; |
| 16 import '../serialization/impact_serialization.dart'; | 16 import '../serialization/impact_serialization.dart'; |
| 17 import '../tokens/token.dart'; | 17 import '../tokens/token.dart'; |
| 18 import '../universe/call_structure.dart'; | 18 import '../universe/call_structure.dart'; |
| 19 import '../universe/use.dart'; | 19 import '../universe/use.dart'; |
| 20 import '../universe/world_impact.dart'; | 20 import '../universe/world_impact.dart'; |
| 21 import 'modelz.dart'; | 21 import 'modelz.dart'; |
| 22 import 'resolved_ast_serialization.dart'; | 22 import 'resolved_ast_serialization.dart'; |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 } | 322 } |
| 323 | 323 |
| 324 @override | 324 @override |
| 325 void onElement(Element element, ObjectDecoder getDecoder(String tag)) { | 325 void onElement(Element element, ObjectDecoder getDecoder(String tag)) { |
| 326 ObjectDecoder decoder = getDecoder(RESOLVED_AST_TAG); | 326 ObjectDecoder decoder = getDecoder(RESOLVED_AST_TAG); |
| 327 if (decoder != null) { | 327 if (decoder != null) { |
| 328 _decoderMap[element] = decoder; | 328 _decoderMap[element] = decoder; |
| 329 } | 329 } |
| 330 } | 330 } |
| 331 } | 331 } |
| OLD | NEW |