| Index: compiler/java/com/google/dart/compiler/ast/DartFunction.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartFunction.java b/compiler/java/com/google/dart/compiler/ast/DartFunction.java
|
| index e51be2a70de7669f6be9afd26513be78c64d5410..2161859cb633d80210f1ad9a26ac2ae1e3457bfe 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartFunction.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartFunction.java
|
| @@ -12,11 +12,13 @@ import java.util.List;
|
| public class DartFunction extends DartNode {
|
|
|
| private final NodeList<DartParameter> parameters = NodeList.create(this);
|
| + private final int parametersCloseParen;
|
| private DartBlock body;
|
| private DartTypeNode returnTypeNode;
|
|
|
| - public DartFunction(List<DartParameter> parameters, DartBlock body, DartTypeNode returnTypeNode) {
|
| + public DartFunction(List<DartParameter> parameters, int parametersCloseParen, DartBlock body, DartTypeNode returnTypeNode) {
|
| this.parameters.addAll(parameters);
|
| + this.parametersCloseParen = parametersCloseParen;
|
| this.body = becomeParentOf(body);
|
| this.returnTypeNode = becomeParentOf(returnTypeNode);
|
| }
|
| @@ -28,6 +30,10 @@ public class DartFunction extends DartNode {
|
| public List<DartParameter> getParameters() {
|
| return parameters;
|
| }
|
| +
|
| + public int getParametersCloseParen() {
|
| + return parametersCloseParen;
|
| + }
|
|
|
| public DartTypeNode getReturnTypeNode() {
|
| return returnTypeNode;
|
|
|