Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Side by Side Diff: packages/dart_style/lib/src/line_splitting/solve_state.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698