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/source/source_class_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
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 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 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.source_class_builder; 5 library fasta.source_class_builder;
6 6
7 import 'package:front_end/src/fasta/builder/class_builder.dart' 7 import 'package:front_end/src/fasta/builder/class_builder.dart'
8 show ClassBuilder; 8 show ClassBuilder;
9 9
10 import 'package:front_end/src/fasta/source/source_library_builder.dart' 10 import 'package:front_end/src/fasta/source/source_library_builder.dart'
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 cls.fileOffset = charOffset; 43 cls.fileOffset = charOffset;
44 } 44 }
45 return cls; 45 return cls;
46 } 46 }
47 47
48 class SourceClassBuilder extends KernelClassBuilder { 48 class SourceClassBuilder extends KernelClassBuilder {
49 final Class cls; 49 final Class cls;
50 50
51 final List<ConstructorReferenceBuilder> constructorReferences; 51 final List<ConstructorReferenceBuilder> constructorReferences;
52 52
53 final KernelTypeBuilder mixedInType; 53 KernelTypeBuilder mixedInType;
54 54
55 SourceClassBuilder( 55 SourceClassBuilder(
56 List<MetadataBuilder> metadata, 56 List<MetadataBuilder> metadata,
57 int modifiers, 57 int modifiers,
58 String name, 58 String name,
59 List<TypeVariableBuilder> typeVariables, 59 List<TypeVariableBuilder> typeVariables,
60 KernelTypeBuilder supertype, 60 KernelTypeBuilder supertype,
61 List<KernelTypeBuilder> interfaces, 61 List<KernelTypeBuilder> interfaces,
62 Scope scope, 62 Scope scope,
63 Scope constructors, 63 Scope constructors,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 } 155 }
156 156
157 @override 157 @override
158 void prepareInitializerInference( 158 void prepareInitializerInference(
159 SourceLibraryBuilder library, ClassBuilder currentClass) { 159 SourceLibraryBuilder library, ClassBuilder currentClass) {
160 scope.forEach((name, builder) { 160 scope.forEach((name, builder) {
161 builder.prepareInitializerInference(library, this); 161 builder.prepareInitializerInference(library, this);
162 }); 162 });
163 } 163 }
164 } 164 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/source/outline_builder.dart ('k') | pkg/front_end/lib/src/fasta/source/source_loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698