| Index: compiler/java/com/google/dart/compiler/ast/DartExpression.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartExpression.java b/compiler/java/com/google/dart/compiler/ast/DartExpression.java
|
| index 106ce6bf3fa7aa06eefda0b38cb88d13542bb04b..76c712a421d8855ac98a88196401035ab354f9e4 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartExpression.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartExpression.java
|
| @@ -9,9 +9,25 @@ package com.google.dart.compiler.ast;
|
| * Abstract base class for Dart expressions.
|
| */
|
| public abstract class DartExpression extends DartNode {
|
| +
|
| + private Object invocationParameterId;
|
|
|
| public boolean isAssignable() {
|
| // By default you cannot assign to expressions.
|
| return false;
|
| }
|
| +
|
| + /**
|
| + * @return the ID of parameter, {@link Integer} index of positional, {@link String} name if named.
|
| + */
|
| + public Object getInvocationParameterId() {
|
| + return invocationParameterId;
|
| + }
|
| +
|
| + /**
|
| + * @see #getInvocationParameterId()
|
| + */
|
| + public void setInvocationParameterId(Object parameterId) {
|
| + this.invocationParameterId = parameterId;
|
| + }
|
| }
|
|
|