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

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

Issue 1255113005: Deprecate option "enableNullAwareOperators" in analysis server. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Clean up API spec. Created 5 years, 4 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) 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.src.status.get_handler; 5 library analysis_server.src.status.get_handler;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:convert'; 9 import 'dart:convert';
10 import 'dart:io'; 10 import 'dart:io';
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 CONTEXT_QUERY_PARAM: folder.path 1077 CONTEXT_QUERY_PARAM: folder.path
1078 }, key, _hasException(folderMap[folder]))); 1078 }, key, _hasException(folderMap[folder])));
1079 }); 1079 });
1080 buffer.write('</p>'); 1080 buffer.write('</p>');
1081 1081
1082 buffer.write('<p><b>Options</b></p>'); 1082 buffer.write('<p><b>Options</b></p>');
1083 buffer.write('<p>'); 1083 buffer.write('<p>');
1084 _writeOption( 1084 _writeOption(
1085 buffer, 'Analyze functon bodies', options.analyzeFunctionBodies); 1085 buffer, 'Analyze functon bodies', options.analyzeFunctionBodies);
1086 _writeOption(buffer, 'Cache size', options.cacheSize); 1086 _writeOption(buffer, 'Cache size', options.cacheSize);
1087 _writeOption(buffer, 'Enable null-aware operators',
1088 options.enableNullAwareOperators);
1089 _writeOption( 1087 _writeOption(
1090 buffer, 'Enable strict call checks', options.enableStrictCallChecks); 1088 buffer, 'Enable strict call checks', options.enableStrictCallChecks);
1091 _writeOption(buffer, 'Generate hints', options.hint); 1089 _writeOption(buffer, 'Generate hints', options.hint);
1092 _writeOption(buffer, 'Generate dart2js hints', options.dart2jsHint); 1090 _writeOption(buffer, 'Generate dart2js hints', options.dart2jsHint);
1093 _writeOption(buffer, 'Generate errors in implicit files', 1091 _writeOption(buffer, 'Generate errors in implicit files',
1094 options.generateImplicitErrors); 1092 options.generateImplicitErrors);
1095 _writeOption( 1093 _writeOption(
1096 buffer, 'Generate errors in SDK files', options.generateSdkErrors); 1094 buffer, 'Generate errors in SDK files', options.generateSdkErrors);
1097 _writeOption(buffer, 'Incremental resolution', options.incremental); 1095 _writeOption(buffer, 'Incremental resolution', options.incremental);
1098 _writeOption(buffer, 'Incremental resolution with API changes', 1096 _writeOption(buffer, 'Incremental resolution with API changes',
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
1630 */ 1628 */
1631 static String makeLink( 1629 static String makeLink(
1632 String path, Map<String, String> params, String innerHtml, 1630 String path, Map<String, String> params, String innerHtml,
1633 [bool hasError = false]) { 1631 [bool hasError = false]) {
1634 Uri uri = new Uri(path: path, queryParameters: params); 1632 Uri uri = new Uri(path: path, queryParameters: params);
1635 String href = HTML_ESCAPE.convert(uri.toString()); 1633 String href = HTML_ESCAPE.convert(uri.toString());
1636 String classAttribute = hasError ? ' class="error"' : ''; 1634 String classAttribute = hasError ? ' class="error"' : '';
1637 return '<a href="$href"$classAttribute>$innerHtml</a>'; 1635 return '<a href="$href"$classAttribute>$innerHtml</a>';
1638 } 1636 }
1639 } 1637 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/get_handler.dart ('k') | pkg/analysis_server/tool/spec/generated/java/types/AnalysisOptions.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698