| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 | |
| 6 library dart2js.js_emitter.interceptor_stub_generator; | 5 library dart2js.js_emitter.interceptor_stub_generator; |
| 7 | 6 |
| 8 import '../compiler.dart' show Compiler; | 7 import '../compiler.dart' show Compiler; |
| 9 import '../constants/values.dart'; | 8 import '../constants/values.dart'; |
| 10 import '../elements/resolution_types.dart' | 9 import '../elements/resolution_types.dart' show ResolutionInterfaceType; |
| 11 show | 10 import '../elements/elements.dart' show ClassElement, Element; |
| 12 ResolutionInterfaceType; | |
| 13 import '../elements/elements.dart' | |
| 14 show | |
| 15 ClassElement, | |
| 16 Element; | |
| 17 import '../js/js.dart' as jsAst; | 11 import '../js/js.dart' as jsAst; |
| 18 import '../js/js.dart' show js; | 12 import '../js/js.dart' show js; |
| 19 import '../js_backend/backend_helpers.dart' show BackendHelpers; | 13 import '../js_backend/backend_helpers.dart' show BackendHelpers; |
| 20 import '../js_backend/js_backend.dart' | 14 import '../js_backend/js_backend.dart' |
| 21 show | 15 show |
| 22 CustomElementsAnalysis, | 16 CustomElementsAnalysis, |
| 23 JavaScriptBackend, | 17 JavaScriptBackend, |
| 24 JavaScriptConstantCompiler, | 18 JavaScriptConstantCompiler, |
| 25 Namer; | 19 Namer; |
| 26 import '../universe/selector.dart' show Selector; | 20 import '../universe/selector.dart' show Selector; |
| 27 import '../world.dart' show ClosedWorld; | 21 import '../world.dart' show ClosedWorld; |
| 28 | 22 |
| 29 import 'code_emitter_task.dart' show Emitter; | 23 import 'code_emitter_task.dart' show Emitter; |
| 30 | 24 |
| 31 class InterceptorStubGenerator { | 25 class InterceptorStubGenerator { |
| 32 final Compiler compiler; | 26 final Compiler compiler; |
| 33 final Namer namer; | 27 final Namer namer; |
| 34 final JavaScriptBackend backend; | 28 final JavaScriptBackend backend; |
| 35 final ClosedWorld closedWorld; | 29 final ClosedWorld closedWorld; |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 | 413 |
| 420 var map = new jsAst.ObjectInitializer(properties); | 414 var map = new jsAst.ObjectInitializer(properties); |
| 421 elements.add(map); | 415 elements.add(map); |
| 422 } | 416 } |
| 423 } | 417 } |
| 424 } | 418 } |
| 425 | 419 |
| 426 return new jsAst.ArrayInitializer(elements); | 420 return new jsAst.ArrayInitializer(elements); |
| 427 } | 421 } |
| 428 } | 422 } |
| OLD | NEW |