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

Side by Side Diff: pkg/compiler/lib/src/js_backend/mirrors_analysis.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
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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.mirrors_handler; 5 library dart2js.mirrors_handler;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 import '../common/resolution.dart'; 8 import '../common/resolution.dart';
9 import '../compiler.dart'; 9 import '../compiler.dart';
10 import '../constants/values.dart'; 10 import '../constants/values.dart';
11 import '../diagnostics/diagnostic_listener.dart'; 11 import '../diagnostics/diagnostic_listener.dart';
12 import '../elements/elements.dart'; 12 import '../elements/elements.dart';
13 import '../elements/entities.dart'; 13 import '../elements/entities.dart';
14 import '../elements/names.dart';
14 import '../enqueue.dart'; 15 import '../enqueue.dart';
15 import '../universe/selector.dart'; 16 import '../universe/selector.dart';
16 import '../universe/use.dart'; 17 import '../universe/use.dart';
17 import '../universe/world_impact.dart'; 18 import '../universe/world_impact.dart';
18 import 'backend.dart'; 19 import 'backend.dart';
19 import 'constant_handler_javascript.dart'; 20 import 'constant_handler_javascript.dart';
20 import 'mirrors_data.dart'; 21 import 'mirrors_data.dart';
21 22
22 abstract class MirrorsResolutionAnalysis { 23 abstract class MirrorsResolutionAnalysis {
23 void onQueueEmpty(Enqueuer enqueuer, Iterable<ClassEntity> recentClasses); 24 void onQueueEmpty(Enqueuer enqueuer, Iterable<ClassEntity> recentClasses);
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 476
476 /// Records that [constant] is used by the element behind [registry]. 477 /// Records that [constant] is used by the element behind [registry].
477 class Dependency { 478 class Dependency {
478 final ConstantValue constant; 479 final ConstantValue constant;
479 final Element annotatedElement; 480 final Element annotatedElement;
480 481
481 const Dependency(this.constant, this.annotatedElement); 482 const Dependency(this.constant, this.annotatedElement);
482 483
483 String toString() => '$annotatedElement:${constant.toStructuredText()}'; 484 String toString() => '$annotatedElement:${constant.toStructuredText()}';
484 } 485 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | pkg/compiler/lib/src/js_backend/mirrors_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698