| 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: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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 545 } else if (AnalysisEngine.isAnalysisOptionsFileName(name)) { | 545 } else if (AnalysisEngine.isAnalysisOptionsFileName(name)) { |
| 546 results.add(ANALYSIS_OPTIONS_ERRORS); | 546 results.add(ANALYSIS_OPTIONS_ERRORS); |
| 547 } | 547 } |
| 548 } else if (target is LibrarySpecificUnit) { | 548 } else if (target is LibrarySpecificUnit) { |
| 549 results.add(COMPILATION_UNIT_CONSTANTS); | 549 results.add(COMPILATION_UNIT_CONSTANTS); |
| 550 results.add(COMPILATION_UNIT_ELEMENT); | 550 results.add(COMPILATION_UNIT_ELEMENT); |
| 551 results.add(HINTS); | 551 results.add(HINTS); |
| 552 results.add(LINTS); | 552 results.add(LINTS); |
| 553 results.add(INFERABLE_STATIC_VARIABLES_IN_UNIT); | 553 results.add(INFERABLE_STATIC_VARIABLES_IN_UNIT); |
| 554 results.add(LIBRARY_UNIT_ERRORS); | 554 results.add(LIBRARY_UNIT_ERRORS); |
| 555 results.add(RESOLVE_DIRECTIVES_ERRORS); |
| 555 results.add(RESOLVE_TYPE_NAMES_ERRORS); | 556 results.add(RESOLVE_TYPE_NAMES_ERRORS); |
| 556 results.add(RESOLVE_TYPE_BOUNDS_ERRORS); | 557 results.add(RESOLVE_TYPE_BOUNDS_ERRORS); |
| 557 results.add(RESOLVE_UNIT_ERRORS); | 558 results.add(RESOLVE_UNIT_ERRORS); |
| 558 results.add(RESOLVED_UNIT1); | 559 results.add(RESOLVED_UNIT1); |
| 559 results.add(RESOLVED_UNIT2); | 560 results.add(RESOLVED_UNIT2); |
| 560 results.add(RESOLVED_UNIT3); | 561 results.add(RESOLVED_UNIT3); |
| 561 results.add(RESOLVED_UNIT4); | 562 results.add(RESOLVED_UNIT4); |
| 562 results.add(RESOLVED_UNIT5); | 563 results.add(RESOLVED_UNIT5); |
| 563 results.add(RESOLVED_UNIT6); | 564 results.add(RESOLVED_UNIT6); |
| 564 results.add(RESOLVED_UNIT7); | 565 results.add(RESOLVED_UNIT7); |
| (...skipping 2179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2744 */ | 2745 */ |
| 2745 static String makeLink( | 2746 static String makeLink( |
| 2746 String path, Map<String, String> params, String innerHtml, | 2747 String path, Map<String, String> params, String innerHtml, |
| 2747 [bool hasError = false]) { | 2748 [bool hasError = false]) { |
| 2748 Uri uri = new Uri(path: path, queryParameters: params); | 2749 Uri uri = new Uri(path: path, queryParameters: params); |
| 2749 String href = HTML_ESCAPE.convert(uri.toString()); | 2750 String href = HTML_ESCAPE.convert(uri.toString()); |
| 2750 String classAttribute = hasError ? ' class="error"' : ''; | 2751 String classAttribute = hasError ? ' class="error"' : ''; |
| 2751 return '<a href="$href"$classAttribute>$innerHtml</a>'; | 2752 return '<a href="$href"$classAttribute>$innerHtml</a>'; |
| 2752 } | 2753 } |
| 2753 } | 2754 } |
| OLD | NEW |