| 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.task; | 5 library dart2js.serialization.task; |
| 6 | 6 |
| 7 import 'dart:async' show EventSink, Future; | 7 import 'dart:async' show EventSink, Future; |
| 8 import '../common.dart'; | 8 |
| 9 import '../common/resolution.dart' show ResolutionImpact, ResolutionWorkItem; | 9 import '../common/resolution.dart' show ResolutionImpact, ResolutionWorkItem; |
| 10 import '../common/tasks.dart' show CompilerTask; | 10 import '../common/tasks.dart' show CompilerTask; |
| 11 import '../common/work.dart' show ItemCompilationContext; | 11 import '../common/work.dart' show ItemCompilationContext; |
| 12 import '../compiler.dart' show Compiler; | 12 import '../compiler.dart' show Compiler; |
| 13 import '../elements/elements.dart'; | 13 import '../elements/elements.dart'; |
| 14 import '../enqueue.dart' show ResolutionEnqueuer; | 14 import '../enqueue.dart' show ResolutionEnqueuer; |
| 15 import '../universe/world_impact.dart' show WorldImpact; | 15 import '../universe/world_impact.dart' show WorldImpact; |
| 16 import 'json_serializer.dart'; | 16 import 'json_serializer.dart'; |
| 17 import 'serialization.dart'; | 17 import 'serialization.dart'; |
| 18 import 'system.dart'; | 18 import 'system.dart'; |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 /// elements. | 155 /// elements. |
| 156 abstract class DeserializerSystem { | 156 abstract class DeserializerSystem { |
| 157 Future<LibraryElement> readLibrary(Uri resolvedUri); | 157 Future<LibraryElement> readLibrary(Uri resolvedUri); |
| 158 bool isDeserialized(Element element); | 158 bool isDeserialized(Element element); |
| 159 bool hasResolvedAst(ExecutableElement element); | 159 bool hasResolvedAst(ExecutableElement element); |
| 160 ResolvedAst getResolvedAst(ExecutableElement element); | 160 ResolvedAst getResolvedAst(ExecutableElement element); |
| 161 bool hasResolutionImpact(Element element); | 161 bool hasResolutionImpact(Element element); |
| 162 ResolutionImpact getResolutionImpact(Element element); | 162 ResolutionImpact getResolutionImpact(Element element); |
| 163 WorldImpact computeWorldImpact(Element element); | 163 WorldImpact computeWorldImpact(Element element); |
| 164 } | 164 } |
| OLD | NEW |