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

Side by Side Diff: pkg/compiler/lib/src/js_backend/js_backend.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, 5 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 js_backend; 5 library js_backend;
6 6
7 import 'dart:async' show EventSink, Future; 7 import 'dart:async' show EventSink, Future;
8 import 'dart:collection' show HashMap;
8 9
9 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' 10 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart'
10 as embeddedNames; 11 as embeddedNames;
11 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' 12 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart'
12 show JsGetName; 13 show JsGetName;
13 14
14 import '../closure.dart'; 15 import '../closure.dart';
15 import '../compile_time_constants.dart'; 16 import '../compile_time_constants.dart';
16 import '../constants/constant_system.dart'; 17 import '../constants/constant_system.dart';
17 import '../constants/expressions.dart'; 18 import '../constants/expressions.dart';
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 part 'backend.dart'; 53 part 'backend.dart';
53 part 'checked_mode_helpers.dart'; 54 part 'checked_mode_helpers.dart';
54 part 'constant_emitter.dart'; 55 part 'constant_emitter.dart';
55 part 'constant_handler_javascript.dart'; 56 part 'constant_handler_javascript.dart';
56 part 'custom_elements_analysis.dart'; 57 part 'custom_elements_analysis.dart';
57 part 'minify_namer.dart'; 58 part 'minify_namer.dart';
58 part 'namer.dart'; 59 part 'namer.dart';
59 part 'no_such_method_registry.dart'; 60 part 'no_such_method_registry.dart';
60 part 'runtime_types.dart'; 61 part 'runtime_types.dart';
61 part 'type_variable_handler.dart'; 62 part 'type_variable_handler.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698