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

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

Issue 2221893003: pkg/compiler: fix imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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) 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 '../common/resolution.dart' show Resolution; 9 import '../common/resolution.dart' show Resolution;
10 import '../compiler.dart' show Compiler; 10 import '../compiler.dart' show Compiler;
11 import '../core_types.dart' show CoreClasses; 11 import '../core_types.dart' show CoreClasses;
12 import '../elements/elements.dart' 12 import '../elements/elements.dart'
13 show 13 show
14 AbstractFieldElement, 14 AbstractFieldElement,
15 ClassElement, 15 ClassElement,
16 ConstructorElement, 16 ConstructorElement,
17 Element, 17 Element,
18 EnumClassElement, 18 EnumClassElement,
19 FunctionElement, 19 FunctionElement,
20 LibraryElement, 20 LibraryElement,
21 MethodElement, 21 MethodElement,
22 PublicName; 22 PublicName;
23 import '../library_loader.dart' show LoadedLibraries; 23 import '../library_loader.dart' show LoadedLibraries;
24 import '../universe/call_structure.dart' show CallStructure; 24 import '../universe/call_structure.dart' show CallStructure;
25 import '../universe/selector.dart' show Selector; 25 import '../universe/selector.dart' show Selector;
26
27 import 'js_backend.dart'; 26 import 'js_backend.dart';
28 27
29 /// Helper classes and functions for the JavaScript backend. 28 /// Helper classes and functions for the JavaScript backend.
30 class BackendHelpers { 29 class BackendHelpers {
31 static final Uri DART_JS_HELPER = new Uri(scheme: 'dart', path: '_js_helper'); 30 static final Uri DART_JS_HELPER = new Uri(scheme: 'dart', path: '_js_helper');
32 static final Uri DART_INTERCEPTORS = 31 static final Uri DART_INTERCEPTORS =
33 new Uri(scheme: 'dart', path: '_interceptors'); 32 new Uri(scheme: 'dart', path: '_interceptors');
34 static final Uri DART_FOREIGN_HELPER = 33 static final Uri DART_FOREIGN_HELPER =
35 new Uri(scheme: 'dart', path: '_foreign_helper'); 34 new Uri(scheme: 'dart', path: '_foreign_helper');
36 static final Uri DART_JS_MIRRORS = 35 static final Uri DART_JS_MIRRORS =
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 MethodElement _objectNoSuchMethod; 705 MethodElement _objectNoSuchMethod;
707 706
708 MethodElement get objectNoSuchMethod { 707 MethodElement get objectNoSuchMethod {
709 if (_objectNoSuchMethod == null) { 708 if (_objectNoSuchMethod == null) {
710 _objectNoSuchMethod = 709 _objectNoSuchMethod =
711 coreClasses.objectClass.lookupLocalMember(Identifiers.noSuchMethod_); 710 coreClasses.objectClass.lookupLocalMember(Identifiers.noSuchMethod_);
712 } 711 }
713 return _objectNoSuchMethod; 712 return _objectNoSuchMethod;
714 } 713 }
715 } 714 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | pkg/compiler/lib/src/js_backend/backend_impact.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698