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

Side by Side Diff: pkg/analyzer/lib/src/generated/resolver.dart

Issue 951543003: Fix a hint in resolver.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 engine.resolver; 5 library engine.resolver;
6 6
7 import "dart:math" as math; 7 import "dart:math" as math;
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:analyzer/src/generated/utilities_collection.dart'; 10 import 'package:analyzer/src/generated/utilities_collection.dart';
(...skipping 13969 matching lines...) Expand 10 before | Expand all | Expand 10 after
13980 } 13980 }
13981 13981
13982 @override 13982 @override
13983 Object visitClassDeclaration(ClassDeclaration node) { 13983 Object visitClassDeclaration(ClassDeclaration node) {
13984 _hasReferenceToSuper = false; 13984 _hasReferenceToSuper = false;
13985 super.visitClassDeclaration(node); 13985 super.visitClassDeclaration(node);
13986 ClassElementImpl classElement = _getClassElement(node.name); 13986 ClassElementImpl classElement = _getClassElement(node.name);
13987 if (classElement != null) { 13987 if (classElement != null) {
13988 classElement.hasReferenceToSuper = _hasReferenceToSuper; 13988 classElement.hasReferenceToSuper = _hasReferenceToSuper;
13989 } 13989 }
13990 return null;
13990 } 13991 }
13991 13992
13992 @override 13993 @override
13993 void visitClassDeclarationInScope(ClassDeclaration node) { 13994 void visitClassDeclarationInScope(ClassDeclaration node) {
13994 super.visitClassDeclarationInScope(node); 13995 super.visitClassDeclarationInScope(node);
13995 ExtendsClause extendsClause = node.extendsClause; 13996 ExtendsClause extendsClause = node.extendsClause;
13996 WithClause withClause = node.withClause; 13997 WithClause withClause = node.withClause;
13997 ImplementsClause implementsClause = node.implementsClause; 13998 ImplementsClause implementsClause = node.implementsClause;
13998 ClassElementImpl classElement = _getClassElement(node.name); 13999 ClassElementImpl classElement = _getClassElement(node.name);
13999 InterfaceType superclassType = null; 14000 InterfaceType superclassType = null;
(...skipping 1724 matching lines...) Expand 10 before | Expand all | Expand 10 after
15724 * library. 15725 * library.
15725 */ 15726 */
15726 final HashSet<String> members = new HashSet<String>(); 15727 final HashSet<String> members = new HashSet<String>();
15727 15728
15728 /** 15729 /**
15729 * Names of resolved or unresolved class members that are read in the 15730 * Names of resolved or unresolved class members that are read in the
15730 * library. 15731 * library.
15731 */ 15732 */
15732 final HashSet<String> readMembers = new HashSet<String>(); 15733 final HashSet<String> readMembers = new HashSet<String>();
15733 } 15734 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698