| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library elements; | 5 library elements; |
| 6 | 6 |
| 7 | 7 |
| 8 import '../tree/tree.dart'; | 8 import '../tree/tree.dart'; |
| 9 import '../util/util.dart'; | 9 import '../util/util.dart'; |
| 10 import '../resolution/resolution.dart'; | 10 import '../resolution/resolution.dart'; |
| (...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 bool hasLibraryName(); | 726 bool hasLibraryName(); |
| 727 String getLibraryName(); | 727 String getLibraryName(); |
| 728 String getLibraryOrScriptName(); | 728 String getLibraryOrScriptName(); |
| 729 | 729 |
| 730 int compareTo(LibraryElement other); | 730 int compareTo(LibraryElement other); |
| 731 } | 731 } |
| 732 | 732 |
| 733 abstract class PrefixElement extends Element { | 733 abstract class PrefixElement extends Element { |
| 734 void addImport(Element element, Import import, DiagnosticListener listener); | 734 void addImport(Element element, Import import, DiagnosticListener listener); |
| 735 Element lookupLocalMember(String memberName); | 735 Element lookupLocalMember(String memberName); |
| 736 // Is true if this prefix belongs to a deferred import. |
| 737 bool get isDeferred; |
| 738 void markAsDeferred(); |
| 736 } | 739 } |
| 737 | 740 |
| 738 abstract class TypedefElement extends Element | 741 abstract class TypedefElement extends Element |
| 739 implements TypeDeclarationElement { | 742 implements TypeDeclarationElement { |
| 740 TypedefType get thisType; | 743 TypedefType get thisType; |
| 741 TypedefType get rawType; | 744 TypedefType get rawType; |
| 742 DartType get alias; | 745 DartType get alias; |
| 743 FunctionSignature get functionSignature; | 746 FunctionSignature get functionSignature; |
| 744 Link<DartType> get typeVariables; | 747 Link<DartType> get typeVariables; |
| 745 | 748 |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1109 InterfaceType get declarer; | 1112 InterfaceType get declarer; |
| 1110 | 1113 |
| 1111 /// Returns `true` if this member is static. | 1114 /// Returns `true` if this member is static. |
| 1112 bool get isStatic; | 1115 bool get isStatic; |
| 1113 | 1116 |
| 1114 /// Returns `true` if this member is a getter or setter implicitly declared | 1117 /// Returns `true` if this member is a getter or setter implicitly declared |
| 1115 /// by a field. | 1118 /// by a field. |
| 1116 bool get isDeclaredByField; | 1119 bool get isDeclaredByField; |
| 1117 } | 1120 } |
| 1118 | 1121 |
| OLD | NEW |