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

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

Issue 1749143003: Add @overrides to (a lot of) analyzer. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: options Created 4 years, 9 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
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/lib/src/error.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.dart.element.member; 5 library analyzer.src.dart.element.member;
6 6
7 import 'package:analyzer/dart/ast/ast.dart'; 7 import 'package:analyzer/dart/ast/ast.dart';
8 import 'package:analyzer/dart/element/element.dart'; 8 import 'package:analyzer/dart/element/element.dart';
9 import 'package:analyzer/dart/element/type.dart'; 9 import 'package:analyzer/dart/element/type.dart';
10 import 'package:analyzer/src/dart/element/element.dart'; 10 import 'package:analyzer/src/dart/element/element.dart';
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 @override 448 @override
449 String get displayName => _baseElement.displayName; 449 String get displayName => _baseElement.displayName;
450 450
451 @deprecated 451 @deprecated
452 @override 452 @override
453 SourceRange get docRange => _baseElement.docRange; 453 SourceRange get docRange => _baseElement.docRange;
454 454
455 @override 455 @override
456 String get documentationComment => _baseElement.documentationComment; 456 String get documentationComment => _baseElement.documentationComment;
457 457
458 @override
458 int get id => _baseElement.id; 459 int get id => _baseElement.id;
459 460
460 @override 461 @override
461 bool get isDeprecated => _baseElement.isDeprecated; 462 bool get isDeprecated => _baseElement.isDeprecated;
462 463
463 @override 464 @override
464 bool get isOverride => _baseElement.isOverride; 465 bool get isOverride => _baseElement.isOverride;
465 466
466 @override 467 @override
467 bool get isPrivate => _baseElement.isPrivate; 468 bool get isPrivate => _baseElement.isPrivate;
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
1027 bool get isStatic => baseElement.isStatic; 1028 bool get isStatic => baseElement.isStatic;
1028 1029
1029 @override 1030 @override
1030 void visitChildren(ElementVisitor visitor) { 1031 void visitChildren(ElementVisitor visitor) {
1031 // TODO(brianwilkerson) We need to finish implementing the accessors used 1032 // TODO(brianwilkerson) We need to finish implementing the accessors used
1032 // below so that we can safely invoke them. 1033 // below so that we can safely invoke them.
1033 super.visitChildren(visitor); 1034 super.visitChildren(visitor);
1034 safelyVisitChild(baseElement.initializer, visitor); 1035 safelyVisitChild(baseElement.initializer, visitor);
1035 } 1036 }
1036 } 1037 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/lib/src/error.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698