OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 dump_info; | 5 library dump_info; |
6 | 6 |
7 import 'dart:convert' show | 7 import 'dart:convert' show |
8 HtmlEscape, | 8 HtmlEscape, |
9 JsonEncoder, | 9 JsonEncoder, |
10 StringConversionSink, | 10 StringConversionSink, |
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 ChunkedConversionSink<Object> sink = | 658 ChunkedConversionSink<Object> sink = |
659 encoder.startChunkedConversion( | 659 encoder.startChunkedConversion( |
660 new StringConversionSink.fromStringSink(buffer)); | 660 new StringConversionSink.fromStringSink(buffer)); |
661 sink.add(outJson); | 661 sink.add(outJson); |
662 compiler.reportInfo(NO_LOCATION_SPANNABLE, | 662 compiler.reportInfo(NO_LOCATION_SPANNABLE, |
663 const MessageKind( | 663 const MessageKind( |
664 "View the dumped .info.json file at " | 664 "View the dumped .info.json file at " |
665 "https://dart-lang.github.io/dump-info-visualizer")); | 665 "https://dart-lang.github.io/dump-info-visualizer")); |
666 } | 666 } |
667 } | 667 } |
OLD | NEW |