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

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

Issue 1318043005: Support user generated custom native JS classes. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: about to land Created 5 years, 2 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 import 'dart:collection' show HashMap;
9 9
10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; 10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 JavaScriptSourceInformationStrategy; 65 JavaScriptSourceInformationStrategy;
66 import '../js/rewrite_async.dart'; 66 import '../js/rewrite_async.dart';
67 import '../js_emitter/js_emitter.dart' show 67 import '../js_emitter/js_emitter.dart' show
68 CodeEmitterTask, 68 CodeEmitterTask,
69 Emitter, 69 Emitter,
70 MetadataCollector, 70 MetadataCollector,
71 Placeholder, 71 Placeholder,
72 USE_LAZY_EMITTER; 72 USE_LAZY_EMITTER;
73 import '../library_loader.dart' show LibraryLoader, LoadedLibraries; 73 import '../library_loader.dart' show LibraryLoader, LoadedLibraries;
74 import '../native/native.dart' as native; 74 import '../native/native.dart' as native;
75 import '../patch_parser.dart' show
76 checkJsInteropAnnotation;
75 import '../resolution/registry.dart' show 77 import '../resolution/registry.dart' show
76 EagerRegistry; 78 EagerRegistry;
77 import '../resolution/tree_elements.dart' show 79 import '../resolution/tree_elements.dart' show
78 TreeElements; 80 TreeElements;
79 import '../ssa/ssa.dart'; 81 import '../ssa/ssa.dart';
80 import '../tree/tree.dart'; 82 import '../tree/tree.dart';
81 import '../types/types.dart'; 83 import '../types/types.dart';
82 import '../universe/call_structure.dart' show 84 import '../universe/call_structure.dart' show
83 CallStructure; 85 CallStructure;
84 import '../universe/selector.dart' show 86 import '../universe/selector.dart' show
85 Selector, 87 Selector,
86 SelectorKind; 88 SelectorKind;
87 import '../universe/universe.dart'; 89 import '../universe/universe.dart';
88 import '../util/characters.dart'; 90 import '../util/characters.dart';
89 import '../util/util.dart'; 91 import '../util/util.dart';
90 import '../world.dart' show 92 import '../world.dart' show
91 ClassWorld; 93 ClassWorld;
92 94
93 import 'backend_helpers.dart'; 95 import 'backend_helpers.dart';
94 import 'backend_impact.dart'; 96 import 'backend_impact.dart';
95 import 'codegen/task.dart'; 97 import 'codegen/task.dart';
96 import 'constant_system_javascript.dart'; 98 import 'constant_system_javascript.dart';
97 import 'patch_resolver.dart'; 99 import 'patch_resolver.dart';
100 import 'js_interop_analysis.dart' show JsInteropAnalysis;
98 import 'lookup_map_analysis.dart' show LookupMapAnalysis; 101 import 'lookup_map_analysis.dart' show LookupMapAnalysis;
99 102
100 part 'backend.dart'; 103 part 'backend.dart';
101 part 'checked_mode_helpers.dart'; 104 part 'checked_mode_helpers.dart';
102 part 'constant_emitter.dart'; 105 part 'constant_emitter.dart';
103 part 'constant_handler_javascript.dart'; 106 part 'constant_handler_javascript.dart';
104 part 'custom_elements_analysis.dart'; 107 part 'custom_elements_analysis.dart';
105 part 'frequency_namer.dart'; 108 part 'frequency_namer.dart';
106 part 'field_naming_mixin.dart'; 109 part 'field_naming_mixin.dart';
107 part 'minify_namer.dart'; 110 part 'minify_namer.dart';
108 part 'namer.dart'; 111 part 'namer.dart';
109 part 'namer_names.dart'; 112 part 'namer_names.dart';
110 part 'no_such_method_registry.dart'; 113 part 'no_such_method_registry.dart';
111 part 'runtime_types.dart'; 114 part 'runtime_types.dart';
112 part 'type_variable_handler.dart'; 115 part 'type_variable_handler.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698