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

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

Issue 2824423002: Compute NativeBasicData for KernelWorldBuilder (Closed)
Patch Set: Updated cf. comments. Created 3 years, 7 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // TODO(sigmund): rename and move to common/elements.dart 5 // TODO(sigmund): rename and move to common/elements.dart
6 library dart2js.type_system; 6 library dart2js.type_system;
7 7
8 import 'common/names.dart' show Identifiers, Uris; 8 import 'common/names.dart' show Identifiers, Uris;
9 import 'js_backend/constant_system_javascript.dart'; 9 import 'js_backend/constant_system_javascript.dart';
10 import 'elements/types.dart'; 10 import 'elements/types.dart';
(...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after
1101 /// Returns the main method for the compilation. 1101 /// Returns the main method for the compilation.
1102 FunctionEntity get mainFunction; 1102 FunctionEntity get mainFunction;
1103 1103
1104 /// Returns all known libraries. 1104 /// Returns all known libraries.
1105 Iterable<LibraryEntity> get libraries; 1105 Iterable<LibraryEntity> get libraries;
1106 1106
1107 /// Lookup the library with the canonical [uri], fail if the library is 1107 /// Lookup the library with the canonical [uri], fail if the library is
1108 /// missing and [required]; 1108 /// missing and [required];
1109 LibraryEntity lookupLibrary(Uri uri, {bool required: false}); 1109 LibraryEntity lookupLibrary(Uri uri, {bool required: false});
1110 1110
1111 /// Calls [f] for every class declared in [library].
1112 void forEachClass(LibraryEntity library, void f(ClassEntity cls));
1113
1111 /// Lookup the class [name] in [library], fail if the class is missing and 1114 /// Lookup the class [name] in [library], fail if the class is missing and
1112 /// [required]. 1115 /// [required].
1113 ClassEntity lookupClass(LibraryEntity library, String name, 1116 ClassEntity lookupClass(LibraryEntity library, String name,
1114 {bool required: false}); 1117 {bool required: false});
1115 1118
1116 /// Lookup the member [name] in [library], fail if the class is missing and 1119 /// Lookup the member [name] in [library], fail if the class is missing and
1117 /// [required]. 1120 /// [required].
1118 MemberEntity lookupLibraryMember(LibraryEntity library, String name, 1121 MemberEntity lookupLibraryMember(LibraryEntity library, String name,
1119 {bool setter: false, bool required: false}); 1122 {bool setter: false, bool required: false});
1120 1123
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
1191 DartType getUnaliasedType(DartType type); 1194 DartType getUnaliasedType(DartType type);
1192 1195
1193 /// Returns the [CallStructure] corresponding to calling [entity] with all 1196 /// Returns the [CallStructure] corresponding to calling [entity] with all
1194 /// arguments, both required and optional. 1197 /// arguments, both required and optional.
1195 CallStructure getCallStructure(FunctionEntity entity); 1198 CallStructure getCallStructure(FunctionEntity entity);
1196 1199
1197 /// Returns `true` if [member] a the synthetic getter `loadLibrary` injected 1200 /// Returns `true` if [member] a the synthetic getter `loadLibrary` injected
1198 /// on deferred libraries. 1201 /// on deferred libraries.
1199 bool isDeferredLoadLibraryGetter(MemberEntity member); 1202 bool isDeferredLoadLibraryGetter(MemberEntity member);
1200 } 1203 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698