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

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

Issue 2641813006: Change js_emitter parts into libraries (Closed)
Patch Set: Created 3 years, 11 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 dart2js.js_emitter; 5 library dart2js.js_emitter;
6 6
7 import 'package:js_ast/src/precedence.dart' as js_precedence;
8 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames;
9 import 'package:js_runtime/shared/embedded_names.dart' show JsBuiltin;
10
11 import '../closure.dart'
12 show ClosureClassElement, ClosureClassMap, ClosureFieldElement;
13 import '../common.dart';
14 import '../common/names.dart' show Identifiers;
15 import '../common/tasks.dart' show CompilerTask;
16 import '../compiler.dart' show Compiler;
17 import '../constants/values.dart';
18 import '../core_types.dart' show CommonElements;
19 import '../elements/resolution_types.dart'
20 show
21 ResolutionDartType,
22 ResolutionFunctionType,
23 ResolutionInterfaceType,
24 ResolutionTypedefType,
25 Types,
26 ResolutionTypeVariableType;
27 import '../deferred_load.dart' show OutputUnit;
28 import '../elements/elements.dart' 7 import '../elements/elements.dart'
29 show 8 show
30 ClassElement, 9 ClassElement,
31 ConstructorElement, 10 MixinApplicationElement;
32 Element,
33 ElementKind,
34 Entity,
35 FieldElement,
36 FunctionElement,
37 FunctionSignature,
38 MetadataAnnotation,
39 MethodElement,
40 MixinApplicationElement,
41 ParameterElement,
42 TypeVariableElement;
43 import '../js/js.dart' as jsAst;
44 import '../js/js.dart' show js;
45 import '../js_backend/backend_helpers.dart' show BackendHelpers;
46 import '../js_backend/js_backend.dart'
47 show
48 CustomElementsAnalysis,
49 JavaScriptBackend,
50 JavaScriptConstantCompiler,
51 Namer,
52 RuntimeTypes,
53 RuntimeTypesEncoder,
54 Substitution,
55 TypeCheck,
56 TypeChecks,
57 TypeVariableHandler;
58 import '../universe/call_structure.dart' show CallStructure;
59 import '../universe/selector.dart' show Selector;
60 import '../universe/world_builder.dart'
61 show CodegenWorldBuilder, SelectorConstraints;
62 import '../util/util.dart' show Setlet;
63 import '../world.dart' show ClosedWorld;
64 import 'full_emitter/emitter.dart' as full_js_emitter;
65 import 'lazy_emitter/emitter.dart' as lazy_js_emitter;
66 import 'model.dart';
67 import 'program_builder/program_builder.dart';
68 import 'startup_emitter/emitter.dart' as startup_js_emitter;
69 11
70 part 'class_stub_generator.dart'; 12 export 'class_stub_generator.dart';
71 part 'code_emitter_task.dart'; 13 export 'code_emitter_task.dart';
14 export 'interceptor_stub_generator.dart';
15 export 'main_call_stub_generator.dart';
16 export 'metadata_collector.dart';
17 export 'native_emitter.dart';
18 export 'native_generator.dart';
19 export 'parameter_stub_generator.dart';
20 export 'runtime_type_generator.dart';
21 export 'type_test_registry.dart';
22
72 part 'helpers.dart'; 23 part 'helpers.dart';
Siggi Cherem (dart-lang) 2017/01/19 16:41:41 such a lonely part :( Looking into it, it seems
73 part 'interceptor_stub_generator.dart';
74 part 'main_call_stub_generator.dart';
75 part 'metadata_collector.dart';
76 part 'native_emitter.dart';
77 part 'native_generator.dart';
78 part 'parameter_stub_generator.dart';
79 part 'runtime_type_generator.dart';
80 part 'type_test_registry.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698