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

Side by Side Diff: pkg/compiler/lib/src/js_backend/js_backend.dart

Issue 1196433002: Create and test source mapping for invocations. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Update comments. 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 8
9 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' 9 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart'
10 as embeddedNames; 10 as embeddedNames;
11 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' 11 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart'
12 show JsGetName; 12 show JsGetName;
13 13
14 import '../closure.dart'; 14 import '../closure.dart';
15 import '../compile_time_constants.dart'; 15 import '../compile_time_constants.dart';
16 import '../constants/constant_system.dart'; 16 import '../constants/constant_system.dart';
17 import '../constants/expressions.dart'; 17 import '../constants/expressions.dart';
18 import '../constants/values.dart'; 18 import '../constants/values.dart';
19 import '../dart2jslib.dart'; 19 import '../dart2jslib.dart';
20 import '../dart_types.dart'; 20 import '../dart_types.dart';
21 import '../elements/elements.dart'; 21 import '../elements/elements.dart';
22 import '../io/code_output.dart'; 22 import '../io/code_output.dart';
23 import '../io/source_information.dart' show SourceInformationFactory; 23 import '../io/source_information.dart' show
24 SourceInformationStrategy,
25 USE_NEW_SOURCE_INFO;
26 import '../io/position_information.dart' show
27 PositionSourceInformationStrategy;
28 import '../io/start_end_information.dart' show
29 StartEndSourceInformationStrategy;
24 import '../js/js.dart' as jsAst; 30 import '../js/js.dart' as jsAst;
25 import '../js/js.dart' show js; 31 import '../js/js.dart' show js;
32 import '../js/js_source_mapping.dart' show
33 JavaScriptSourceInformationStrategy;
26 import '../js_emitter/js_emitter.dart' 34 import '../js_emitter/js_emitter.dart'
27 show Emitter, 35 show Emitter,
28 CodeEmitterTask, 36 CodeEmitterTask,
29 ClassBuilder, 37 ClassBuilder,
30 MetadataCollector, 38 MetadataCollector,
31 Placeholder, 39 Placeholder,
32 USE_NEW_EMITTER; 40 USE_NEW_EMITTER;
33 41
34 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; 42 import '../library_loader.dart' show LibraryLoader, LoadedLibraries;
35 import '../native/native.dart' as native; 43 import '../native/native.dart' as native;
(...skipping 16 matching lines...) Expand all
52 part 'backend.dart'; 60 part 'backend.dart';
53 part 'checked_mode_helpers.dart'; 61 part 'checked_mode_helpers.dart';
54 part 'constant_emitter.dart'; 62 part 'constant_emitter.dart';
55 part 'constant_handler_javascript.dart'; 63 part 'constant_handler_javascript.dart';
56 part 'custom_elements_analysis.dart'; 64 part 'custom_elements_analysis.dart';
57 part 'minify_namer.dart'; 65 part 'minify_namer.dart';
58 part 'namer.dart'; 66 part 'namer.dart';
59 part 'no_such_method_registry.dart'; 67 part 'no_such_method_registry.dart';
60 part 'runtime_types.dart'; 68 part 'runtime_types.dart';
61 part 'type_variable_handler.dart'; 69 part 'type_variable_handler.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698