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_helper; | 5 library dart2js.serialization_helper; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:io'; | 8 import 'dart:io'; |
9 | 9 |
10 import 'package:compiler/src/commandline_options.dart'; | 10 import 'package:compiler/src/commandline_options.dart'; |
(...skipping 10 matching lines...) Expand all Loading... |
21 import 'package:compiler/src/serialization/json_serializer.dart'; | 21 import 'package:compiler/src/serialization/json_serializer.dart'; |
22 import 'package:compiler/src/serialization/modelz.dart'; | 22 import 'package:compiler/src/serialization/modelz.dart'; |
23 import 'package:compiler/src/serialization/resolved_ast_serialization.dart'; | 23 import 'package:compiler/src/serialization/resolved_ast_serialization.dart'; |
24 import 'package:compiler/src/serialization/serialization.dart'; | 24 import 'package:compiler/src/serialization/serialization.dart'; |
25 import 'package:compiler/src/serialization/task.dart'; | 25 import 'package:compiler/src/serialization/task.dart'; |
26 import 'package:compiler/src/tokens/token.dart'; | 26 import 'package:compiler/src/tokens/token.dart'; |
27 import 'package:compiler/src/universe/call_structure.dart'; | 27 import 'package:compiler/src/universe/call_structure.dart'; |
28 import 'package:compiler/src/universe/world_impact.dart'; | 28 import 'package:compiler/src/universe/world_impact.dart'; |
29 import 'package:compiler/src/universe/use.dart'; | 29 import 'package:compiler/src/universe/use.dart'; |
30 | 30 |
31 import 'memory_compiler.dart'; | 31 import '../memory_compiler.dart'; |
32 | 32 |
33 class Arguments { | 33 class Arguments { |
34 final String filename; | 34 final String filename; |
35 final bool loadSerializedData; | 35 final bool loadSerializedData; |
36 final bool saveSerializedData; | 36 final bool saveSerializedData; |
37 final String serializedDataFileName; | 37 final String serializedDataFileName; |
38 final bool verbose; | 38 final bool verbose; |
39 | 39 |
40 const Arguments({ | 40 const Arguments({ |
41 this.filename, | 41 this.filename, |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 | 340 |
341 @override | 341 @override |
342 void onElement(Element element, ObjectDecoder getDecoder(String tag)) { | 342 void onElement(Element element, ObjectDecoder getDecoder(String tag)) { |
343 ObjectDecoder decoder = getDecoder(RESOLVED_AST_TAG); | 343 ObjectDecoder decoder = getDecoder(RESOLVED_AST_TAG); |
344 if (decoder != null) { | 344 if (decoder != null) { |
345 _decoderMap[element] = decoder; | 345 _decoderMap[element] = decoder; |
346 } | 346 } |
347 } | 347 } |
348 } | 348 } |
349 | 349 |
OLD | NEW |