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

Side by Side Diff: pkg/front_end/lib/src/fasta/builder/named_mixin_application_builder.dart

Issue 2862223002: Rewrite mixin application handling in Fasta. (Closed)
Patch Set: Update status file. Created 3 years, 7 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) 2016, 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.named_mixin_application_builder;
6
7 import 'builder.dart'
8 show
9 ClassBuilder,
10 LibraryBuilder,
11 MemberBuilder,
12 MetadataBuilder,
13 Scope,
14 TypeBuilder,
15 TypeVariableBuilder;
16
17 abstract class NamedMixinApplicationBuilder<T extends TypeBuilder, R>
18 extends ClassBuilder<T, R> {
19 NamedMixinApplicationBuilder(
20 List<MetadataBuilder> metadata,
21 String name,
22 List<TypeVariableBuilder> typeVariables,
23 int modifiers,
24 T supertype,
25 List<T> interfaces,
26 LibraryBuilder parent,
27 int charOffset)
28 : super(
29 metadata,
30 modifiers,
31 name,
32 typeVariables,
33 supertype,
34 interfaces,
35 new Scope(<String, MemberBuilder>{}, <String, MemberBuilder>{},
36 parent.scope.withTypeVariables(typeVariables),
37 isModifiable: false),
38 new Scope(<String, MemberBuilder>{}, null, null,
39 isModifiable: false),
40 parent,
41 charOffset);
42
43 T get mixinApplication => supertype;
44 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/builder/modifier_builder.dart ('k') | pkg/front_end/lib/src/fasta/builder/named_type_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698