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

Unified Diff: pkg/compiler/lib/src/js_emitter/js_emitter.dart

Issue 1198293002: dart2js: Use an abstract Name class for names in the generated JavaScript ast. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix tests 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/compiler/lib/src/js_emitter/js_emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/js_emitter.dart b/pkg/compiler/lib/src/js_emitter/js_emitter.dart
index 9dea53ea5d2fef291c7b80c674018d8b9ec0ea56..d26afb83b2f366d3cefea44d119889d79c4c1470 100644
--- a/pkg/compiler/lib/src/js_emitter/js_emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/js_emitter.dart
@@ -5,6 +5,7 @@
library dart2js.js_emitter;
import 'dart:convert';
+import 'dart:collection' show HashMap;
import '../common.dart';
@@ -40,12 +41,15 @@ import 'package:js_ast/src/precedence.dart' as js_precedence;
import '../js_backend/js_backend.dart' show
CheckedModeHelper,
+ CompoundName,
ConstantEmitter,
CustomElementsAnalysis,
+ GetterName,
JavaScriptBackend,
JavaScriptConstantCompiler,
Namer,
RuntimeTypes,
+ SetterName,
Substitution,
TypeCheck,
TypeChecks,

Powered by Google App Engine
This is Rietveld 408576698