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/error/error.dart'; | 7 import 'package:analyzer/error/error.dart'; |
8 import 'package:analyzer/src/dart/scanner/scanner.dart'; | 8 import 'package:analyzer/src/dart/scanner/scanner.dart'; |
9 import 'package:analyzer/src/fasta/ast_builder.dart'; | 9 import 'package:analyzer/src/fasta/ast_builder.dart'; |
10 import 'package:analyzer/src/generated/parser.dart' as analyzer; | 10 import 'package:analyzer/src/generated/parser.dart' as analyzer; |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported | 284 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported |
285 // by Fasta. | 285 // by Fasta. |
286 throw new UnimplementedError(); | 286 throw new UnimplementedError(); |
287 } | 287 } |
288 } | 288 } |
289 | 289 |
290 @override | 290 @override |
291 analyzer.Parser get parser => _parserProxy; | 291 analyzer.Parser get parser => _parserProxy; |
292 | 292 |
293 @override | 293 @override |
294 bool get usingFasta => true; | 294 bool get usingFastaParser => true; |
295 | 295 |
296 @override | 296 @override |
297 void assertErrorsWithCodes(List<ErrorCode> expectedErrorCodes) { | 297 void assertErrorsWithCodes(List<ErrorCode> expectedErrorCodes) { |
298 // TODO(scheglov): implement assertErrorsWithCodes | 298 // TODO(scheglov): implement assertErrorsWithCodes |
299 fail('Not implemented'); | 299 fail('Not implemented'); |
300 } | 300 } |
301 | 301 |
302 @override | 302 @override |
303 void assertNoErrors() { | 303 void assertNoErrors() { |
304 // TODO(paulberry): implement assertNoErrors | 304 // TODO(paulberry): implement assertNoErrors |
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
950 } | 950 } |
951 | 951 |
952 @override | 952 @override |
953 @failingTest | 953 @failingTest |
954 void test_parsePartOfDirective_uri() { | 954 void test_parsePartOfDirective_uri() { |
955 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by | 955 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by |
956 // Fasta. | 956 // Fasta. |
957 super.test_parsePartOfDirective_uri(); | 957 super.test_parsePartOfDirective_uri(); |
958 } | 958 } |
959 } | 959 } |
OLD | NEW |