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

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

Issue 2723113002: Consolidate analyzer dependencies. (Closed)
Patch Set: Remove new dependency on AsyncMarker. Created 3 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
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.
4
5 library fasta.analyzer_diet_listener;
6
7 import '../source/stack_listener.dart' show StackListener;
8
9 import '../builder/builder.dart';
10
11 import '../builder/scope.dart' show Scope;
12
13 import '../source/source_library_builder.dart' show SourceLibraryBuilder;
14
15 import '../source/diet_listener.dart' show DietListener;
16
17 import 'element_store.dart' show ElementStore;
18
19 import 'ast_builder.dart' show AstBuilder;
20
21 class AnalyzerDietListener extends DietListener {
22 final ElementStore elementStore;
23
24 AnalyzerDietListener(SourceLibraryBuilder library, this.elementStore)
25 : super(library, null, null);
26
27 StackListener createListener(
28 MemberBuilder builder, Scope memberScope, bool isInstanceMember,
29 [Scope formalParameterScope]) {
30 return new AstBuilder(library, builder, elementStore, memberScope, uri);
31 }
32
33 @override
34 AsyncMarker getAsyncMarker(StackListener listener) => null;
35 }
OLDNEW
« 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