| 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 'package:analyzer/dart/ast/ast.dart'; | 5 import 'package:analyzer/dart/ast/ast.dart'; |
| 6 import 'package:analyzer/dart/ast/token.dart' as analyzer; | 6 import 'package:analyzer/dart/ast/token.dart' as analyzer; |
| 7 import 'package:analyzer/dart/element/element.dart'; | 7 import 'package:analyzer/dart/element/element.dart'; |
| 8 import 'package:analyzer/error/error.dart'; | 8 import 'package:analyzer/error/error.dart'; |
| 9 import 'package:analyzer/src/dart/scanner/scanner.dart'; | 9 import 'package:analyzer/src/dart/scanner/scanner.dart'; |
| 10 import 'package:analyzer/src/fasta/ast_builder.dart'; | 10 import 'package:analyzer/src/fasta/ast_builder.dart'; |
| (...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 784 * tests. | 784 * tests. |
| 785 */ | 785 */ |
| 786 class KernelLibraryBuilderProxy implements KernelLibraryBuilder { | 786 class KernelLibraryBuilderProxy implements KernelLibraryBuilder { |
| 787 @override | 787 @override |
| 788 final uri = Uri.parse('file:///test.dart'); | 788 final uri = Uri.parse('file:///test.dart'); |
| 789 | 789 |
| 790 @override | 790 @override |
| 791 Uri get fileUri => uri; | 791 Uri get fileUri => uri; |
| 792 | 792 |
| 793 @override | 793 @override |
| 794 void addCompileTimeError(int charOffset, Object message, | 794 void deprecated_addCompileTimeError(int charOffset, Object message, |
| 795 {Uri fileUri, bool silent: false, bool wasHandled: false}) { | 795 {Uri fileUri, bool silent: false, bool wasHandled: false}) { |
| 796 fail('$message'); | 796 fail('$message'); |
| 797 } | 797 } |
| 798 | 798 |
| 799 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); | 799 noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation); |
| 800 } | 800 } |
| 801 | 801 |
| 802 /** | 802 /** |
| 803 * Proxy implementation of the analyzer parser, implemented in terms of the | 803 * Proxy implementation of the analyzer parser, implemented in terms of the |
| 804 * Fasta parser. | 804 * Fasta parser. |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1016 } | 1016 } |
| 1017 | 1017 |
| 1018 @override | 1018 @override |
| 1019 @failingTest | 1019 @failingTest |
| 1020 void test_parsePartOfDirective_uri() { | 1020 void test_parsePartOfDirective_uri() { |
| 1021 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by | 1021 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by |
| 1022 // Fasta. | 1022 // Fasta. |
| 1023 super.test_parsePartOfDirective_uri(); | 1023 super.test_parsePartOfDirective_uri(); |
| 1024 } | 1024 } |
| 1025 } | 1025 } |
| OLD | NEW |