Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: pkg/analyzer/lib/src/dart/element/handle.dart

Issue 1977413002: Improve type information and minor clean up (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 @override 460 @override
461 accept(ElementVisitor visitor) => actualElement.accept(visitor); 461 accept(ElementVisitor visitor) => actualElement.accept(visitor);
462 462
463 @override 463 @override
464 String computeDocumentationComment() => documentationComment; 464 String computeDocumentationComment() => documentationComment;
465 465
466 @override 466 @override
467 AstNode computeNode() => actualElement.computeNode(); 467 AstNode computeNode() => actualElement.computeNode();
468 468
469 @override 469 @override
470 Element getAncestor(Predicate<Element> predicate) => 470 Element/*=E*/ getAncestor/*<E extends Element >*/(
471 Predicate<Element> predicate) =>
471 actualElement.getAncestor(predicate); 472 actualElement.getAncestor(predicate);
472 473
473 @override 474 @override
474 String getExtendedDisplayName(String shortName) => 475 String getExtendedDisplayName(String shortName) =>
475 actualElement.getExtendedDisplayName(shortName); 476 actualElement.getExtendedDisplayName(shortName);
476 477
477 @override 478 @override
478 bool isAccessibleIn(LibraryElement library) => 479 bool isAccessibleIn(LibraryElement library) =>
479 actualElement.isAccessibleIn(library); 480 actualElement.isAccessibleIn(library);
480 481
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
1160 1161
1161 @override 1162 @override
1162 bool get isStatic => actualElement.isStatic; 1163 bool get isStatic => actualElement.isStatic;
1163 1164
1164 @override 1165 @override
1165 DartType get type => actualElement.type; 1166 DartType get type => actualElement.type;
1166 1167
1167 @override 1168 @override
1168 DartObject computeConstantValue() => actualElement.computeConstantValue(); 1169 DartObject computeConstantValue() => actualElement.computeConstantValue();
1169 } 1170 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/lib/src/dart/element/member.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698