| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/LocalVariableElementImpl.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/LocalVariableElementImpl.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/LocalVariableElementImpl.java
|
| index bab51d5dacd5bfe8f2ae371f9aeca5e0cf30b9d3..f2faa977ec2af02a693bb7aa6362974567e76dba 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/LocalVariableElementImpl.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/LocalVariableElementImpl.java
|
| @@ -19,6 +19,7 @@ import com.google.dart.engine.element.ElementVisitor;
|
| import com.google.dart.engine.element.LocalVariableElement;
|
| import com.google.dart.engine.element.ToolkitObjectElement;
|
| import com.google.dart.engine.utilities.source.SourceRange;
|
| +import com.google.dart.engine.utilities.translation.DartName;
|
|
|
| /**
|
| * Instances of the class {@code LocalVariableElementImpl} implement a {@code LocalVariableElement}.
|
| @@ -47,10 +48,22 @@ public class LocalVariableElementImpl extends VariableElementImpl implements Loc
|
| *
|
| * @param name the name of this element
|
| */
|
| + @DartName("forNode")
|
| public LocalVariableElementImpl(Identifier name) {
|
| super(name);
|
| }
|
|
|
| + /**
|
| + * Initialize a newly created method element to have the given name.
|
| + *
|
| + * @param name the name of this element
|
| + * @param nameOffset the offset of the name of this element in the file that contains the
|
| + * declaration of this element
|
| + */
|
| + public LocalVariableElementImpl(String name, int nameOffset) {
|
| + super(name, nameOffset);
|
| + }
|
| +
|
| @Override
|
| public <R> R accept(ElementVisitor<R> visitor) {
|
| return visitor.visitLocalVariableElement(this);
|
|
|