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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_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 side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/lib/src/fasta/kernel/kernel_named_mixin_application_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_named_mixin_application_builder.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_named_mixin_application_builder.dart
deleted file mode 100644
index 5ad745e157c2cb55f11e1ad58cedcb47511c35e5..0000000000000000000000000000000000000000
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_named_mixin_application_builder.dart
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library fasta.kernel_named_mixin_application_builder;
-
-import 'package:kernel/ast.dart' show InterfaceType;
-
-import '../source/source_class_builder.dart' show SourceClassBuilder;
-
-import 'kernel_builder.dart'
- show
- KernelTypeBuilder,
- LibraryBuilder,
- MemberBuilder,
- MetadataBuilder,
- NamedMixinApplicationBuilder,
- Scope,
- TypeVariableBuilder;
-
-class KernelNamedMixinApplicationBuilder extends SourceClassBuilder
- implements NamedMixinApplicationBuilder<KernelTypeBuilder, InterfaceType> {
- KernelNamedMixinApplicationBuilder(
- List<MetadataBuilder> metadata,
- String name,
- List<TypeVariableBuilder> typeVariables,
- int modifiers,
- KernelTypeBuilder mixinApplication,
- List<KernelTypeBuilder> interfaces,
- LibraryBuilder parent,
- int charOffset)
- : super(
- metadata,
- modifiers,
- name,
- typeVariables,
- mixinApplication,
- interfaces,
- new Scope(<String, MemberBuilder>{}, <String, MemberBuilder>{},
- parent.scope.withTypeVariables(typeVariables),
- isModifiable: false),
- new Scope(<String, MemberBuilder>{}, null, null,
- isModifiable: false),
- parent,
- null,
- charOffset);
-
- KernelTypeBuilder get mixinApplication => supertype;
-
- // TODO(ahe): This is a bit odd, as it means this answers false to
- // [isMixinApplication], but its superclass is the mixin application.
- KernelTypeBuilder get mixedInType => null;
-}

Powered by Google App Engine
This is Rietveld 408576698