OLD | NEW |
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 dart_style.src.line_splitting.rule_set; | 5 library dart_style.src.line_splitting.rule_set; |
6 | 6 |
7 import '../rule/rule.dart'; | 7 import '../rule/rule.dart'; |
8 | 8 |
9 /// An optimized data structure for storing a set of values for some rules. | 9 /// An optimized data structure for storing a set of values for some rules. |
10 /// | 10 /// |
(...skipping 137 matching lines...) Loading... |
148 var result = []; | 148 var result = []; |
149 for (var i = 0; i < _columns.length; i++) { | 149 for (var i = 0; i < _columns.length; i++) { |
150 if (_columns[i] != null) { | 150 if (_columns[i] != null) { |
151 result.add("$i:${_columns[i]}"); | 151 result.add("$i:${_columns[i]}"); |
152 } | 152 } |
153 } | 153 } |
154 | 154 |
155 return result.join(" "); | 155 return result.join(" "); |
156 } | 156 } |
157 } | 157 } |
OLD | NEW |