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

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

Issue 1723243002: Validation of `@protected` method invocations. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fixes Created 4 years, 10 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/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 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 @override 460 @override
461 bool get isDeprecated => _baseElement.isDeprecated; 461 bool get isDeprecated => _baseElement.isDeprecated;
462 462
463 @override 463 @override
464 bool get isOverride => _baseElement.isOverride; 464 bool get isOverride => _baseElement.isOverride;
465 465
466 @override 466 @override
467 bool get isPrivate => _baseElement.isPrivate; 467 bool get isPrivate => _baseElement.isPrivate;
468 468
469 @override 469 @override
470 bool get isProtected => _baseElement.isProtected;
471
472 @override
470 bool get isPublic => _baseElement.isPublic; 473 bool get isPublic => _baseElement.isPublic;
471 474
472 @override 475 @override
473 bool get isSynthetic => _baseElement.isSynthetic; 476 bool get isSynthetic => _baseElement.isSynthetic;
474 477
475 @override 478 @override
476 ElementKind get kind => _baseElement.kind; 479 ElementKind get kind => _baseElement.kind;
477 480
478 @override 481 @override
479 LibraryElement get library => _baseElement.library; 482 LibraryElement get library => _baseElement.library;
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1024 bool get isStatic => baseElement.isStatic; 1027 bool get isStatic => baseElement.isStatic;
1025 1028
1026 @override 1029 @override
1027 void visitChildren(ElementVisitor visitor) { 1030 void visitChildren(ElementVisitor visitor) {
1028 // TODO(brianwilkerson) We need to finish implementing the accessors used 1031 // TODO(brianwilkerson) We need to finish implementing the accessors used
1029 // below so that we can safely invoke them. 1032 // below so that we can safely invoke them.
1030 super.visitChildren(visitor); 1033 super.visitChildren(visitor);
1031 safelyVisitChild(baseElement.initializer, visitor); 1034 safelyVisitChild(baseElement.initializer, visitor);
1032 } 1035 }
1033 } 1036 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698