| Index: compiler/java/com/google/dart/compiler/ast/DartMethodInvocation.java
|
| ===================================================================
|
| --- compiler/java/com/google/dart/compiler/ast/DartMethodInvocation.java (revision 9267)
|
| +++ compiler/java/com/google/dart/compiler/ast/DartMethodInvocation.java (working copy)
|
| @@ -25,14 +25,17 @@
|
| public class DartMethodInvocation extends DartInvocation {
|
|
|
| private DartExpression target;
|
| + private boolean isCascade;
|
| private DartIdentifier functionName;
|
|
|
| public DartMethodInvocation(DartExpression target,
|
| + boolean isCascade,
|
| DartIdentifier functionName,
|
| List<DartExpression> args) {
|
| super(args);
|
| functionName.getClass(); // Quick null-check.
|
| this.target = becomeParentOf(target);
|
| + this.isCascade = isCascade;
|
| this.functionName = becomeParentOf(functionName);
|
| }
|
|
|
| @@ -45,6 +48,10 @@
|
| return functionName.getName();
|
| }
|
|
|
| + public boolean isCascade() {
|
| + return isCascade;
|
| + }
|
| +
|
| public DartIdentifier getFunctionName() {
|
| return functionName;
|
| }
|
|
|