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

Side by Side Diff: pkg/analysis_server/lib/src/status/ast_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.ast_writer;
6
7 import 'dart:collection'; 5 import 'dart:collection';
8 6
9 import 'package:analysis_server/src/status/tree_writer.dart'; 7 import 'package:analysis_server/src/status/tree_writer.dart';
10 import 'package:analyzer/dart/ast/ast.dart'; 8 import 'package:analyzer/dart/ast/ast.dart';
11 import 'package:analyzer/dart/ast/visitor.dart'; 9 import 'package:analyzer/dart/ast/visitor.dart';
12 import 'package:analyzer/src/dart/ast/ast.dart'; 10 import 'package:analyzer/src/dart/ast/ast.dart';
13 11
14 /** 12 /**
15 * A visitor that will produce an HTML representation of an AST structure. 13 * A visitor that will produce an HTML representation of an AST structure.
16 */ 14 */
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 buffer.write('..'); 232 buffer.write('..');
235 buffer.write(node.offset + node.length - 1); 233 buffer.write(node.offset + node.length - 1);
236 buffer.write(']'); 234 buffer.write(']');
237 if (node.isSynthetic) { 235 if (node.isSynthetic) {
238 buffer.write(' (synthetic)'); 236 buffer.write(' (synthetic)');
239 } 237 }
240 buffer.write('</span>'); 238 buffer.write('</span>');
241 buffer.write('<br>'); 239 buffer.write('<br>');
242 } 240 }
243 } 241 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698