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

Side by Side Diff: pkg/analyzer/lib/src/dart/analysis/driver.dart

Issue 2466703002: Get code to format from 'overlayState' or from the Source. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « pkg/analysis_server/lib/src/edit/edit_domain.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:collection'; 6 import 'dart:collection';
7 import 'dart:convert'; 7 import 'dart:convert';
8 8
9 import 'package:analyzer/dart/ast/ast.dart'; 9 import 'package:analyzer/dart/ast/ast.dart';
10 import 'package:analyzer/dart/ast/token.dart'; 10 import 'package:analyzer/dart/ast/token.dart';
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 int ms = timer.elapsedMilliseconds; 839 int ms = timer.elapsedMilliseconds;
840 writeln('--- $msg in $ms ms.'); 840 writeln('--- $msg in $ms ms.');
841 } 841 }
842 } 842 }
843 843
844 /** 844 /**
845 * Write a new line into the log 845 * Write a new line into the log
846 */ 846 */
847 void writeln(String msg) { 847 void writeln(String msg) {
848 String indent = '\t' * _level; 848 String indent = '\t' * _level;
849 sink.writeln('$indent$msg'); 849 // sink.writeln('$indent$msg');
Brian Wilkerson 2016/10/31 20:17:23 I don't understand this change. Why are we not wri
scheglov 2016/10/31 20:42:38 I forgot to roll this change back.
850 } 850 }
851 } 851 }
852 852
853 /** 853 /**
854 * The performance measurement section for operations that start and end 854 * The performance measurement section for operations that start and end
855 * at different place in code, so cannot be run using [PerformanceLog.run]. 855 * at different place in code, so cannot be run using [PerformanceLog.run].
856 * 856 *
857 * The client must call [exit] for every [PerformanceLog.enter]. 857 * The client must call [exit] for every [PerformanceLog.enter].
858 */ 858 */
859 class PerformanceLogSection { 859 class PerformanceLogSection {
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1218 } 1218 }
1219 } 1219 }
1220 for (UnlinkedExportPublic export in unit.publicNamespace.exports) { 1220 for (UnlinkedExportPublic export in unit.publicNamespace.exports) {
1221 referenced.exported.add(export.uri); 1221 referenced.exported.add(export.uri);
1222 } 1222 }
1223 return referenced; 1223 return referenced;
1224 } 1224 }
1225 1225
1226 _ReferencedUris._(); 1226 _ReferencedUris._();
1227 } 1227 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/edit/edit_domain.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698