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

Unified Diff: pkg/js_ast/lib/src/nodes.dart

Issue 1212613009: dart2js: Implement frequency based naming. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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: pkg/js_ast/lib/src/nodes.dart
diff --git a/pkg/js_ast/lib/src/nodes.dart b/pkg/js_ast/lib/src/nodes.dart
index 33b5c58431e6bbe5512a9d1bbb3edfa2a38bb6af..b2d214c4ce5ae798992b9d07948cbb9c702669c3 100644
--- a/pkg/js_ast/lib/src/nodes.dart
+++ b/pkg/js_ast/lib/src/nodes.dart
@@ -597,6 +597,10 @@ class LiteralStringFromName extends LiteralString {
LiteralStringFromName(this.name) : super(null);
String get value => '"${name.name}"';
+
+ void visitChildren(NodeVisitor visitor) {
+ name.accept(visitor);
+ }
}
class LiteralExpression extends Expression {

Powered by Google App Engine
This is Rietveld 408576698