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

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

Issue 2844273003: Unify the server and plugin versions of the generators (Closed)
Patch Set: add missed files Created 3 years, 7 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.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';
11 11
12 import 'package:analysis_server/plugin/protocol/protocol.dart' hide Element; 12 import 'package:analysis_server/protocol/protocol.dart';
13 import 'package:analysis_server/protocol/protocol_generated.dart' hide Element;
13 import 'package:analysis_server/src/analysis_server.dart'; 14 import 'package:analysis_server/src/analysis_server.dart';
14 import 'package:analysis_server/src/domain_completion.dart'; 15 import 'package:analysis_server/src/domain_completion.dart';
15 import 'package:analysis_server/src/domain_diagnostic.dart'; 16 import 'package:analysis_server/src/domain_diagnostic.dart';
16 import 'package:analysis_server/src/domain_execution.dart'; 17 import 'package:analysis_server/src/domain_execution.dart';
17 import 'package:analysis_server/src/operation/operation.dart'; 18 import 'package:analysis_server/src/operation/operation.dart';
18 import 'package:analysis_server/src/operation/operation_analysis.dart'; 19 import 'package:analysis_server/src/operation/operation_analysis.dart';
19 import 'package:analysis_server/src/operation/operation_queue.dart'; 20 import 'package:analysis_server/src/operation/operation_queue.dart';
20 import 'package:analysis_server/src/services/completion/completion_performance.d art'; 21 import 'package:analysis_server/src/services/completion/completion_performance.d art';
21 import 'package:analysis_server/src/socket_server.dart'; 22 import 'package:analysis_server/src/socket_server.dart';
22 import 'package:analysis_server/src/status/ast_writer.dart'; 23 import 'package:analysis_server/src/status/ast_writer.dart';
(...skipping 2724 matching lines...) Expand 10 before | Expand all | Expand 10 after
2747 */ 2748 */
2748 static String makeLink( 2749 static String makeLink(
2749 String path, Map<String, String> params, String innerHtml, 2750 String path, Map<String, String> params, String innerHtml,
2750 [bool hasError = false]) { 2751 [bool hasError = false]) {
2751 Uri uri = new Uri(path: path, queryParameters: params); 2752 Uri uri = new Uri(path: path, queryParameters: params);
2752 String href = HTML_ESCAPE.convert(uri.toString()); 2753 String href = HTML_ESCAPE.convert(uri.toString());
2753 String classAttribute = hasError ? ' class="error"' : ''; 2754 String classAttribute = hasError ? ' class="error"' : '';
2754 return '<a href="$href"$classAttribute>$innerHtml</a>'; 2755 return '<a href="$href"$classAttribute>$innerHtml</a>';
2755 } 2756 }
2756 } 2757 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/socket_server.dart ('k') | pkg/analysis_server/lib/src/status/get_handler2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698