| Index: compiler/java/com/google/dart/compiler/ast/DartCatchBlock.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartCatchBlock.java b/compiler/java/com/google/dart/compiler/ast/DartCatchBlock.java
|
| index 91818ad5ee2009d017ce9db4bb8f1a942da9295c..6ab02f5af492aedd9b6abf4546b84a5c17c8d8af 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartCatchBlock.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartCatchBlock.java
|
| @@ -8,18 +8,25 @@ package com.google.dart.compiler.ast;
|
| * Represents a Dart 'catch' block.
|
| */
|
| public class DartCatchBlock extends DartStatement {
|
| - private DartParameter exception;
|
| - private DartParameter stackTrace;
|
| - private DartBlock block;
|
| + private final int onTokenOffset;
|
| + private final DartParameter exception;
|
| + private final DartParameter stackTrace;
|
| + private final DartBlock block;
|
|
|
| public DartCatchBlock(DartBlock block,
|
| + int onTokenOffset,
|
| DartParameter exception,
|
| DartParameter stackTrace) {
|
| this.block = becomeParentOf(block);
|
| + this.onTokenOffset = onTokenOffset;
|
| this.exception = becomeParentOf(exception);
|
| this.stackTrace = becomeParentOf(stackTrace);
|
| }
|
|
|
| + public int getOnTokenOffset() {
|
| + return onTokenOffset;
|
| + }
|
| +
|
| public DartParameter getException() {
|
| return exception;
|
| }
|
|
|