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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 Source get source => actualElement.source; | 405 Source get source => actualElement.source; |
406 | 406 |
407 @override | 407 @override |
408 CompilationUnit get unit => actualElement.unit; | 408 CompilationUnit get unit => actualElement.unit; |
409 | 409 |
410 @override | 410 @override |
411 bool operator ==(Object object) => | 411 bool operator ==(Object object) => |
412 object is Element && object.location == _location; | 412 object is Element && object.location == _location; |
413 | 413 |
414 @override | 414 @override |
415 /*=T*/ accept/*<T>*/(ElementVisitor<dynamic/*=T*/ > visitor) => | 415 T accept<T>(ElementVisitor<T> visitor) => actualElement.accept(visitor); |
416 actualElement.accept(visitor); | |
417 | 416 |
418 @override | 417 @override |
419 String computeDocumentationComment() => documentationComment; | 418 String computeDocumentationComment() => documentationComment; |
420 | 419 |
421 @override | 420 @override |
422 AstNode computeNode() => actualElement.computeNode(); | 421 AstNode computeNode() => actualElement.computeNode(); |
423 | 422 |
424 @override | 423 @override |
425 Element/*=E*/ getAncestor/*<E extends Element >*/( | 424 E getAncestor<E extends Element>(Predicate<Element> predicate) => |
426 Predicate<Element> predicate) => | |
427 actualElement.getAncestor(predicate); | 425 actualElement.getAncestor(predicate); |
428 | 426 |
429 @override | 427 @override |
430 String getExtendedDisplayName(String shortName) => | 428 String getExtendedDisplayName(String shortName) => |
431 actualElement.getExtendedDisplayName(shortName); | 429 actualElement.getExtendedDisplayName(shortName); |
432 | 430 |
433 @override | 431 @override |
434 bool isAccessibleIn(LibraryElement library) => | 432 bool isAccessibleIn(LibraryElement library) => |
435 actualElement.isAccessibleIn(library); | 433 actualElement.isAccessibleIn(library); |
436 | 434 |
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1162 | 1160 |
1163 @override | 1161 @override |
1164 bool get isStatic => actualElement.isStatic; | 1162 bool get isStatic => actualElement.isStatic; |
1165 | 1163 |
1166 @override | 1164 @override |
1167 DartType get type => actualElement.type; | 1165 DartType get type => actualElement.type; |
1168 | 1166 |
1169 @override | 1167 @override |
1170 DartObject computeConstantValue() => actualElement.computeConstantValue(); | 1168 DartObject computeConstantValue() => actualElement.computeConstantValue(); |
1171 } | 1169 } |
OLD | NEW |