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

Side by Side Diff: pkg/analyzer2dart/lib/src/converted_world.dart

Issue 690103004: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « pkg/analyzer2dart/bin/analyzer2dart.dart ('k') | pkg/analyzer2dart/lib/src/cps_generator.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 library analyzer2dart.convertedWorld; 5 library analyzer2dart.convertedWorld;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'package:analyzer/analyzer.dart'; 9 import 'package:analyzer/analyzer.dart';
10 import 'package:compiler/implementation/elements/elements.dart' as dart2js; 10 import 'package:compiler/src/elements/elements.dart' as dart2js;
11 import 'package:analyzer/src/generated/element.dart' as analyzer; 11 import 'package:analyzer/src/generated/element.dart' as analyzer;
12 import 'package:compiler/implementation/cps_ir/cps_ir_nodes.dart' as ir; 12 import 'package:compiler/src/cps_ir/cps_ir_nodes.dart' as ir;
13 13
14 import 'closed_world.dart'; 14 import 'closed_world.dart';
15 import 'element_converter.dart'; 15 import 'element_converter.dart';
16 import 'cps_generator.dart'; 16 import 'cps_generator.dart';
17 17
18 /// A [ClosedWorld] converted to the dart2js element model. 18 /// A [ClosedWorld] converted to the dart2js element model.
19 abstract class ConvertedWorld { 19 abstract class ConvertedWorld {
20 Iterable<dart2js.LibraryElement> get libraries; 20 Iterable<dart2js.LibraryElement> get libraries;
21 Iterable<dart2js.AstElement> get resolvedElements; 21 Iterable<dart2js.AstElement> get resolvedElements;
22 Iterable<dart2js.ClassElement> get instantiatedClasses; 22 Iterable<dart2js.ClassElement> get instantiatedClasses;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 } 66 }
67 } 67 }
68 68
69 closedWorld.executableElements.forEach(convert); 69 closedWorld.executableElements.forEach(convert);
70 closedWorld.variables.forEach(convert); 70 closedWorld.variables.forEach(convert);
71 closedWorld.fields.forEach(convert); 71 closedWorld.fields.forEach(convert);
72 72
73 return convertedWorld; 73 return convertedWorld;
74 } 74 }
75 75
OLDNEW
« no previous file with comments | « pkg/analyzer2dart/bin/analyzer2dart.dart ('k') | pkg/analyzer2dart/lib/src/cps_generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698