OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 /// Command line tool to run the checker on a Dart program. | 5 /// Command line tool to run the checker on a Dart program. |
6 library dev_compiler.src.compiler; | |
7 | 6 |
8 import 'dart:async'; | 7 import 'dart:async'; |
9 import 'dart:collection'; | 8 import 'dart:collection'; |
10 import 'dart:convert' show JSON; | 9 import 'dart:convert' show JSON; |
11 import 'dart:math' as math; | 10 import 'dart:math' as math; |
12 import 'dart:io'; | 11 import 'dart:io'; |
13 | 12 |
14 import 'package:analyzer/src/generated/ast.dart' show CompilationUnit; | 13 import 'package:analyzer/src/generated/ast.dart' show CompilationUnit; |
15 import 'package:analyzer/src/generated/element.dart'; | 14 import 'package:analyzer/src/generated/element.dart'; |
16 import 'package:analyzer/src/generated/engine.dart' | 15 import 'package:analyzer/src/generated/engine.dart' |
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 var files = [ | 534 var files = [ |
536 'harmony_feature_check.js', | 535 'harmony_feature_check.js', |
537 'dart_library.js', | 536 'dart_library.js', |
538 'dart/_runtime.js', | 537 'dart/_runtime.js', |
539 ]; | 538 ]; |
540 files.addAll(corelibOrder.map(coreToFile)); | 539 files.addAll(corelibOrder.map(coreToFile)); |
541 return files; | 540 return files; |
542 }(); | 541 }(); |
543 | 542 |
544 final _log = new Logger('dev_compiler.src.compiler'); | 543 final _log = new Logger('dev_compiler.src.compiler'); |
OLD | NEW |