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

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

Issue 1559923006: fix hints from analyzer in analyzer (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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.dart.element.member; 5 library analyzer.src.dart.element.member;
6 6
7 import 'package:analyzer/dart/element/element.dart'; 7 import 'package:analyzer/dart/element/element.dart';
8 import 'package:analyzer/dart/element/type.dart'; 8 import 'package:analyzer/dart/element/type.dart';
9 import 'package:analyzer/src/dart/element/element.dart'; 9 import 'package:analyzer/src/dart/element/element.dart';
10 import 'package:analyzer/src/dart/element/type.dart'; 10 import 'package:analyzer/src/dart/element/type.dart';
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 AnalysisContext get context => _baseElement.context; 432 AnalysisContext get context => _baseElement.context;
433 433
434 /** 434 /**
435 * Return the type in which the element is defined. 435 * Return the type in which the element is defined.
436 */ 436 */
437 ParameterizedType get definingType => _definingType; 437 ParameterizedType get definingType => _definingType;
438 438
439 @override 439 @override
440 String get displayName => _baseElement.displayName; 440 String get displayName => _baseElement.displayName;
441 441
442 @deprecated
442 @override 443 @override
443 SourceRange get docRange => _baseElement.docRange; 444 SourceRange get docRange => _baseElement.docRange;
444 445
445 @override 446 @override
446 String get documentationComment => _baseElement.documentationComment; 447 String get documentationComment => _baseElement.documentationComment;
447 448
448 int get id => _baseElement.id; 449 int get id => _baseElement.id;
449 450
450 @override 451 @override
451 bool get isDeprecated => _baseElement.isDeprecated; 452 bool get isDeprecated => _baseElement.isDeprecated;
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 bool get isStatic => baseElement.isStatic; 959 bool get isStatic => baseElement.isStatic;
959 960
960 @override 961 @override
961 void visitChildren(ElementVisitor visitor) { 962 void visitChildren(ElementVisitor visitor) {
962 // TODO(brianwilkerson) We need to finish implementing the accessors used 963 // TODO(brianwilkerson) We need to finish implementing the accessors used
963 // below so that we can safely invoke them. 964 // below so that we can safely invoke them.
964 super.visitChildren(visitor); 965 super.visitChildren(visitor);
965 safelyVisitChild(baseElement.initializer, visitor); 966 safelyVisitChild(baseElement.initializer, visitor);
966 } 967 }
967 } 968 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/dart/element/element.dart ('k') | pkg/analyzer/lib/src/generated/element_handle.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698