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

Unified Diff: utils/css/tree.dart

Issue 10964030: A variety of cleanups to bring our samples up-to-date. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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
« no previous file with comments | « samples/webcomponents/shadow_polyfill.dart ('k') | utils/template/codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/css/tree.dart
===================================================================
--- utils/css/tree.dart (revision 12654)
+++ utils/css/tree.dart (working copy)
@@ -126,7 +126,7 @@
visit(TreeVisitor visitor) => visitor.visitSimpleSelectorSequence(this);
- String toString() => _combinatorToString() + _selector.toString();
+ String toString() => "${_combinatorToString()}${_selector.toString()}";
}
/* All other selectors (element, #id, .class, attribute, pseudo, negation,
@@ -336,7 +336,7 @@
visit(TreeVisitor visitor) => visitor.visitRuleSet(this);
String toString() =>
- "\n${_selectorGroup.toString()} {\n" +
+ "\n${_selectorGroup.toString()} {\n"
"${_declarationGroup.toString()}}\n";
}
@@ -1265,7 +1265,7 @@
}
void visitIdentifier(Identifier node) {
- output.heading('Identifier(' + output.toValue(node.name) + ")", node.span);
+ output.heading('Identifier(${output.toValue(node.name)})', node.span);
}
void visitWildcard(Wildcard node) {
« no previous file with comments | « samples/webcomponents/shadow_polyfill.dart ('k') | utils/template/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698