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

Unified Diff: lib/src/tree_base.dart

Issue 998843003: pkg/csslib: formatting (Closed) Base URL: https://github.com/dart-lang/csslib@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: lib/src/tree_base.dart
diff --git a/lib/src/tree_base.dart b/lib/src/tree_base.dart
index 35aef13d123717a9ee4b2792f1805315bfb75aab..095b4932f081cb162b8acc547f08cbe102920b3c 100644
--- a/lib/src/tree_base.dart
+++ b/lib/src/tree_base.dart
@@ -29,7 +29,7 @@ abstract class TreeNode {
/** The base type for expressions. */
abstract class Expression extends TreeNode {
- Expression(SourceSpan span): super(span);
+ Expression(SourceSpan span) : super(span);
}
/** Simple class to provide a textual dump of trees for debugging. */
@@ -39,7 +39,7 @@ class TreeOutput {
VisitorBase printer;
void write(String s) {
- for (int i=0; i < depth; i++) {
+ for (int i = 0; i < depth; i++) {
buf.write(' ');
}
buf.write(s);

Powered by Google App Engine
This is Rietveld 408576698