OLD | NEW |
| (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 } | |
OLD | NEW |