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 /// Contains a code printer that generates code by recording the source maps. | 5 /// Contains a code printer that generates code by recording the source maps. |
6 library source_maps.printer; | 6 library source_maps.printer; |
7 | 7 |
8 import 'package:source_span/source_span.dart'; | 8 import 'package:source_span/source_span.dart'; |
9 | 9 |
10 import 'builder.dart'; | 10 import 'builder.dart'; |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 } | 243 } |
244 } | 244 } |
245 } | 245 } |
246 } | 246 } |
247 | 247 |
248 /// An item added to a [NestedPrinter]. | 248 /// An item added to a [NestedPrinter]. |
249 abstract class NestedItem { | 249 abstract class NestedItem { |
250 /// Write the contents of this item into [printer]. | 250 /// Write the contents of this item into [printer]. |
251 void writeTo(Printer printer); | 251 void writeTo(Printer printer); |
252 } | 252 } |
OLD | NEW |