| 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 '../constants/expressions.dart'; | 8 import '../constants/expressions.dart'; | 
| 9 import '../tree/tree.dart'; | 9 import '../tree/tree.dart'; | 
| 10 import '../util/util.dart'; | 10 import '../util/util.dart'; | 
| (...skipping 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1320   Link<Element> get constructors; | 1320   Link<Element> get constructors; | 
| 1321 | 1321 | 
| 1322   ClassElement get patch; | 1322   ClassElement get patch; | 
| 1323   ClassElement get origin; | 1323   ClassElement get origin; | 
| 1324   ClassElement get declaration; | 1324   ClassElement get declaration; | 
| 1325   ClassElement get implementation; | 1325   ClassElement get implementation; | 
| 1326 | 1326 | 
| 1327   int get supertypeLoadState; | 1327   int get supertypeLoadState; | 
| 1328   String get nativeTagInfo; | 1328   String get nativeTagInfo; | 
| 1329 | 1329 | 
|  | 1330   /// `true` if this class is an enum declaration. | 
|  | 1331   bool get isEnumClass; | 
| 1330   bool get isMixinApplication; | 1332   bool get isMixinApplication; | 
| 1331   bool get isUnnamedMixinApplication; | 1333   bool get isUnnamedMixinApplication; | 
| 1332   bool get hasBackendMembers; | 1334   bool get hasBackendMembers; | 
| 1333   bool get hasLocalScopeMembers; | 1335   bool get hasLocalScopeMembers; | 
| 1334 | 1336 | 
| 1335   /// Returns `true` if this class is `Object` from dart:core. | 1337   /// Returns `true` if this class is `Object` from dart:core. | 
| 1336   bool get isObject; | 1338   bool get isObject; | 
| 1337 | 1339 | 
| 1338   bool isSubclassOf(ClassElement cls); | 1340   bool isSubclassOf(ClassElement cls); | 
| 1339   /// Returns true if `this` explicitly/nominally implements [intrface]. | 1341   /// Returns true if `this` explicitly/nominally implements [intrface]. | 
| 1340   /// | 1342   /// | 
| 1341   /// Note that, if [intrface] is the `Function` class, this method returns | 1343   /// Note that, if [intrface] is the `Function` class, this method returns | 
| 1342   /// falso for a class that has a `call` method but does not explicitly | 1344   /// falso for a class that has a `call` method but does not explicitly | 
| 1343   /// implement `Function`. | 1345   /// implement `Function`. | 
| 1344   bool implementsInterface(ClassElement intrface); | 1346   bool implementsInterface(ClassElement intrface); | 
| 1345   bool hasFieldShadowedBy(Element fieldMember); | 1347   bool hasFieldShadowedBy(Element fieldMember); | 
| 1346 | 1348 | 
| 1347   /// Returns `true` if this class has a @proxy annotation. | 1349   /// Returns `true` if this class has a @proxy annotation. | 
| 1348   bool get isProxy; | 1350   bool get isProxy; | 
| 1349 | 1351 | 
| 1350   /// Returns `true` if the class hierarchy for this class contains errors. | 1352   /// Returns `true` if the class hierarchy for this class contains errors. | 
| 1351   bool get hasIncompleteHierarchy; | 1353   bool get hasIncompleteHierarchy; | 
| 1352 | 1354 | 
| 1353   void addMember(Element element, DiagnosticListener listener); | 1355   void addMember(Element element, DiagnosticListener listener); | 
| 1354   void addToScope(Element element, DiagnosticListener listener); | 1356   void addToScope(Element element, DiagnosticListener listener); | 
| 1355 | 1357 | 
| 1356   void setDefaultConstructor(FunctionElement constructor, Compiler compiler); |  | 
| 1357 |  | 
| 1358   void addBackendMember(Element element); | 1358   void addBackendMember(Element element); | 
| 1359   void reverseBackendMembers(); | 1359   void reverseBackendMembers(); | 
| 1360 | 1360 | 
| 1361   Element lookupMember(String memberName); | 1361   Element lookupMember(String memberName); | 
| 1362   Element lookupSelector(Selector selector); | 1362   Element lookupSelector(Selector selector); | 
| 1363   Element lookupSuperSelector(Selector selector); | 1363   Element lookupSuperSelector(Selector selector); | 
| 1364 | 1364 | 
| 1365   Element lookupLocalMember(String memberName); | 1365   Element lookupLocalMember(String memberName); | 
| 1366   Element lookupBackendMember(String memberName); | 1366   Element lookupBackendMember(String memberName); | 
| 1367   Element lookupSuperMember(String memberName); | 1367   Element lookupSuperMember(String memberName); | 
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1602   bool get isDeclaredByField; | 1602   bool get isDeclaredByField; | 
| 1603 | 1603 | 
| 1604   /// Returns `true` if this member is abstract. | 1604   /// Returns `true` if this member is abstract. | 
| 1605   bool get isAbstract; | 1605   bool get isAbstract; | 
| 1606 | 1606 | 
| 1607   /// If abstract, [implementation] points to the overridden concrete member, | 1607   /// If abstract, [implementation] points to the overridden concrete member, | 
| 1608   /// if any. Otherwise [implementation] points to the member itself. | 1608   /// if any. Otherwise [implementation] points to the member itself. | 
| 1609   Member get implementation; | 1609   Member get implementation; | 
| 1610 } | 1610 } | 
| 1611 | 1611 | 
| OLD | NEW | 
|---|