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/generated/parser.dart' as analyzer; | 9 import 'package:analyzer/src/generated/parser.dart' as analyzer; |
10 import 'package:analyzer/src/generated/utilities_dart.dart'; | 10 import 'package:analyzer/src/generated/utilities_dart.dart'; |
(...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1325 | 1325 |
1326 @override | 1326 @override |
1327 @failingTest | 1327 @failingTest |
1328 void test_parseCompilationUnit_typedefAsPrefix() { | 1328 void test_parseCompilationUnit_typedefAsPrefix() { |
1329 // TODO(paulberry): As of commit 5de9108 this syntax is invalid. | 1329 // TODO(paulberry): As of commit 5de9108 this syntax is invalid. |
1330 super.test_parseCompilationUnit_typedefAsPrefix(); | 1330 super.test_parseCompilationUnit_typedefAsPrefix(); |
1331 } | 1331 } |
1332 | 1332 |
1333 @override | 1333 @override |
1334 @failingTest | 1334 @failingTest |
1335 void | |
1336 test_parseCompilationUnitMember_function_generic_noReturnType_annotated()
{ | |
1337 // TODO(paulberry,ahe): Fasta doesn't appear to support annotated type | |
1338 // parameters. | |
1339 super | |
1340 .test_parseCompilationUnitMember_function_generic_noReturnType_annotated
(); | |
1341 } | |
1342 | |
1343 @override | |
1344 @failingTest | |
1345 void test_parseDirectives_mixed() { | 1335 void test_parseDirectives_mixed() { |
1346 // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to | 1336 // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to |
1347 // stop parsing as soon as the first non-directive is encountered; this is | 1337 // stop parsing as soon as the first non-directive is encountered; this is |
1348 // useful for quickly traversing an import graph. Consider adding a similar | 1338 // useful for quickly traversing an import graph. Consider adding a similar |
1349 // ability to Fasta's parser. | 1339 // ability to Fasta's parser. |
1350 super.test_parseDirectives_mixed(); | 1340 super.test_parseDirectives_mixed(); |
1351 } | 1341 } |
1352 | 1342 |
1353 @override | 1343 @override |
1354 @failingTest | 1344 @failingTest |
(...skipping 14 matching lines...) Expand all Loading... |
1369 } | 1359 } |
1370 | 1360 |
1371 @override | 1361 @override |
1372 @failingTest | 1362 @failingTest |
1373 void test_parsePartOfDirective_uri() { | 1363 void test_parsePartOfDirective_uri() { |
1374 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by | 1364 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by |
1375 // Fasta. | 1365 // Fasta. |
1376 super.test_parsePartOfDirective_uri(); | 1366 super.test_parsePartOfDirective_uri(); |
1377 } | 1367 } |
1378 } | 1368 } |
OLD | NEW |