OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 dart_style.src.chunk_builder; | 5 library dart_style.src.chunk_builder; |
6 | 6 |
7 import 'chunk.dart'; | 7 import 'chunk.dart'; |
8 import 'dart_formatter.dart'; | 8 import 'dart_formatter.dart'; |
9 import 'debug.dart' as debug; | 9 import 'debug.dart' as debug; |
10 import 'line_writer.dart'; | 10 import 'line_writer.dart'; |
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 } | 787 } |
788 | 788 |
789 // Harden every chunk that uses one of these rules. | 789 // Harden every chunk that uses one of these rules. |
790 for (var chunk in _chunks) { | 790 for (var chunk in _chunks) { |
791 if (hardenedRules.contains(chunk.rule)) { | 791 if (hardenedRules.contains(chunk.rule)) { |
792 chunk.harden(); | 792 chunk.harden(); |
793 } | 793 } |
794 } | 794 } |
795 } | 795 } |
796 } | 796 } |
OLD | NEW |