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

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: 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
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 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 new Future(performOperation); 938 new Future(performOperation);
939 performOperationPending = true; 939 performOperationPending = true;
940 } 940 }
941 } 941 }
942 942
943 943
944 class AnalysisServerOptions { 944 class AnalysisServerOptions {
945 bool enableIncrementalResolutionApi = false; 945 bool enableIncrementalResolutionApi = false;
946 bool enableIncrementalResolutionValidation = false; 946 bool enableIncrementalResolutionValidation = false;
947 bool noErrorNotification = false; 947 bool noErrorNotification = false;
948 String fileReadMode = 'as-is';
948 } 949 }
949 950
950 /** 951 /**
951 * A [ContextsChangedEvent] indicate what contexts were added or removed. 952 * A [ContextsChangedEvent] indicate what contexts were added or removed.
952 * 953 *
953 * No context should be added to the event more than once. It does not make 954 * No context should be added to the event more than once. It does not make
954 * sense, for example, for a context to be both added and removed. 955 * sense, for example, for a context to be both added and removed.
955 */ 956 */
956 class ContextsChangedEvent { 957 class ContextsChangedEvent {
957 958
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 * [packageUriResolver]. 1078 * [packageUriResolver].
1078 */ 1079 */
1079 SourceFactory _createSourceFactory(UriResolver packageUriResolver) { 1080 SourceFactory _createSourceFactory(UriResolver packageUriResolver) {
1080 List<UriResolver> resolvers = <UriResolver>[ 1081 List<UriResolver> resolvers = <UriResolver>[
1081 new DartUriResolver(analysisServer.defaultSdk), 1082 new DartUriResolver(analysisServer.defaultSdk),
1082 new ResourceUriResolver(resourceProvider), 1083 new ResourceUriResolver(resourceProvider),
1083 packageUriResolver]; 1084 packageUriResolver];
1084 return new SourceFactory(resolvers); 1085 return new SourceFactory(resolvers);
1085 } 1086 }
1086 } 1087 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698