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

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

Issue 2357283002: Move PackageIndexAssembler into analysis_server. (Closed)
Patch Set: Created 4 years, 3 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 'package:analyzer/dart/ast/ast.dart'; 5 import 'package:analyzer/dart/ast/ast.dart';
6 import 'package:analyzer/dart/ast/token.dart'; 6 import 'package:analyzer/dart/ast/token.dart';
7 import 'package:analyzer/dart/ast/visitor.dart'; 7 import 'package:analyzer/dart/ast/visitor.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/member.dart'; 10 import 'package:analyzer/src/dart/element/member.dart';
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 usedNameOffsets: nameRelations.map((r) => r.offset).toList(), 899 usedNameOffsets: nameRelations.map((r) => r.offset).toList(),
900 usedNameIsQualifiedFlags: 900 usedNameIsQualifiedFlags:
901 nameRelations.map((r) => r.isQualified).toList()); 901 nameRelations.map((r) => r.isQualified).toList());
902 } 902 }
903 903
904 void defineName(String name, IndexNameKind kind, int offset) { 904 void defineName(String name, IndexNameKind kind, int offset) {
905 _StringInfo nameInfo = pkg._getStringInfo(name); 905 _StringInfo nameInfo = pkg._getStringInfo(name);
906 definedNames.add(new _DefinedNameInfo(nameInfo, kind, offset)); 906 definedNames.add(new _DefinedNameInfo(nameInfo, kind, offset));
907 } 907 }
908 } 908 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698