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

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

Issue 965093003: Fix for issue 22594 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/non_error_resolver_test.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 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 15115 matching lines...) Expand 10 before | Expand all | Expand 10 after
15126 // Ignore if qualified. 15126 // Ignore if qualified.
15127 AstNode parent = node.parent; 15127 AstNode parent = node.parent;
15128 if (parent is PrefixedIdentifier && identical(parent.identifier, node)) { 15128 if (parent is PrefixedIdentifier && identical(parent.identifier, node)) {
15129 return null; 15129 return null;
15130 } 15130 }
15131 if (parent is PropertyAccess && identical(parent.propertyName, node)) { 15131 if (parent is PropertyAccess && identical(parent.propertyName, node)) {
15132 return null; 15132 return null;
15133 } 15133 }
15134 if (parent is MethodInvocation && 15134 if (parent is MethodInvocation &&
15135 identical(parent.methodName, node) && 15135 identical(parent.methodName, node) &&
15136 parent.target != null) { 15136 parent.realTarget != null) {
15137 return null; 15137 return null;
15138 } 15138 }
15139 if (parent is ConstructorName) { 15139 if (parent is ConstructorName) {
15140 return null; 15140 return null;
15141 } 15141 }
15142 if (parent is Label) { 15142 if (parent is Label) {
15143 return null; 15143 return null;
15144 } 15144 }
15145 // Prepare VariableElement. 15145 // Prepare VariableElement.
15146 Element element = nameScope.lookup(node, definingLibrary); 15146 Element element = nameScope.lookup(node, definingLibrary);
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
15670 * library. 15670 * library.
15671 */ 15671 */
15672 final HashSet<String> members = new HashSet<String>(); 15672 final HashSet<String> members = new HashSet<String>();
15673 15673
15674 /** 15674 /**
15675 * Names of resolved or unresolved class members that are read in the 15675 * Names of resolved or unresolved class members that are read in the
15676 * library. 15676 * library.
15677 */ 15677 */
15678 final HashSet<String> readMembers = new HashSet<String>(); 15678 final HashSet<String> readMembers = new HashSet<String>();
15679 } 15679 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/non_error_resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698