Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: pkg/front_end/lib/src/fasta/loader.dart

Issue 2723113002: Consolidate analyzer dependencies. (Closed)
Patch Set: Remove new dependency on AsyncMarker. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_target.dart ('k') | pkg/front_end/lib/src/fasta/outline.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/loader.dart
diff --git a/pkg/front_end/lib/src/fasta/loader.dart b/pkg/front_end/lib/src/fasta/loader.dart
index 14a8b0c321d281b52b8d2e2e7b44e48e2eec47f2..0af3e1f31f5d33fa28e49a49ca28f417d1634f49 100644
--- a/pkg/front_end/lib/src/fasta/loader.dart
+++ b/pkg/front_end/lib/src/fasta/loader.dart
@@ -8,8 +8,6 @@ import 'dart:async' show Future;
import 'dart:collection' show Queue;
-import 'ast_kind.dart' show AstKind;
-
import 'builder/builder.dart' show Builder, LibraryBuilder;
import 'errors.dart' show InputError, firstSourceUri;
@@ -81,11 +79,11 @@ abstract class Loader<L> {
}
}
- Future<Null> buildBodies(AstKind astKind) async {
+ Future<Null> buildBodies() async {
assert(coreLibrary != null);
for (LibraryBuilder library in builders.values) {
currentUriForCrashReporting = library.uri;
- await buildBody(library, astKind);
+ await buildBody(library);
}
currentUriForCrashReporting = null;
ticker.log((Duration elapsed, Duration sinceStart) {
@@ -126,10 +124,7 @@ ${format(ms / libraryCount, 3, 12)} ms/compilation unit.""");
Future<Null> buildOutline(covariant LibraryBuilder library);
/// Builds all the method bodies found in the given [library].
- ///
- /// [astKind] determines whether or not analyzer ASTs are used as an
- /// intermediate data structure.
- Future<Null> buildBody(covariant LibraryBuilder library, AstKind astKind);
+ Future<Null> buildBody(covariant LibraryBuilder library);
List<InputError> collectCompileTimeErrors() {
List<InputError> errors = <InputError>[];
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_target.dart ('k') | pkg/front_end/lib/src/fasta/outline.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698