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

Side by Side Diff: pkg/analysis_server/lib/src/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.get_handler; 5 library analysis_server.src.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 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 CONTEXT_QUERY_PARAM: folder.path 1045 CONTEXT_QUERY_PARAM: folder.path
1046 }, key, _hasException(folderMap[folder]))); 1046 }, key, _hasException(folderMap[folder])));
1047 }); 1047 });
1048 buffer.write('</p>'); 1048 buffer.write('</p>');
1049 1049
1050 buffer.write('<p><b>Options</b></p>'); 1050 buffer.write('<p><b>Options</b></p>');
1051 buffer.write('<p>'); 1051 buffer.write('<p>');
1052 _writeOption( 1052 _writeOption(
1053 buffer, 'Analyze functon bodies', options.analyzeFunctionBodies); 1053 buffer, 'Analyze functon bodies', options.analyzeFunctionBodies);
1054 _writeOption(buffer, 'Cache size', options.cacheSize); 1054 _writeOption(buffer, 'Cache size', options.cacheSize);
1055 _writeOption(buffer, 'Enable null-aware operators',
1056 options.enableNullAwareOperators);
1057 _writeOption( 1055 _writeOption(
1058 buffer, 'Enable strict call checks', options.enableStrictCallChecks); 1056 buffer, 'Enable strict call checks', options.enableStrictCallChecks);
1059 _writeOption(buffer, 'Generate hints', options.hint); 1057 _writeOption(buffer, 'Generate hints', options.hint);
1060 _writeOption(buffer, 'Generate dart2js hints', options.dart2jsHint); 1058 _writeOption(buffer, 'Generate dart2js hints', options.dart2jsHint);
1061 _writeOption(buffer, 'Generate errors in implicit files', 1059 _writeOption(buffer, 'Generate errors in implicit files',
1062 options.generateImplicitErrors); 1060 options.generateImplicitErrors);
1063 _writeOption( 1061 _writeOption(
1064 buffer, 'Generate errors in SDK files', options.generateSdkErrors); 1062 buffer, 'Generate errors in SDK files', options.generateSdkErrors);
1065 _writeOption(buffer, 'Incremental resolution', options.incremental); 1063 _writeOption(buffer, 'Incremental resolution', options.incremental);
1066 _writeOption(buffer, 'Incremental resolution with API changes', 1064 _writeOption(buffer, 'Incremental resolution with API changes',
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
1625 */ 1623 */
1626 static String makeLink( 1624 static String makeLink(
1627 String path, Map<String, String> params, String innerHtml, 1625 String path, Map<String, String> params, String innerHtml,
1628 [bool hasError = false]) { 1626 [bool hasError = false]) {
1629 Uri uri = new Uri(path: path, queryParameters: params); 1627 Uri uri = new Uri(path: path, queryParameters: params);
1630 String href = HTML_ESCAPE.convert(uri.toString()); 1628 String href = HTML_ESCAPE.convert(uri.toString());
1631 String classAttribute = hasError ? ' class="error"' : ''; 1629 String classAttribute = hasError ? ' class="error"' : '';
1632 return '<a href="$href"$classAttribute>$innerHtml</a>'; 1630 return '<a href="$href"$classAttribute>$innerHtml</a>';
1633 } 1631 }
1634 } 1632 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/lib/src/status/get_handler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698