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

Unified Diff: pkg/front_end/lib/src/fasta/analyzer/analyzer_diet_listener.dart

Issue 2828583003: remove dependencies to analyzer from lib/src/fasta (Closed)
Patch Set: rebase Created 3 years, 8 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
Index: pkg/front_end/lib/src/fasta/analyzer/analyzer_diet_listener.dart
diff --git a/pkg/front_end/lib/src/fasta/analyzer/analyzer_diet_listener.dart b/pkg/front_end/lib/src/fasta/analyzer/analyzer_diet_listener.dart
deleted file mode 100644
index 497aea70d0dad7231f5284d9620dba74b5e3eb94..0000000000000000000000000000000000000000
--- a/pkg/front_end/lib/src/fasta/analyzer/analyzer_diet_listener.dart
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library fasta.analyzer_diet_listener;
-
-import 'package:kernel/ast.dart' show AsyncMarker;
-
-import '../source/stack_listener.dart' show StackListener;
-
-import '../builder/builder.dart';
-
-import '../source/source_library_builder.dart' show SourceLibraryBuilder;
-
-import '../source/diet_listener.dart' show DietListener;
-
-import 'package:analyzer/src/fasta/element_store.dart' show ElementStore;
-
-import 'package:analyzer/src/fasta/ast_builder.dart' show AstBuilder;
-
-class AnalyzerDietListener extends DietListener {
- final ElementStore elementStore;
-
- AnalyzerDietListener(SourceLibraryBuilder library, this.elementStore)
- : super(library, null, null, null);
-
- StackListener createListener(
- MemberBuilder builder, Scope memberScope, bool isInstanceMember,
- [Scope formalParameterScope]) {
- return new AstBuilder(
- null, library, builder, elementStore, memberScope, uri);
- }
-
- @override
- AsyncMarker getAsyncMarker(StackListener listener) => null;
-}
« no previous file with comments | « pkg/front_end/lib/src/fasta/analyzer/analyzer_compile.dart ('k') | pkg/front_end/lib/src/fasta/analyzer/analyzer_loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698