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

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

Issue 994253002: Add an analyzer option to properly check ".call" methods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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 | « no previous file | pkg/analyzer/lib/options.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.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 989 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 CONTEXT_QUERY_PARAM: folder.path 1000 CONTEXT_QUERY_PARAM: folder.path
1001 }, key, _hasException(folderMap[folder]))); 1001 }, key, _hasException(folderMap[folder])));
1002 }); 1002 });
1003 buffer.write('</p>'); 1003 buffer.write('</p>');
1004 1004
1005 buffer.write('<p><b>Options</b></p>'); 1005 buffer.write('<p><b>Options</b></p>');
1006 buffer.write('<p>'); 1006 buffer.write('<p>');
1007 _writeOption( 1007 _writeOption(
1008 buffer, 'Analyze functon bodies', options.analyzeFunctionBodies); 1008 buffer, 'Analyze functon bodies', options.analyzeFunctionBodies);
1009 _writeOption(buffer, 'Cache size', options.cacheSize); 1009 _writeOption(buffer, 'Cache size', options.cacheSize);
1010 _writeOption(
1011 buffer, 'Enable strict call checks', options.enableStrictCallChecks);
1010 _writeOption(buffer, 'Generate hints', options.hint); 1012 _writeOption(buffer, 'Generate hints', options.hint);
1011 _writeOption(buffer, 'Generate dart2js hints', options.dart2jsHint); 1013 _writeOption(buffer, 'Generate dart2js hints', options.dart2jsHint);
1012 _writeOption(buffer, 'Generate errors in implicit files', 1014 _writeOption(buffer, 'Generate errors in implicit files',
1013 options.generateImplicitErrors); 1015 options.generateImplicitErrors);
1014 _writeOption( 1016 _writeOption(
1015 buffer, 'Generate errors in SDK files', options.generateSdkErrors); 1017 buffer, 'Generate errors in SDK files', options.generateSdkErrors);
1016 _writeOption(buffer, 'Incremental resolution', options.incremental); 1018 _writeOption(buffer, 'Incremental resolution', options.incremental);
1017 _writeOption(buffer, 'Incremental resolution with API changes', 1019 _writeOption(buffer, 'Incremental resolution with API changes',
1018 options.incrementalApi); 1020 options.incrementalApi);
1019 _writeOption( 1021 _writeOption(
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after
1556 */ 1558 */
1557 static String makeLink( 1559 static String makeLink(
1558 String path, Map<String, String> params, String innerHtml, 1560 String path, Map<String, String> params, String innerHtml,
1559 [bool hasError = false]) { 1561 [bool hasError = false]) {
1560 Uri uri = new Uri(path: path, queryParameters: params); 1562 Uri uri = new Uri(path: path, queryParameters: params);
1561 String href = HTML_ESCAPE.convert(uri.toString()); 1563 String href = HTML_ESCAPE.convert(uri.toString());
1562 String classAttribute = hasError ? ' class="error"' : ''; 1564 String classAttribute = hasError ? ' class="error"' : '';
1563 return '<a href="$href"$classAttribute>$innerHtml</a>'; 1565 return '<a href="$href"$classAttribute>$innerHtml</a>';
1564 } 1566 }
1565 } 1567 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698