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

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

Issue 2196363003: Make analyzer strong-mode clean (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | pkg/analyzer/.analysis_options » ('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.src.status.get_handler; 5 library analysis_server.src.status.get_handler;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'dart:convert'; 8 import 'dart:convert';
9 import 'dart:io'; 9 import 'dart:io';
10 import 'dart:math'; 10 import 'dart:math';
(...skipping 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after
1408 buffer.write('<p>'); 1408 buffer.write('<p>');
1409 _writeOption( 1409 _writeOption(
1410 buffer, 'Analyze functon bodies', options.analyzeFunctionBodies); 1410 buffer, 'Analyze functon bodies', options.analyzeFunctionBodies);
1411 _writeOption(buffer, 'Cache size', options.cacheSize); 1411 _writeOption(buffer, 'Cache size', options.cacheSize);
1412 _writeOption(buffer, 'Enable async support', options.enableAsync); 1412 _writeOption(buffer, 'Enable async support', options.enableAsync);
1413 _writeOption( 1413 _writeOption(
1414 buffer, 'Enable generic methods', options.enableGenericMethods); 1414 buffer, 'Enable generic methods', options.enableGenericMethods);
1415 _writeOption( 1415 _writeOption(
1416 buffer, 'Enable strict call checks', options.enableStrictCallChecks); 1416 buffer, 'Enable strict call checks', options.enableStrictCallChecks);
1417 _writeOption(buffer, 'Enable super mixins', options.enableSuperMixins); 1417 _writeOption(buffer, 'Enable super mixins', options.enableSuperMixins);
1418 _writeOption(
1419 buffer, 'Enable trailing commas', options.enableTrailingCommas);
1420 _writeOption(buffer, 'Generate dart2js hints', options.dart2jsHint); 1418 _writeOption(buffer, 'Generate dart2js hints', options.dart2jsHint);
1421 _writeOption(buffer, 'Generate errors in implicit files', 1419 _writeOption(buffer, 'Generate errors in implicit files',
1422 options.generateImplicitErrors); 1420 options.generateImplicitErrors);
1423 _writeOption( 1421 _writeOption(
1424 buffer, 'Generate errors in SDK files', options.generateSdkErrors); 1422 buffer, 'Generate errors in SDK files', options.generateSdkErrors);
1425 _writeOption(buffer, 'Generate hints', options.hint); 1423 _writeOption(buffer, 'Generate hints', options.hint);
1426 _writeOption(buffer, 'Incremental resolution', options.incremental); 1424 _writeOption(buffer, 'Incremental resolution', options.incremental);
1427 _writeOption(buffer, 'Incremental resolution with API changes', 1425 _writeOption(buffer, 'Incremental resolution with API changes',
1428 options.incrementalApi); 1426 options.incrementalApi);
1429 _writeOption(buffer, 'Preserve comments', options.preserveComments); 1427 _writeOption(buffer, 'Preserve comments', options.preserveComments);
(...skipping 1309 matching lines...) Expand 10 before | Expand all | Expand 10 after
2739 */ 2737 */
2740 static String makeLink( 2738 static String makeLink(
2741 String path, Map<String, String> params, String innerHtml, 2739 String path, Map<String, String> params, String innerHtml,
2742 [bool hasError = false]) { 2740 [bool hasError = false]) {
2743 Uri uri = new Uri(path: path, queryParameters: params); 2741 Uri uri = new Uri(path: path, queryParameters: params);
2744 String href = HTML_ESCAPE.convert(uri.toString()); 2742 String href = HTML_ESCAPE.convert(uri.toString());
2745 String classAttribute = hasError ? ' class="error"' : ''; 2743 String classAttribute = hasError ? ' class="error"' : '';
2746 return '<a href="$href"$classAttribute>$innerHtml</a>'; 2744 return '<a href="$href"$classAttribute>$innerHtml</a>';
2747 } 2745 }
2748 } 2746 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/.analysis_options » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698