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

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

Issue 2723173002: Apply transformers and other work arounds to get boostrapping to work. (Closed)
Patch Set: Add exception class. 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
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/kernel/kernel_target.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 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 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 fasta.analyzer_diet_listener; 5 library fasta.analyzer_diet_listener;
6 6
7 import 'package:kernel/ast.dart' show AsyncMarker;
8
7 import '../source/stack_listener.dart' show StackListener; 9 import '../source/stack_listener.dart' show StackListener;
8 10
9 import '../builder/builder.dart'; 11 import '../builder/builder.dart';
10 12
11 import '../builder/scope.dart' show Scope; 13 import '../builder/scope.dart' show Scope;
12 14
13 import '../source/source_library_builder.dart' show SourceLibraryBuilder; 15 import '../source/source_library_builder.dart' show SourceLibraryBuilder;
14 16
15 import '../source/diet_listener.dart' show DietListener; 17 import '../source/diet_listener.dart' show DietListener;
16 18
17 import 'element_store.dart' show ElementStore; 19 import 'element_store.dart' show ElementStore;
18 20
19 import 'ast_builder.dart' show AstBuilder; 21 import 'ast_builder.dart' show AstBuilder;
20 22
21 class AnalyzerDietListener extends DietListener { 23 class AnalyzerDietListener extends DietListener {
22 final ElementStore elementStore; 24 final ElementStore elementStore;
23 25
24 AnalyzerDietListener(SourceLibraryBuilder library, this.elementStore) 26 AnalyzerDietListener(SourceLibraryBuilder library, this.elementStore)
25 : super(library, null, null); 27 : super(library, null, null);
26 28
27 StackListener createListener( 29 StackListener createListener(
28 MemberBuilder builder, Scope memberScope, bool isInstanceMember, 30 MemberBuilder builder, Scope memberScope, bool isInstanceMember,
29 [Scope formalParameterScope]) { 31 [Scope formalParameterScope]) {
30 return new AstBuilder(library, builder, elementStore, memberScope, uri); 32 return new AstBuilder(library, builder, elementStore, memberScope, uri);
31 } 33 }
32 34
33 @override 35 @override
34 AsyncMarker getAsyncMarker(StackListener listener) => null; 36 AsyncMarker getAsyncMarker(StackListener listener) => null;
35 } 37 }
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/kernel/kernel_target.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698