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 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:collection'; | 8 import 'dart:collection'; |
9 import 'dart:math' as math; | 9 import 'dart:math' as math; |
10 import 'dart:io'; | 10 import 'dart:io'; |
11 | 11 |
12 import 'package:analyzer/src/generated/ast.dart' show CompilationUnit; | 12 import 'package:analyzer/dart/ast/ast.dart' show CompilationUnit; |
13 import 'package:analyzer/src/generated/element.dart'; | 13 import 'package:analyzer/dart/element/element.dart'; |
14 import 'package:analyzer/src/generated/engine.dart' | 14 import 'package:analyzer/src/generated/engine.dart' |
15 show AnalysisEngine, AnalysisContext, ChangeSet, ParseDartTask; | 15 show AnalysisEngine, AnalysisContext, ChangeSet, ParseDartTask; |
16 import 'package:analyzer/src/generated/error.dart' | 16 import 'package:analyzer/src/generated/error.dart' |
17 show AnalysisError, ErrorSeverity, ErrorType; | 17 show AnalysisError, ErrorSeverity, ErrorType; |
18 import 'package:analyzer/src/generated/error.dart'; | 18 import 'package:analyzer/src/generated/error.dart'; |
19 import 'package:analyzer/src/generated/source.dart' show Source; | 19 import 'package:analyzer/src/generated/source.dart' show Source; |
20 import 'package:analyzer/src/task/html.dart'; | 20 import 'package:analyzer/src/task/html.dart'; |
21 import 'package:html/dom.dart' as html; | 21 import 'package:html/dom.dart' as html; |
22 import 'package:html/parser.dart' as html; | 22 import 'package:html/parser.dart' as html; |
23 import 'package:logging/logging.dart' show Level, Logger, LogRecord; | 23 import 'package:logging/logging.dart' show Level, Logger, LogRecord; |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 var files = [ | 535 var files = [ |
536 'harmony_feature_check.js', | 536 'harmony_feature_check.js', |
537 'dart_library.js', | 537 'dart_library.js', |
538 'dart/_runtime.js', | 538 'dart/_runtime.js', |
539 ]; | 539 ]; |
540 files.addAll(corelibOrder.map(coreToFile)); | 540 files.addAll(corelibOrder.map(coreToFile)); |
541 return files; | 541 return files; |
542 }(); | 542 }(); |
543 | 543 |
544 final _log = new Logger('dev_compiler.src.compiler'); | 544 final _log = new Logger('dev_compiler.src.compiler'); |
OLD | NEW |