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

Side by Side Diff: pkg/front_end/lib/src/incremental_resolved_ast_generator_impl.dart

Issue 2795743002: Add context information to driver and add hooks for plugin management (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « pkg/analyzer_cli/lib/src/driver.dart ('k') | 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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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/file_system/file_system.dart'; 8 import 'package:analyzer/file_system/file_system.dart';
9 import 'package:analyzer/src/context/context.dart'; 9 import 'package:analyzer/src/context/context.dart';
10 import 'package:analyzer/src/dart/analysis/byte_store.dart'; 10 import 'package:analyzer/src/dart/analysis/byte_store.dart';
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 new SourceFactory([new DartUriResolver(dartSdk)]); 123 new SourceFactory([new DartUriResolver(dartSdk)]);
124 124
125 var sourceFactory = new _SourceFactoryProxy(dartSdk, _fileRepository); 125 var sourceFactory = new _SourceFactoryProxy(dartSdk, _fileRepository);
126 var analysisOptions = new AnalysisOptionsImpl(); 126 var analysisOptions = new AnalysisOptionsImpl();
127 _driver = new driver.AnalysisDriver( 127 _driver = new driver.AnalysisDriver(
128 _scheduler, 128 _scheduler,
129 performanceLog, 129 performanceLog,
130 _resourceProvider, 130 _resourceProvider,
131 byteStore, 131 byteStore,
132 fileContentOverlay, 132 fileContentOverlay,
133 'front_end', 133 null,
134 sourceFactory, 134 sourceFactory,
135 analysisOptions, 135 analysisOptions,
136 sdkBundle: sdkBundle); 136 sdkBundle: sdkBundle);
137 _isInitialized = true; 137 _isInitialized = true;
138 } 138 }
139 139
140 @override 140 @override
141 void invalidate(String path) { 141 void invalidate(String path) {
142 throw new UnimplementedError(); 142 throw new UnimplementedError();
143 } 143 }
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 class _SourceProxy extends BasicSource { 293 class _SourceProxy extends BasicSource {
294 @override 294 @override
295 final String fullName; 295 final String fullName;
296 296
297 _SourceProxy(Uri uri, this.fullName) : super(uri); 297 _SourceProxy(Uri uri, this.fullName) : super(uri);
298 298
299 int get modificationStamp => 0; 299 int get modificationStamp => 0;
300 300
301 noSuchMethod(Invocation invocation) => unimplemented(); 301 noSuchMethod(Invocation invocation) => unimplemented();
302 } 302 }
OLDNEW
« no previous file with comments | « pkg/analyzer_cli/lib/src/driver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698