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

Unified Diff: compiler/java/com/google/dart/compiler/ast/DartForStatement.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/DartForStatement.java
diff --git a/compiler/java/com/google/dart/compiler/ast/DartForStatement.java b/compiler/java/com/google/dart/compiler/ast/DartForStatement.java
index d5ba0e267e7b44c508cbc19a622b97cb4cd89384..e9b04be52383a4bc08b7cb0fa44f07d54572d368 100644
--- a/compiler/java/com/google/dart/compiler/ast/DartForStatement.java
+++ b/compiler/java/com/google/dart/compiler/ast/DartForStatement.java
@@ -12,16 +12,22 @@ public class DartForStatement extends DartStatement {
private DartStatement init;
private DartExpression condition;
private DartExpression increment;
+ private final int closeParenOffset;
private DartStatement body;
public DartForStatement(DartStatement init, DartExpression condition, DartExpression increment,
- DartStatement body) {
+ int closeParenOffset, DartStatement body) {
this.init = becomeParentOf(init);
this.condition = becomeParentOf(condition);
this.increment = becomeParentOf(increment);
+ 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