OLD | NEW |
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 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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( | 1087 _writeOption( |
1088 buffer, 'Enable strict call checks', options.enableStrictCallChecks); | 1088 buffer, 'Enable strict call checks', options.enableStrictCallChecks); |
| 1089 _writeOption(buffer, 'Enable super mixins', options.enableSuperMixins); |
1089 _writeOption(buffer, 'Generate hints', options.hint); | 1090 _writeOption(buffer, 'Generate hints', options.hint); |
1090 _writeOption(buffer, 'Generate dart2js hints', options.dart2jsHint); | 1091 _writeOption(buffer, 'Generate dart2js hints', options.dart2jsHint); |
1091 _writeOption(buffer, 'Generate errors in implicit files', | 1092 _writeOption(buffer, 'Generate errors in implicit files', |
1092 options.generateImplicitErrors); | 1093 options.generateImplicitErrors); |
1093 _writeOption( | 1094 _writeOption( |
1094 buffer, 'Generate errors in SDK files', options.generateSdkErrors); | 1095 buffer, 'Generate errors in SDK files', options.generateSdkErrors); |
1095 _writeOption(buffer, 'Incremental resolution', options.incremental); | 1096 _writeOption(buffer, 'Incremental resolution', options.incremental); |
1096 _writeOption(buffer, 'Incremental resolution with API changes', | 1097 _writeOption(buffer, 'Incremental resolution with API changes', |
1097 options.incrementalApi); | 1098 options.incrementalApi); |
1098 _writeOption(buffer, 'Preserve comments', options.preserveComments, | 1099 _writeOption(buffer, 'Preserve comments', options.preserveComments, |
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1628 */ | 1629 */ |
1629 static String makeLink( | 1630 static String makeLink( |
1630 String path, Map<String, String> params, String innerHtml, | 1631 String path, Map<String, String> params, String innerHtml, |
1631 [bool hasError = false]) { | 1632 [bool hasError = false]) { |
1632 Uri uri = new Uri(path: path, queryParameters: params); | 1633 Uri uri = new Uri(path: path, queryParameters: params); |
1633 String href = HTML_ESCAPE.convert(uri.toString()); | 1634 String href = HTML_ESCAPE.convert(uri.toString()); |
1634 String classAttribute = hasError ? ' class="error"' : ''; | 1635 String classAttribute = hasError ? ' class="error"' : ''; |
1635 return '<a href="$href"$classAttribute>$innerHtml</a>'; | 1636 return '<a href="$href"$classAttribute>$innerHtml</a>'; |
1636 } | 1637 } |
1637 } | 1638 } |
OLD | NEW |