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

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

Issue 2894883002: Remove more libraries directives from server (Closed)
Patch Set: 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) 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.element_writer;
6
7 import 'dart:collection'; 5 import 'dart:collection';
8 import 'dart:convert'; 6 import 'dart:convert';
9 7
10 import 'package:analysis_server/src/status/tree_writer.dart'; 8 import 'package:analysis_server/src/status/tree_writer.dart';
11 import 'package:analyzer/dart/element/element.dart'; 9 import 'package:analyzer/dart/element/element.dart';
12 import 'package:analyzer/dart/element/visitor.dart'; 10 import 'package:analyzer/dart/element/visitor.dart';
13 import 'package:analyzer/src/dart/element/element.dart'; 11 import 'package:analyzer/src/dart/element/element.dart';
14 12
15 /** 13 /**
16 * A visitor that will produce an HTML representation of an element structure. 14 * A visitor that will produce an HTML representation of an element structure.
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 buffer.write(HTML_ESCAPE.convert(element.toString())); 173 buffer.write(HTML_ESCAPE.convert(element.toString()));
176 if (element.isSynthetic) { 174 if (element.isSynthetic) {
177 buffer.write('</i>'); 175 buffer.write('</i>');
178 } 176 }
179 buffer.write(' <span style="color:gray">('); 177 buffer.write(' <span style="color:gray">(');
180 buffer.write(element.runtimeType); 178 buffer.write(element.runtimeType);
181 buffer.write(')</span>'); 179 buffer.write(')</span>');
182 buffer.write('<br>'); 180 buffer.write('<br>');
183 } 181 }
184 } 182 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/status/ast_writer.dart ('k') | pkg/analysis_server/lib/src/status/get_handler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698