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

Side by Side Diff: pkg/analysis_server/lib/src/services/index/index.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 'dart:async'; 5 import 'dart:async';
6 6
7 import 'package:analysis_server/src/services/index/index_unit.dart';
7 import 'package:analyzer/dart/ast/ast.dart'; 8 import 'package:analyzer/dart/ast/ast.dart';
8 import 'package:analyzer/dart/element/element.dart'; 9 import 'package:analyzer/dart/element/element.dart';
9 import 'package:analyzer/src/generated/engine.dart' show AnalysisContext; 10 import 'package:analyzer/src/generated/engine.dart' show AnalysisContext;
10 import 'package:analyzer/src/generated/source.dart'; 11 import 'package:analyzer/src/generated/source.dart';
11 import 'package:analyzer/src/summary/format.dart'; 12 import 'package:analyzer/src/summary/format.dart';
12 import 'package:analyzer/src/summary/idl.dart'; 13 import 'package:analyzer/src/summary/idl.dart';
13 import 'package:analyzer/src/summary/index_unit.dart';
14 import 'package:collection/collection.dart'; 14 import 'package:collection/collection.dart';
15 15
16 /** 16 /**
17 * Return a new [Index] instance that keeps information in memory. 17 * Return a new [Index] instance that keeps information in memory.
18 */ 18 */
19 Index createMemoryIndex() { 19 Index createMemoryIndex() {
20 return new Index._(); 20 return new Index._();
21 } 21 }
22 22
23 /** 23 /**
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 unitUnitUri, 630 unitUnitUri,
631 unitIndex.usedNameKinds[i], 631 unitIndex.usedNameKinds[i],
632 unitIndex.usedNameOffsets[i], 632 unitIndex.usedNameOffsets[i],
633 name.length, 633 name.length,
634 unitIndex.usedNameIsQualifiedFlags[i], 634 unitIndex.usedNameIsQualifiedFlags[i],
635 false)); 635 false));
636 } 636 }
637 return locations; 637 return locations;
638 } 638 }
639 } 639 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/index/index_unit.dart » ('j') | pkg/analyzer/test/src/summary/test_all.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698