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

Unified Diff: lib/compiler/implementation/tree/nodes.dart

Issue 10957060: First stab at parsing redirecting constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 years, 3 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: lib/compiler/implementation/tree/nodes.dart
diff --git a/lib/compiler/implementation/tree/nodes.dart b/lib/compiler/implementation/tree/nodes.dart
index 398e30a1c96f282b1e81a667524eefba77bc407c..d58844e5a47da15549624c7f99b939c6a35bfaeb 100644
--- a/lib/compiler/implementation/tree/nodes.dart
+++ b/lib/compiler/implementation/tree/nodes.dart
@@ -891,6 +891,8 @@ class Return extends Statement {
bool get hasExpression => expression !== null;
+ String get firstTokenStringValue => beginToken.stringValue;
ahe 2012/10/05 08:23:20 Where is this used?
Lasse Reichstein Nielsen 2012/10/09 09:46:54 In unparser, validator and resolver. Looking at th
+
accept(Visitor visitor) => visitor.visitReturn(this);
visitChildren(Visitor visitor) {

Powered by Google App Engine
This is Rietveld 408576698