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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart

Issue 11364134: Merge libv1. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error Created 8 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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('parser'); 5 library parser;
6 6
7 #import('dart:io'); 7 import 'dart:io';
8 #import('dart:scalarlist'); 8 import 'dart:scalarlist';
9 9
10 #import('dart:utf'); 10 import 'dart:utf';
11 11
12 #import('../elements/elements.dart'); 12 import '../elements/elements.dart';
13 #import('../scanner/scanner_implementation.dart'); 13 import '../scanner/scanner_implementation.dart';
14 #import('../scanner/scannerlib.dart'); 14 import '../scanner/scannerlib.dart';
15 #import('../tree/tree.dart'); 15 import '../tree/tree.dart';
16 #import('../util/characters.dart'); 16 import '../util/characters.dart';
17 #import('../source_file.dart'); 17 import '../source_file.dart';
18 #import('../ssa/ssa.dart'); 18 import '../ssa/ssa.dart';
19 19
20 #import('../../compiler.dart', prefix: 'api'); 20 import '../../compiler.dart' as api;
21 21
22 #source('../diagnostic_listener.dart'); 22 part '../diagnostic_listener.dart';
23 #source('../scanner/byte_array_scanner.dart'); 23 part '../scanner/byte_array_scanner.dart';
24 #source('../scanner/byte_strings.dart'); 24 part '../scanner/byte_strings.dart';
25 25
26 int charCount = 0; 26 int charCount = 0;
27 Stopwatch stopwatch; 27 Stopwatch stopwatch;
28 28
29 void main() { 29 void main() {
30 toolMain(new Options().arguments); 30 toolMain(new Options().arguments);
31 } 31 }
32 32
33 void toolMain(List<String> arguments) { 33 void toolMain(List<String> arguments) {
34 filesWithCrashes = []; 34 filesWithCrashes = [];
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 set text(String newText) { 312 set text(String newText) {
313 throw "not supported"; 313 throw "not supported";
314 } 314 }
315 } 315 }
316 316
317 class Mock { 317 class Mock {
318 const Mock(); 318 const Mock();
319 bool get useColors => true; 319 bool get useColors => true;
320 internalError(message) { throw message.toString(); } 320 internalError(message) { throw message.toString(); }
321 } 321 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698