| 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 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 Source get source => actualElement.source; | 402 Source get source => actualElement.source; |
| 403 | 403 |
| 404 @override | 404 @override |
| 405 CompilationUnit get unit => actualElement.unit; | 405 CompilationUnit get unit => actualElement.unit; |
| 406 | 406 |
| 407 @override | 407 @override |
| 408 bool operator ==(Object object) => | 408 bool operator ==(Object object) => |
| 409 object is Element && object.location == _location; | 409 object is Element && object.location == _location; |
| 410 | 410 |
| 411 @override | 411 @override |
| 412 /*=T*/ accept/*<T>*/(ElementVisitor<dynamic/*=T*/> visitor) => | 412 /*=T*/ accept/*<T>*/(ElementVisitor<dynamic/*=T*/ > visitor) => |
| 413 actualElement.accept(visitor); | 413 actualElement.accept(visitor); |
| 414 | 414 |
| 415 @override | 415 @override |
| 416 String computeDocumentationComment() => documentationComment; | 416 String computeDocumentationComment() => documentationComment; |
| 417 | 417 |
| 418 @override | 418 @override |
| 419 AstNode computeNode() => actualElement.computeNode(); | 419 AstNode computeNode() => actualElement.computeNode(); |
| 420 | 420 |
| 421 @override | 421 @override |
| 422 Element/*=E*/ getAncestor/*<E extends Element >*/( | 422 Element/*=E*/ getAncestor/*<E extends Element >*/( |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 868 ClassElement get enclosingElement => super.enclosingElement as ClassElement; | 868 ClassElement get enclosingElement => super.enclosingElement as ClassElement; |
| 869 | 869 |
| 870 @override | 870 @override |
| 871 bool get isStatic => actualElement.isStatic; | 871 bool get isStatic => actualElement.isStatic; |
| 872 | 872 |
| 873 @override | 873 @override |
| 874 ElementKind get kind => ElementKind.METHOD; | 874 ElementKind get kind => ElementKind.METHOD; |
| 875 | 875 |
| 876 @override | 876 @override |
| 877 MethodDeclaration computeNode() => actualElement.computeNode(); | 877 MethodDeclaration computeNode() => actualElement.computeNode(); |
| 878 |
| 879 @override |
| 880 FunctionType getReifiedType(DartType objectType) => |
| 881 actualElement.getReifiedType(objectType); |
| 878 } | 882 } |
| 879 | 883 |
| 880 /** | 884 /** |
| 881 * A handle to a [ParameterElement]. | 885 * A handle to a [ParameterElement]. |
| 882 */ | 886 */ |
| 883 class ParameterElementHandle extends VariableElementHandle | 887 class ParameterElementHandle extends VariableElementHandle |
| 884 with ParameterElementMixin | 888 with ParameterElementMixin |
| 885 implements ParameterElement { | 889 implements ParameterElement { |
| 886 /** | 890 /** |
| 887 * Initialize a newly created element handle to represent the element at the | 891 * Initialize a newly created element handle to represent the element at the |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1116 | 1120 |
| 1117 @override | 1121 @override |
| 1118 bool get isStatic => actualElement.isStatic; | 1122 bool get isStatic => actualElement.isStatic; |
| 1119 | 1123 |
| 1120 @override | 1124 @override |
| 1121 DartType get type => actualElement.type; | 1125 DartType get type => actualElement.type; |
| 1122 | 1126 |
| 1123 @override | 1127 @override |
| 1124 DartObject computeConstantValue() => actualElement.computeConstantValue(); | 1128 DartObject computeConstantValue() => actualElement.computeConstantValue(); |
| 1125 } | 1129 } |
| OLD | NEW |