| 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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 results.add(LINE_INFO); | 298 results.add(LINE_INFO); |
| 299 results.add(MODIFICATION_TIME); | 299 results.add(MODIFICATION_TIME); |
| 300 if (AnalysisEngine.isDartFileName(name)) { | 300 if (AnalysisEngine.isDartFileName(name)) { |
| 301 results.add(BUILD_DIRECTIVES_ERRORS); | 301 results.add(BUILD_DIRECTIVES_ERRORS); |
| 302 results.add(BUILD_LIBRARY_ERRORS); | 302 results.add(BUILD_LIBRARY_ERRORS); |
| 303 results.add(CONTAINING_LIBRARIES); | 303 results.add(CONTAINING_LIBRARIES); |
| 304 results.add(DART_ERRORS); | 304 results.add(DART_ERRORS); |
| 305 results.add(EXPLICITLY_IMPORTED_LIBRARIES); | 305 results.add(EXPLICITLY_IMPORTED_LIBRARIES); |
| 306 results.add(EXPORT_SOURCE_CLOSURE); | 306 results.add(EXPORT_SOURCE_CLOSURE); |
| 307 results.add(EXPORTED_LIBRARIES); | 307 results.add(EXPORTED_LIBRARIES); |
| 308 results.add(IMPORT_EXPORT_SOURCE_CLOSURE); | |
| 309 results.add(IMPORTED_LIBRARIES); | 308 results.add(IMPORTED_LIBRARIES); |
| 310 results.add(INCLUDED_PARTS); | 309 results.add(INCLUDED_PARTS); |
| 311 results.add(IS_CLIENT); | |
| 312 results.add(IS_LAUNCHABLE); | 310 results.add(IS_LAUNCHABLE); |
| 313 results.add(LIBRARY_ELEMENT1); | 311 results.add(LIBRARY_ELEMENT1); |
| 314 results.add(LIBRARY_ELEMENT2); | 312 results.add(LIBRARY_ELEMENT2); |
| 315 results.add(LIBRARY_ELEMENT3); | 313 results.add(LIBRARY_ELEMENT3); |
| 316 results.add(LIBRARY_ELEMENT4); | 314 results.add(LIBRARY_ELEMENT4); |
| 317 results.add(LIBRARY_ELEMENT5); | 315 results.add(LIBRARY_ELEMENT5); |
| 318 results.add(LIBRARY_ELEMENT); | 316 results.add(LIBRARY_ELEMENT); |
| 319 results.add(LIBRARY_ERRORS_READY); | 317 results.add(LIBRARY_ERRORS_READY); |
| 320 results.add(PARSE_ERRORS); | 318 results.add(PARSE_ERRORS); |
| 321 results.add(PARSED_UNIT); | 319 results.add(PARSED_UNIT); |
| (...skipping 1647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1969 */ | 1967 */ |
| 1970 static String makeLink( | 1968 static String makeLink( |
| 1971 String path, Map<String, String> params, String innerHtml, | 1969 String path, Map<String, String> params, String innerHtml, |
| 1972 [bool hasError = false]) { | 1970 [bool hasError = false]) { |
| 1973 Uri uri = new Uri(path: path, queryParameters: params); | 1971 Uri uri = new Uri(path: path, queryParameters: params); |
| 1974 String href = HTML_ESCAPE.convert(uri.toString()); | 1972 String href = HTML_ESCAPE.convert(uri.toString()); |
| 1975 String classAttribute = hasError ? ' class="error"' : ''; | 1973 String classAttribute = hasError ? ' class="error"' : ''; |
| 1976 return '<a href="$href"$classAttribute>$innerHtml</a>'; | 1974 return '<a href="$href"$classAttribute>$innerHtml</a>'; |
| 1977 } | 1975 } |
| 1978 } | 1976 } |
| OLD | NEW |