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

Unified Diff: pkg/analysis_server/lib/src/socket_server.dart

Issue 756193002: Add --enable-incremental-resolution option. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/lib/src/analysis_server.dart ('k') | pkg/analysis_server/test/analysis_abstract.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/socket_server.dart
diff --git a/pkg/analysis_server/lib/src/socket_server.dart b/pkg/analysis_server/lib/src/socket_server.dart
index 7706851d8e53786472756c1b077fbe61b94d79fb..7b78ecbf814d1f43b0ac933ac2baaa202e8cc05c 100644
--- a/pkg/analysis_server/lib/src/socket_server.dart
+++ b/pkg/analysis_server/lib/src/socket_server.dart
@@ -37,15 +37,16 @@ Index _createIndex() {
* encode and decode the JSON messages exchanged with the client.
*/
class SocketServer {
+ final AnalysisServerOptions analysisServerOptions;
+ final DirectoryBasedDartSdk defaultSdk;
+
/**
* The analysis server that was created when a client established a
* connection, or `null` if no such connection has yet been established.
*/
AnalysisServer analysisServer;
- final DirectoryBasedDartSdk defaultSdk;
-
- SocketServer(this.defaultSdk);
+ SocketServer(this.analysisServerOptions, this.defaultSdk);
/**
* Create an analysis server which will communicate with the client using the
@@ -69,6 +70,7 @@ class SocketServer {
resourceProvider,
new PubPackageMapProvider(resourceProvider, defaultSdk),
_createIndex(),
+ analysisServerOptions,
defaultSdk,
rethrowExceptions: false);
_initializeHandlers(analysisServer);
« no previous file with comments | « pkg/analysis_server/lib/src/analysis_server.dart ('k') | pkg/analysis_server/test/analysis_abstract.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698