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 library dart2js.enqueue; | 5 library dart2js.enqueue; |
6 | 6 |
7 import 'dart:collection' show Queue; | 7 import 'dart:collection' show Queue; |
8 | 8 |
9 import 'common/tasks.dart' show CompilerTask; | 9 import 'common/tasks.dart' show CompilerTask; |
10 import 'common/work.dart' show WorkItem; | 10 import 'common/work.dart' show WorkItem; |
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 | 595 |
596 class DeferredAction { | 596 class DeferredAction { |
597 final Entity element; | 597 final Entity element; |
598 final DeferredActionFunction action; | 598 final DeferredActionFunction action; |
599 | 599 |
600 DeferredAction(this.element, this.action); | 600 DeferredAction(this.element, this.action); |
601 } | 601 } |
602 | 602 |
603 /// Interface for creating work items for enqueued member entities. | 603 /// Interface for creating work items for enqueued member entities. |
604 abstract class WorkItemBuilder { | 604 abstract class WorkItemBuilder { |
605 WorkItem createWorkItem(MemberEntity entity); | 605 WorkItem createWorkItem(covariant MemberEntity entity); |
606 } | 606 } |
OLD | NEW |