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

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

Issue 2860893003: Revert "Make JavaScriptBackend.processAnnotations element-model agnostic" (Closed)
Patch Set: 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/inferrer/inferrer_engine.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 'constants/values.dart'; 9 import 'js_backend/constant_system_javascript.dart';
10 import 'elements/types.dart'; 10 import 'elements/types.dart';
11 import 'elements/elements.dart' show PublicName; 11 import 'elements/elements.dart' show PublicName;
12 import 'elements/entities.dart'; 12 import 'elements/entities.dart';
13 import 'js_backend/backend.dart' show JavaScriptBackend; 13 import 'js_backend/backend.dart' show JavaScriptBackend;
14 import 'js_backend/constant_system_javascript.dart';
15 import 'universe/call_structure.dart' show CallStructure; 14 import 'universe/call_structure.dart' show CallStructure;
16 import 'universe/selector.dart' show Selector; 15 import 'universe/selector.dart' show Selector;
17 import 'universe/call_structure.dart'; 16 import 'universe/call_structure.dart';
18 17
19 /// The common elements and types in Dart. 18 /// The common elements and types in Dart.
20 class CommonElements { 19 class CommonElements {
21 final ElementEnvironment _env; 20 final ElementEnvironment _env;
22 21
23 CommonElements(this._env); 22 CommonElements(this._env);
24 23
(...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 // TODO(johnniwinther): Remove this when the resolver is removed. 1252 // TODO(johnniwinther): Remove this when the resolver is removed.
1254 DartType getUnaliasedType(DartType type); 1253 DartType getUnaliasedType(DartType type);
1255 1254
1256 /// Returns the [CallStructure] corresponding to calling [entity] with all 1255 /// Returns the [CallStructure] corresponding to calling [entity] with all
1257 /// arguments, both required and optional. 1256 /// arguments, both required and optional.
1258 CallStructure getCallStructure(FunctionEntity entity); 1257 CallStructure getCallStructure(FunctionEntity entity);
1259 1258
1260 /// Returns `true` if [member] a the synthetic getter `loadLibrary` injected 1259 /// Returns `true` if [member] a the synthetic getter `loadLibrary` injected
1261 /// on deferred libraries. 1260 /// on deferred libraries.
1262 bool isDeferredLoadLibraryGetter(MemberEntity member); 1261 bool isDeferredLoadLibraryGetter(MemberEntity member);
1263
1264 /// Returns the metadata constants declared on [member].
1265 Iterable<ConstantValue> getMemberMetadata(MemberEntity member);
1266 } 1262 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/inferrer/inferrer_engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698