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'; | |
8 import '../common/names.dart' show Identifiers, Uris; | 7 import '../common/names.dart' show Identifiers, Uris; |
9 import '../common_elements.dart' show CommonElements, ElementEnvironment; | 8 import '../common_elements.dart' show CommonElements, ElementEnvironment; |
10 import '../elements/elements.dart' show PublicName; | 9 import '../elements/elements.dart' show PublicName; |
11 import '../elements/entities.dart'; | 10 import '../elements/entities.dart'; |
12 import '../library_loader.dart' show LoadedLibraries; | 11 import '../library_loader.dart' show LoadedLibraries; |
13 import '../universe/call_structure.dart' show CallStructure; | 12 import '../universe/call_structure.dart' show CallStructure; |
14 import '../universe/selector.dart' show Selector; | 13 import '../universe/selector.dart' show Selector; |
15 import 'constant_system_javascript.dart'; | 14 import 'constant_system_javascript.dart'; |
16 import 'js_backend.dart'; | 15 import 'js_backend.dart'; |
17 | 16 |
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 /// The class for patch annotations defined in dart:_js_helper. | 777 /// The class for patch annotations defined in dart:_js_helper. |
779 ClassEntity get patchAnnotationClass => | 778 ClassEntity get patchAnnotationClass => |
780 _patchAnnotationClass ??= _findHelperClass('_Patch'); | 779 _patchAnnotationClass ??= _findHelperClass('_Patch'); |
781 | 780 |
782 ClassEntity _nativeAnnotationClass; | 781 ClassEntity _nativeAnnotationClass; |
783 | 782 |
784 /// The class for native annotations defined in dart:_js_helper. | 783 /// The class for native annotations defined in dart:_js_helper. |
785 ClassEntity get nativeAnnotationClass => | 784 ClassEntity get nativeAnnotationClass => |
786 _nativeAnnotationClass ??= _findHelperClass('Native'); | 785 _nativeAnnotationClass ??= _findHelperClass('Native'); |
787 } | 786 } |
OLD | NEW |