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

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

Issue 857283003: Addition of the new flag "file-read-mode" into the analysis server to fix the offset bug with Intel… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Comments addressed Created 5 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « pkg/analysis_server/doc/api.html ('k') | pkg/analysis_server/lib/src/server/driver.dart » ('j') | 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library analysis.server; 5 library analysis.server;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:analysis_server/src/analysis_logger.dart'; 10 import 'package:analysis_server/src/analysis_logger.dart';
(...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after
944 new Future(performOperation); 944 new Future(performOperation);
945 performOperationPending = true; 945 performOperationPending = true;
946 } 946 }
947 } 947 }
948 948
949 949
950 class AnalysisServerOptions { 950 class AnalysisServerOptions {
951 bool enableIncrementalResolutionApi = false; 951 bool enableIncrementalResolutionApi = false;
952 bool enableIncrementalResolutionValidation = false; 952 bool enableIncrementalResolutionValidation = false;
953 bool noErrorNotification = false; 953 bool noErrorNotification = false;
954 String fileReadMode = 'as-is';
954 } 955 }
955 956
956 /** 957 /**
957 * A [ContextsChangedEvent] indicate what contexts were added or removed. 958 * A [ContextsChangedEvent] indicate what contexts were added or removed.
958 * 959 *
959 * No context should be added to the event more than once. It does not make 960 * No context should be added to the event more than once. It does not make
960 * sense, for example, for a context to be both added and removed. 961 * sense, for example, for a context to be both added and removed.
961 */ 962 */
962 class ContextsChangedEvent { 963 class ContextsChangedEvent {
963 964
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
1083 * [packageUriResolver]. 1084 * [packageUriResolver].
1084 */ 1085 */
1085 SourceFactory _createSourceFactory(UriResolver packageUriResolver) { 1086 SourceFactory _createSourceFactory(UriResolver packageUriResolver) {
1086 List<UriResolver> resolvers = <UriResolver>[ 1087 List<UriResolver> resolvers = <UriResolver>[
1087 new DartUriResolver(analysisServer.defaultSdk), 1088 new DartUriResolver(analysisServer.defaultSdk),
1088 new ResourceUriResolver(resourceProvider), 1089 new ResourceUriResolver(resourceProvider),
1089 packageUriResolver]; 1090 packageUriResolver];
1090 return new SourceFactory(resolvers); 1091 return new SourceFactory(resolvers);
1091 } 1092 }
1092 } 1093 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/doc/api.html ('k') | pkg/analysis_server/lib/src/server/driver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698