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

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

Issue 2860753005: Make elements/names.dart its own library (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 | « pkg/compiler/lib/src/common/names.dart ('k') | pkg/compiler/lib/src/elements/common.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 'constants/values.dart';
10 import 'elements/entities.dart';
11 import 'elements/names.dart' show PublicName;
10 import 'elements/types.dart'; 12 import 'elements/types.dart';
11 import 'elements/elements.dart' show PublicName;
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'; 14 import 'js_backend/constant_system_javascript.dart';
15 import 'universe/call_structure.dart' show CallStructure; 15 import 'universe/call_structure.dart' show CallStructure;
16 import 'universe/selector.dart' show Selector; 16 import 'universe/selector.dart' show Selector;
17 import 'universe/call_structure.dart'; 17 import 'universe/call_structure.dart';
18 18
19 /// The common elements and types in Dart. 19 /// The common elements and types in Dart.
20 class CommonElements { 20 class CommonElements {
21 final ElementEnvironment _env; 21 final ElementEnvironment _env;
22 22
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after
1261 /// arguments, both required and optional. 1261 /// arguments, both required and optional.
1262 CallStructure getCallStructure(FunctionEntity entity); 1262 CallStructure getCallStructure(FunctionEntity entity);
1263 1263
1264 /// Returns `true` if [member] a the synthetic getter `loadLibrary` injected 1264 /// Returns `true` if [member] a the synthetic getter `loadLibrary` injected
1265 /// on deferred libraries. 1265 /// on deferred libraries.
1266 bool isDeferredLoadLibraryGetter(MemberEntity member); 1266 bool isDeferredLoadLibraryGetter(MemberEntity member);
1267 1267
1268 /// Returns the metadata constants declared on [member]. 1268 /// Returns the metadata constants declared on [member].
1269 Iterable<ConstantValue> getMemberMetadata(MemberEntity member); 1269 Iterable<ConstantValue> getMemberMetadata(MemberEntity member);
1270 } 1270 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/common/names.dart ('k') | pkg/compiler/lib/src/elements/common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698