| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 import 'dart:async'; | 5 import 'dart:async'; |
| 6 | 6 |
| 7 import 'package:analyzer/dart/ast/ast.dart'; | 7 import 'package:analyzer/dart/ast/ast.dart'; |
| 8 import 'package:analyzer/dart/ast/standard_resolution_map.dart'; | 8 import 'package:analyzer/dart/ast/standard_resolution_map.dart'; |
| 9 import 'package:analyzer/dart/element/element.dart'; | 9 import 'package:analyzer/dart/element/element.dart'; |
| 10 import 'package:analyzer/error/error.dart'; | 10 import 'package:analyzer/error/error.dart'; |
| 11 import 'package:analyzer/src/generated/engine.dart'; | 11 import 'package:analyzer/src/generated/engine.dart'; |
| 12 import 'package:analyzer/src/generated/source.dart'; | 12 import 'package:analyzer/src/generated/source.dart'; |
| 13 import 'package:front_end/incremental_kernel_generator.dart'; | 13 import 'package:front_end/incremental_kernel_generator.dart'; |
| 14 import 'package:front_end/incremental_resolved_ast_generator.dart'; | 14 import 'package:front_end/incremental_resolved_ast_generator.dart'; |
| 15 import 'package:front_end/src/base/processed_options.dart'; | 15 import 'package:front_end/src/base/processed_options.dart'; |
| 16 import 'package:front_end/src/base/source.dart'; | 16 import 'package:front_end/src/base/source.dart'; |
| 17 import 'package:front_end/src/incremental_resolved_ast_generator_impl.dart'; | 17 import 'package:front_end/src/incremental_resolved_ast_generator_impl.dart'; |
| 18 import 'package:kernel/analyzer/loader.dart'; | 18 import 'package:analyzer/src/kernel/loader.dart'; |
| 19 import 'package:kernel/kernel.dart' hide Source; | 19 import 'package:kernel/kernel.dart' hide Source; |
| 20 | 20 |
| 21 dynamic unimplemented() { | 21 dynamic unimplemented() { |
| 22 // TODO(paulberry): get rid of this. | 22 // TODO(paulberry): get rid of this. |
| 23 throw new UnimplementedError(); | 23 throw new UnimplementedError(); |
| 24 } | 24 } |
| 25 | 25 |
| 26 DartOptions _convertOptions(ProcessedOptions options) { | 26 DartOptions _convertOptions(ProcessedOptions options) { |
| 27 // TODO(paulberry): make sure options.compileSdk is handled correctly. | 27 // TODO(paulberry): make sure options.compileSdk is handled correctly. |
| 28 return new DartOptions( | 28 return new DartOptions( |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 Source forUri2(Uri absoluteUri) => new _SourceProxy(absoluteUri); | 137 Source forUri2(Uri absoluteUri) => new _SourceProxy(absoluteUri); |
| 138 | 138 |
| 139 noSuchMethod(Invocation invocation) => unimplemented(); | 139 noSuchMethod(Invocation invocation) => unimplemented(); |
| 140 } | 140 } |
| 141 | 141 |
| 142 class _SourceProxy extends BasicSource { | 142 class _SourceProxy extends BasicSource { |
| 143 _SourceProxy(Uri uri) : super(uri); | 143 _SourceProxy(Uri uri) : super(uri); |
| 144 | 144 |
| 145 noSuchMethod(Invocation invocation) => unimplemented(); | 145 noSuchMethod(Invocation invocation) => unimplemented(); |
| 146 } | 146 } |
| OLD | NEW |