| 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.solve_state; | 5 library dart_style.src.line_splitting.solve_state; |
| 6 | 6 |
| 7 import '../debug.dart' as debug; | 7 import '../debug.dart' as debug; |
| 8 import '../rule/rule.dart'; | 8 import '../rule/rule.dart'; |
| 9 import 'line_splitter.dart'; | 9 import 'line_splitter.dart'; |
| 10 import 'rule_set.dart'; | 10 import 'rule_set.dart'; |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 | 458 |
| 459 buffer.write(" \$${splits.cost}"); | 459 buffer.write(" \$${splits.cost}"); |
| 460 | 460 |
| 461 if (overflowChars > 0) buffer.write(" (${overflowChars} over)"); | 461 if (overflowChars > 0) buffer.write(" (${overflowChars} over)"); |
| 462 if (!_isComplete) buffer.write(" (incomplete)"); | 462 if (!_isComplete) buffer.write(" (incomplete)"); |
| 463 if (splits == null) buffer.write(" invalid"); | 463 if (splits == null) buffer.write(" invalid"); |
| 464 | 464 |
| 465 return buffer.toString(); | 465 return buffer.toString(); |
| 466 } | 466 } |
| 467 } | 467 } |
| OLD | NEW |