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

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

Issue 1527793003: Clean up imports in analysis_server and analyzer_cli (and one missed in analyzer) (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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.tree_writer; 5 library analysis_server.src.status.tree_writer;
6 6
7 import 'dart:convert'; 7 import 'dart:convert';
8 8
9 import 'package:analysis_server/src/status/get_handler.dart'; 9 import 'package:analysis_server/src/status/get_handler.dart';
10 import 'package:analyzer/dart/element/element.dart';
11 import 'package:analyzer/src/dart/element/element.dart';
10 import 'package:analyzer/src/generated/constant.dart'; 12 import 'package:analyzer/src/generated/constant.dart';
11 import 'package:analyzer/src/generated/element.dart';
12 import 'package:analyzer/src/generated/java_engine.dart'; 13 import 'package:analyzer/src/generated/java_engine.dart';
13 import 'package:analyzer/src/generated/source.dart'; 14 import 'package:analyzer/src/generated/source.dart';
14 15
15 /** 16 /**
16 * Utility methods that can be mixed in to classes that produce an HTML 17 * Utility methods that can be mixed in to classes that produce an HTML
17 * representation of a tree structure. 18 * representation of a tree structure.
18 */ 19 */
19 abstract class TreeWriter { 20 abstract class TreeWriter {
20 /** 21 /**
21 * The buffer on which the HTML is to be written. 22 * The buffer on which the HTML is to be written.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 buffer.write('  ['); 127 buffer.write('  [');
127 buffer.write(GetHandler.makeLink(GetHandler.INDEX_ELEMENT_BY_NAME, 128 buffer.write(GetHandler.makeLink(GetHandler.INDEX_ELEMENT_BY_NAME,
128 {'name': name}, 'search index')); 129 {'name': name}, 'search index'));
129 buffer.write(']'); 130 buffer.write(']');
130 } 131 }
131 } 132 }
132 } 133 }
133 } 134 }
134 } 135 }
135 } 136 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/status/get_handler.dart ('k') | pkg/analysis_server/lib/src/status/validator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698