| 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 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 736 bool hasLibraryName(); | 736 bool hasLibraryName(); |
| 737 String getLibraryName(); | 737 String getLibraryName(); |
| 738 String getLibraryOrScriptName(); | 738 String getLibraryOrScriptName(); |
| 739 | 739 |
| 740 int compareTo(LibraryElement other); | 740 int compareTo(LibraryElement other); |
| 741 } | 741 } |
| 742 | 742 |
| 743 abstract class PrefixElement extends Element { | 743 abstract class PrefixElement extends Element { |
| 744 void addImport(Element element, Import import, DiagnosticListener listener); | 744 void addImport(Element element, Import import, DiagnosticListener listener); |
| 745 Element lookupLocalMember(String memberName); | 745 Element lookupLocalMember(String memberName); |
| 746 /// Is true if this prefix belongs to a deferred import. |
| 747 bool get isDeferred; |
| 748 void markAsDeferred(); |
| 746 } | 749 } |
| 747 | 750 |
| 748 abstract class TypedefElement extends Element | 751 abstract class TypedefElement extends Element |
| 749 implements TypeDeclarationElement { | 752 implements TypeDeclarationElement { |
| 750 TypedefType get thisType; | 753 TypedefType get thisType; |
| 751 TypedefType get rawType; | 754 TypedefType get rawType; |
| 752 DartType get alias; | 755 DartType get alias; |
| 753 FunctionSignature get functionSignature; | 756 FunctionSignature get functionSignature; |
| 754 Link<DartType> get typeVariables; | 757 Link<DartType> get typeVariables; |
| 755 | 758 |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1119 InterfaceType get declarer; | 1122 InterfaceType get declarer; |
| 1120 | 1123 |
| 1121 /// Returns `true` if this member is static. | 1124 /// Returns `true` if this member is static. |
| 1122 bool get isStatic; | 1125 bool get isStatic; |
| 1123 | 1126 |
| 1124 /// Returns `true` if this member is a getter or setter implicitly declared | 1127 /// Returns `true` if this member is a getter or setter implicitly declared |
| 1125 /// by a field. | 1128 /// by a field. |
| 1126 bool get isDeclaredByField; | 1129 bool get isDeclaredByField; |
| 1127 } | 1130 } |
| 1128 | 1131 |
| OLD | NEW |