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

Unified Diff: pkg/kernel/lib/ast.dart

Issue 2781893004: Remove definitions from Kernel canonical names. (Closed)
Patch Set: Update test expectations. Created 3 years, 9 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
« no previous file with comments | « no previous file | pkg/kernel/lib/canonical_name.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/ast.dart
diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart
index 311d8c5051e34233c428ce1d4bb33292bf78a4eb..a27c198a9326d3d6d21fcbdd261217bed35c2d67 100644
--- a/pkg/kernel/lib/ast.dart
+++ b/pkg/kernel/lib/ast.dart
@@ -997,6 +997,7 @@ class Procedure extends Member {
bool get isAccessor => isGetter || isSetter;
bool get hasGetter => kind != ProcedureKind.Setter;
bool get hasSetter => kind == ProcedureKind.Setter;
+ bool get isFactory => kind == ProcedureKind.Factory;
accept(MemberVisitor v) => v.visitProcedure(this);
« no previous file with comments | « no previous file | pkg/kernel/lib/canonical_name.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698