| 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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 bool get isMixinApplication; | 406 bool get isMixinApplication; |
| 407 | 407 |
| 408 bool get hasFixedBackendName; | 408 bool get hasFixedBackendName; |
| 409 String get fixedBackendName; | 409 String get fixedBackendName; |
| 410 | 410 |
| 411 bool get isAbstract; | 411 bool get isAbstract; |
| 412 bool isForeign(Backend backend); | 412 bool isForeign(Backend backend); |
| 413 | 413 |
| 414 void addMetadata(MetadataAnnotation annotation); | 414 void addMetadata(MetadataAnnotation annotation); |
| 415 void setNative(String name); | 415 void setNative(String name); |
| 416 void setFixedBackendName(String name); | |
| 417 | 416 |
| 418 Scope buildScope(); | 417 Scope buildScope(); |
| 419 | 418 |
| 420 void diagnose(Element context, DiagnosticListener listener); | 419 void diagnose(Element context, DiagnosticListener listener); |
| 421 | 420 |
| 422 // TODO(johnniwinther): Move this to [AstElement]. | 421 // TODO(johnniwinther): Move this to [AstElement]. |
| 423 /// Returns the [Element] that holds the [TreeElements] for this element. | 422 /// Returns the [Element] that holds the [TreeElements] for this element. |
| 424 AnalyzableElement get analyzableElement; | 423 AnalyzableElement get analyzableElement; |
| 425 | 424 |
| 426 accept(ElementVisitor visitor); | 425 accept(ElementVisitor visitor); |
| (...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1621 bool get isDeclaredByField; | 1620 bool get isDeclaredByField; |
| 1622 | 1621 |
| 1623 /// Returns `true` if this member is abstract. | 1622 /// Returns `true` if this member is abstract. |
| 1624 bool get isAbstract; | 1623 bool get isAbstract; |
| 1625 | 1624 |
| 1626 /// If abstract, [implementation] points to the overridden concrete member, | 1625 /// If abstract, [implementation] points to the overridden concrete member, |
| 1627 /// if any. Otherwise [implementation] points to the member itself. | 1626 /// if any. Otherwise [implementation] points to the member itself. |
| 1628 Member get implementation; | 1627 Member get implementation; |
| 1629 } | 1628 } |
| 1630 | 1629 |
| OLD | NEW |