| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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_backend.helpers; | 5 library dart2js.js_backend.helpers; |
| 6 | 6 |
| 7 import '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../common/names.dart' show Identifiers, Uris; | 8 import '../common/names.dart' show Identifiers, Uris; |
| 9 import '../compiler.dart' show Compiler; | |
| 10 import '../common_elements.dart' show CommonElements, ElementEnvironment; | 9 import '../common_elements.dart' show CommonElements, ElementEnvironment; |
| 11 import '../elements/elements.dart' show PublicName; | 10 import '../elements/elements.dart' show PublicName; |
| 12 import '../elements/entities.dart'; | 11 import '../elements/entities.dart'; |
| 13 import '../library_loader.dart' show LoadedLibraries; | 12 import '../library_loader.dart' show LoadedLibraries; |
| 14 import '../universe/call_structure.dart' show CallStructure; | 13 import '../universe/call_structure.dart' show CallStructure; |
| 15 import '../universe/selector.dart' show Selector; | 14 import '../universe/selector.dart' show Selector; |
| 16 import 'constant_system_javascript.dart'; | 15 import 'constant_system_javascript.dart'; |
| 17 import 'js_backend.dart'; | 16 import 'js_backend.dart'; |
| 18 | 17 |
| 19 /// Helper classes and functions for the JavaScript backend. | 18 /// Helper classes and functions for the JavaScript backend. |
| (...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 /// The class for patch annotations defined in dart:_js_helper. | 805 /// The class for patch annotations defined in dart:_js_helper. |
| 807 ClassEntity get patchAnnotationClass => | 806 ClassEntity get patchAnnotationClass => |
| 808 _patchAnnotationClass ??= _findHelperClass('_Patch'); | 807 _patchAnnotationClass ??= _findHelperClass('_Patch'); |
| 809 | 808 |
| 810 ClassEntity _nativeAnnotationClass; | 809 ClassEntity _nativeAnnotationClass; |
| 811 | 810 |
| 812 /// The class for native annotations defined in dart:_js_helper. | 811 /// The class for native annotations defined in dart:_js_helper. |
| 813 ClassEntity get nativeAnnotationClass => | 812 ClassEntity get nativeAnnotationClass => |
| 814 _nativeAnnotationClass ??= _findHelperClass('Native'); | 813 _nativeAnnotationClass ??= _findHelperClass('Native'); |
| 815 } | 814 } |
| OLD | NEW |