| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 analyzer.src.generated.element_handle; | 5 library analyzer.src.generated.element_handle; |
| 6 | 6 |
| 7 import 'package:analyzer/dart/ast/ast.dart'; | 7 import 'package:analyzer/dart/ast/ast.dart'; |
| 8 import 'package:analyzer/dart/constant/value.dart'; | 8 import 'package:analyzer/dart/constant/value.dart'; |
| 9 import 'package:analyzer/dart/element/element.dart'; | 9 import 'package:analyzer/dart/element/element.dart'; |
| 10 import 'package:analyzer/dart/element/type.dart'; | 10 import 'package:analyzer/dart/element/type.dart'; |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 @override | 555 @override |
| 556 ElementKind get kind => ElementKind.EXPORT; | 556 ElementKind get kind => ElementKind.EXPORT; |
| 557 | 557 |
| 558 @override | 558 @override |
| 559 String get uri => actualElement.uri; | 559 String get uri => actualElement.uri; |
| 560 | 560 |
| 561 @override | 561 @override |
| 562 int get uriEnd => actualElement.uriEnd; | 562 int get uriEnd => actualElement.uriEnd; |
| 563 | 563 |
| 564 @override | 564 @override |
| 565 bool get uriExists => actualElement.uriExists; |
| 566 |
| 567 @override |
| 565 int get uriOffset => actualElement.uriOffset; | 568 int get uriOffset => actualElement.uriOffset; |
| 566 } | 569 } |
| 567 | 570 |
| 568 /** | 571 /** |
| 569 * A handle to a [FieldElement]. | 572 * A handle to a [FieldElement]. |
| 570 */ | 573 */ |
| 571 class FieldElementHandle extends PropertyInducingElementHandle | 574 class FieldElementHandle extends PropertyInducingElementHandle |
| 572 implements FieldElement { | 575 implements FieldElement { |
| 573 /** | 576 /** |
| 574 * Initialize a newly created element handle to represent the element at the | 577 * Initialize a newly created element handle to represent the element at the |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 700 @override | 703 @override |
| 701 int get prefixOffset => actualElement.prefixOffset; | 704 int get prefixOffset => actualElement.prefixOffset; |
| 702 | 705 |
| 703 @override | 706 @override |
| 704 String get uri => actualElement.uri; | 707 String get uri => actualElement.uri; |
| 705 | 708 |
| 706 @override | 709 @override |
| 707 int get uriEnd => actualElement.uriEnd; | 710 int get uriEnd => actualElement.uriEnd; |
| 708 | 711 |
| 709 @override | 712 @override |
| 713 bool get uriExists => actualElement.uriExists; |
| 714 |
| 715 @override |
| 710 int get uriOffset => actualElement.uriOffset; | 716 int get uriOffset => actualElement.uriOffset; |
| 711 } | 717 } |
| 712 | 718 |
| 713 /** | 719 /** |
| 714 * A handle to a [LabelElement]. | 720 * A handle to a [LabelElement]. |
| 715 */ | 721 */ |
| 716 class LabelElementHandle extends ElementHandle implements LabelElement { | 722 class LabelElementHandle extends ElementHandle implements LabelElement { |
| 717 /** | 723 /** |
| 718 * Initialize a newly created element handle to represent the element at the | 724 * Initialize a newly created element handle to represent the element at the |
| 719 * given [_location]. The [_resynthesizer] will be used to resynthesize the | 725 * given [_location]. The [_resynthesizer] will be used to resynthesize the |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1119 | 1125 |
| 1120 @override | 1126 @override |
| 1121 bool get isStatic => actualElement.isStatic; | 1127 bool get isStatic => actualElement.isStatic; |
| 1122 | 1128 |
| 1123 @override | 1129 @override |
| 1124 DartType get type => actualElement.type; | 1130 DartType get type => actualElement.type; |
| 1125 | 1131 |
| 1126 @override | 1132 @override |
| 1127 DartObject computeConstantValue() => actualElement.computeConstantValue(); | 1133 DartObject computeConstantValue() => actualElement.computeConstantValue(); |
| 1128 } | 1134 } |
| OLD | NEW |