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

Side by Side Diff: pkg/analysis_server/lib/src/services/index2/index2.dart

Issue 1788673004: Index unqualified unresolved used names. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 import 'dart:async'; 5 import 'dart:async';
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/src/generated/engine.dart' show AnalysisContext; 9 import 'package:analyzer/src/generated/engine.dart' show AnalysisContext;
10 import 'package:analyzer/src/generated/source.dart'; 10 import 'package:analyzer/src/generated/source.dart';
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 i++) { 539 i++) {
540 unitLibraryUri ??= packageRequester.getUnitLibraryUri(unitIndex.unit); 540 unitLibraryUri ??= packageRequester.getUnitLibraryUri(unitIndex.unit);
541 unitUnitUri ??= packageRequester.getUnitUnitUri(unitIndex.unit); 541 unitUnitUri ??= packageRequester.getUnitUnitUri(unitIndex.unit);
542 locations.add(new Location( 542 locations.add(new Location(
543 context, 543 context,
544 unitLibraryUri, 544 unitLibraryUri,
545 unitUnitUri, 545 unitUnitUri,
546 unitIndex.usedNameKinds[i], 546 unitIndex.usedNameKinds[i],
547 unitIndex.usedNameOffsets[i], 547 unitIndex.usedNameOffsets[i],
548 name.length, 548 name.length,
549 true, 549 unitIndex.usedNameIsQualifiedFlags[i],
550 false)); 550 false));
551 } 551 }
552 return locations; 552 return locations;
553 } 553 }
554 } 554 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698