| 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;
|
| }
|
|
|