| Index: compiler/java/com/google/dart/compiler/ast/DartStringLiteral.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartStringLiteral.java b/compiler/java/com/google/dart/compiler/ast/DartStringLiteral.java
|
| index 91c69d95ef2453157f6ca8efc0bc9997f8c15d87..e2a83bfc6096139fc23767d9088b510aa584d26b 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartStringLiteral.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartStringLiteral.java
|
| @@ -5,6 +5,7 @@
|
| package com.google.dart.compiler.ast;
|
|
|
| import com.google.common.collect.ImmutableList;
|
| +import com.google.dart.compiler.resolver.Element;
|
|
|
| import java.util.List;
|
|
|
| @@ -12,6 +13,8 @@ import java.util.List;
|
| * Represents a Dart string literal value.
|
| */
|
| public class DartStringLiteral extends DartLiteral {
|
| +
|
| + private Element element;
|
|
|
| public static DartStringLiteral get(String x) {
|
| return new DartStringLiteral(x, null);
|
| @@ -43,6 +46,16 @@ public class DartStringLiteral extends DartLiteral {
|
| }
|
| return parts;
|
| }
|
| +
|
| + @Override
|
| + public void setElement(Element element) {
|
| + this.element = element;
|
| + }
|
| +
|
| + @Override
|
| + public Element getElement() {
|
| + return element;
|
| + }
|
|
|
| @Override
|
| public void visitChildren(ASTVisitor<?> visitor) {
|
|
|