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

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

Issue 1301533003: Plumb "enableSuperMixins" option through analysis server (implements DEP 34). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after
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( 1055 _writeOption(
1056 buffer, 'Enable strict call checks', options.enableStrictCallChecks); 1056 buffer, 'Enable strict call checks', options.enableStrictCallChecks);
1057 _writeOption(buffer, 'Enable super mixins', options.enableSuperMixins);
1057 _writeOption(buffer, 'Generate hints', options.hint); 1058 _writeOption(buffer, 'Generate hints', options.hint);
1058 _writeOption(buffer, 'Generate dart2js hints', options.dart2jsHint); 1059 _writeOption(buffer, 'Generate dart2js hints', options.dart2jsHint);
1059 _writeOption(buffer, 'Generate errors in implicit files', 1060 _writeOption(buffer, 'Generate errors in implicit files',
1060 options.generateImplicitErrors); 1061 options.generateImplicitErrors);
1061 _writeOption( 1062 _writeOption(
1062 buffer, 'Generate errors in SDK files', options.generateSdkErrors); 1063 buffer, 'Generate errors in SDK files', options.generateSdkErrors);
1063 _writeOption(buffer, 'Incremental resolution', options.incremental); 1064 _writeOption(buffer, 'Incremental resolution', options.incremental);
1064 _writeOption(buffer, 'Incremental resolution with API changes', 1065 _writeOption(buffer, 'Incremental resolution with API changes',
1065 options.incrementalApi); 1066 options.incrementalApi);
1066 _writeOption(buffer, 'Preserve comments', options.preserveComments, 1067 _writeOption(buffer, 'Preserve comments', options.preserveComments,
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
1623 */ 1624 */
1624 static String makeLink( 1625 static String makeLink(
1625 String path, Map<String, String> params, String innerHtml, 1626 String path, Map<String, String> params, String innerHtml,
1626 [bool hasError = false]) { 1627 [bool hasError = false]) {
1627 Uri uri = new Uri(path: path, queryParameters: params); 1628 Uri uri = new Uri(path: path, queryParameters: params);
1628 String href = HTML_ESCAPE.convert(uri.toString()); 1629 String href = HTML_ESCAPE.convert(uri.toString());
1629 String classAttribute = hasError ? ' class="error"' : ''; 1630 String classAttribute = hasError ? ' class="error"' : '';
1630 return '<a href="$href"$classAttribute>$innerHtml</a>'; 1631 return '<a href="$href"$classAttribute>$innerHtml</a>';
1631 } 1632 }
1632 } 1633 }
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