| Index: compiler/java/com/google/dart/compiler/ast/DartImportDirective.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartImportDirective.java b/compiler/java/com/google/dart/compiler/ast/DartImportDirective.java
|
| index 0dd1dc6cc6b969ed64f3bf8bd723263f81f4598c..a31baed3b5bed9ac680124a301e0a613f0028f51 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartImportDirective.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartImportDirective.java
|
| @@ -55,6 +55,17 @@ public class DartImportDirective extends DartDirective {
|
| return combinators;
|
| }
|
|
|
| + public String getPrefixValue() {
|
| + if (prefix != null) {
|
| + return prefix.getName();
|
| + }
|
| + // TODO(brianwilkerson) Remove this part once the obsolete format is no longer supported.
|
| + if (oldPrefix != null) {
|
| + return oldPrefix.getValue();
|
| + }
|
| + return null;
|
| + }
|
| +
|
| @Deprecated
|
| public DartStringLiteral getOldPrefix() {
|
| // TODO(brianwilkerson) Remove this method once the obsolete format is no longer supported.
|
|
|