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

Side by Side Diff: pkg/analysis_server/lib/src/status/tree_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.tree_writer;
6
7 import 'dart:convert'; 5 import 'dart:convert';
8 6
9 import 'package:analyzer/exception/exception.dart'; 7 import 'package:analyzer/exception/exception.dart';
10 import 'package:analyzer/src/dart/element/element.dart'; 8 import 'package:analyzer/src/dart/element/element.dart';
11 import 'package:analyzer/src/generated/constant.dart'; 9 import 'package:analyzer/src/generated/constant.dart';
12 import 'package:analyzer/src/generated/source.dart'; 10 import 'package:analyzer/src/generated/source.dart';
13 11
14 /** 12 /**
15 * Utility methods that can be mixed in to classes that produce an HTML 13 * Utility methods that can be mixed in to classes that produce an HTML
16 * representation of a tree structure. 14 * representation of a tree structure.
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 if (valueString == null) { 114 if (valueString == null) {
117 buffer.write('<span style="color: #FF0000">'); 115 buffer.write('<span style="color: #FF0000">');
118 buffer.write(HTML_ESCAPE.convert(value.runtimeType.toString())); 116 buffer.write(HTML_ESCAPE.convert(value.runtimeType.toString()));
119 buffer.write('</span>'); 117 buffer.write('</span>');
120 } else { 118 } else {
121 buffer.write(HTML_ESCAPE.convert(valueString)); 119 buffer.write(HTML_ESCAPE.convert(valueString));
122 } 120 }
123 } 121 }
124 } 122 }
125 } 123 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/status/memory_use.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