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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartForInStatement.java

Issue 10913112: Clean ups for trailing whitespace and block style (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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: compiler/java/com/google/dart/compiler/ast/DartForInStatement.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartForInStatement.java b/compiler/java/com/google/dart/compiler/ast/DartForInStatement.java
index 86b8e177402fc4d037e78c89657b690d8f1c5b5e..7dfb7699f7a570768adba1d891f362be09367f39 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartForInStatement.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartForInStatement.java
@@ -11,16 +11,23 @@ public class DartForInStatement extends DartStatement {
private DartStatement setup;
private DartExpression iterable;
+ private final int closeParenOffset;
private DartStatement body;
public DartForInStatement(DartStatement setup,
DartExpression iterable,
+ int closeParenOffset,
DartStatement body) {
this.setup = becomeParentOf(setup);
this.iterable = becomeParentOf(iterable);
+ this.closeParenOffset = closeParenOffset;
this.body = becomeParentOf(body);
}
+ public int getCloseParenOffset() {
+ return closeParenOffset;
+ }
+
public DartStatement getBody() {
return body;
}

Powered by Google App Engine
This is Rietveld 408576698