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

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

Issue 1091443003: Move constant systems into their own libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix try/poi/forget_element_test Created 5 years, 8 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 | Annotate | Revision Log
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.dart_backend; 5 library analyzer2dart.dart_backend;
6 6
7 import 'package:compiler/src/elements/elements.dart'; 7 import 'package:compiler/src/constant_system_dart.dart';
8 import 'package:compiler/src/constants/constant_system.dart';
8 import 'package:compiler/src/dart_backend/dart_backend.dart'; 9 import 'package:compiler/src/dart_backend/dart_backend.dart';
9 import 'package:compiler/src/dart2jslib.dart'; 10 import 'package:compiler/src/dart2jslib.dart';
10 import 'package:compiler/src/dart_types.dart'; 11 import 'package:compiler/src/dart_types.dart';
12 import 'package:compiler/src/elements/elements.dart';
11 13
12 import 'driver.dart'; 14 import 'driver.dart';
13 import 'converted_world.dart'; 15 import 'converted_world.dart';
14 16
15 void compileToDart(Driver driver, ConvertedWorld convertedWorld) { 17 void compileToDart(Driver driver, ConvertedWorld convertedWorld) {
16 DiagnosticListener listener = new Listener(); 18 DiagnosticListener listener = new Listener();
17 DartOutputter outputter = new DartOutputter(listener, driver.outputProvider); 19 DartOutputter outputter = new DartOutputter(listener, driver.outputProvider);
18 ElementAstCreationContext context = new _ElementAstCreationContext( 20 ElementAstCreationContext context = new _ElementAstCreationContext(
19 listener, convertedWorld.dartTypes); 21 listener, convertedWorld.dartTypes);
20 outputter.assembleProgram( 22 outputter.assembleProgram(
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 @override 102 @override
101 spanFromSpannable(Spannable node) { 103 spanFromSpannable(Spannable node) {
102 // TODO: implement spanFromSpannable 104 // TODO: implement spanFromSpannable
103 } 105 }
104 106
105 @override 107 @override
106 withCurrentElement(element, f()) { 108 withCurrentElement(element, f()) {
107 // TODO: implement withCurrentElement 109 // TODO: implement withCurrentElement
108 } 110 }
109 } 111 }
OLDNEW
« no previous file with comments | « pkg/analyzer2dart/lib/src/cps_generator.dart ('k') | pkg/compiler/lib/src/compile_time_constants.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698