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

Unified Diff: pkg/front_end/lib/src/fasta/builder/modifier_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/builder/modifier_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/modifier_builder.dart b/pkg/front_end/lib/src/fasta/builder/modifier_builder.dart
index d03aa446e0e87101759b47f64e6ab15718213af8..2efe75377ad5f9d90542f75b172f7cd16952b02b 100644
--- a/pkg/front_end/lib/src/fasta/builder/modifier_builder.dart
+++ b/pkg/front_end/lib/src/fasta/builder/modifier_builder.dart
@@ -5,7 +5,13 @@
library fasta.modifier_builder;
import '../modifier.dart'
- show abstractMask, constMask, externalMask, finalMask, staticMask;
+ show
+ abstractMask,
+ constMask,
+ externalMask,
+ finalMask,
+ namedMixinApplicationMask,
+ staticMask;
import 'builder.dart' show Builder;
@@ -26,4 +32,8 @@ abstract class ModifierBuilder extends Builder {
bool get isFinal => (modifiers & finalMask) != 0;
bool get isStatic => (modifiers & staticMask) != 0;
+
+ bool get isNamedMixinApplication {
+ return (modifiers & namedMixinApplicationMask) != 0;
+ }
}

Powered by Google App Engine
This is Rietveld 408576698