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

Unified Diff: frog/leg/tree/nodes.dart

Issue 9166010: Implement super calls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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: frog/leg/tree/nodes.dart
diff --git a/frog/leg/tree/nodes.dart b/frog/leg/tree/nodes.dart
index f0c8c111c4308b5667c2d6e9bc4295be62dfbccc..e84c4ef65beb30939ef3bd413d59e2350d491d46 100644
--- a/frog/leg/tree/nodes.dart
+++ b/frog/leg/tree/nodes.dart
@@ -656,6 +656,8 @@ class Identifier extends Expression {
bool isThis() => source.stringValue == 'this';
+ bool isSuper() => source.stringValue == 'super';
+
Identifier asIdentifier() => this;
accept(Visitor visitor) => visitor.visitIdentifier(this);
« frog/leg/ssa/nodes.dart ('K') | « frog/leg/ssa/nodes.dart ('k') | frog/leg/warnings.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698