| 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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 } | 369 } |
| 370 | 370 |
| 371 @override | 371 @override |
| 372 @failingTest | 372 @failingTest |
| 373 void test_parseCascadeSection_ii_typeArgumentComments() { | 373 void test_parseCascadeSection_ii_typeArgumentComments() { |
| 374 super.test_parseCascadeSection_ii_typeArgumentComments(); | 374 super.test_parseCascadeSection_ii_typeArgumentComments(); |
| 375 } | 375 } |
| 376 | 376 |
| 377 @override | 377 @override |
| 378 @failingTest | 378 @failingTest |
| 379 void test_parseCascadeSection_p_assign_withCascade() { | |
| 380 super.test_parseCascadeSection_p_assign_withCascade(); | |
| 381 } | |
| 382 | |
| 383 @override | |
| 384 @failingTest | |
| 385 void test_parseCascadeSection_p_assign_withCascade_typeArgumentComments() { | 379 void test_parseCascadeSection_p_assign_withCascade_typeArgumentComments() { |
| 386 super.test_parseCascadeSection_p_assign_withCascade_typeArgumentComments(); | 380 super.test_parseCascadeSection_p_assign_withCascade_typeArgumentComments(); |
| 387 } | 381 } |
| 388 | 382 |
| 389 @override | 383 @override |
| 390 @failingTest | 384 @failingTest |
| 391 void test_parseCascadeSection_p_assign_withCascade_typeArguments() { | |
| 392 super.test_parseCascadeSection_p_assign_withCascade_typeArguments(); | |
| 393 } | |
| 394 | |
| 395 @override | |
| 396 @failingTest | |
| 397 void test_parseCascadeSection_pa_typeArgumentComments() { | 385 void test_parseCascadeSection_pa_typeArgumentComments() { |
| 398 super.test_parseCascadeSection_pa_typeArgumentComments(); | 386 super.test_parseCascadeSection_pa_typeArgumentComments(); |
| 399 } | 387 } |
| 400 | 388 |
| 401 @override | 389 @override |
| 402 @failingTest | 390 @failingTest |
| 403 void test_parseCascadeSection_paa_typeArgumentComments() { | 391 void test_parseCascadeSection_paa_typeArgumentComments() { |
| 404 super.test_parseCascadeSection_paa_typeArgumentComments(); | 392 super.test_parseCascadeSection_paa_typeArgumentComments(); |
| 405 } | 393 } |
| 406 | 394 |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 761 } | 749 } |
| 762 | 750 |
| 763 @override | 751 @override |
| 764 Expression parseBitwiseXorExpression(String code) { | 752 Expression parseBitwiseXorExpression(String code) { |
| 765 return _parseExpression(code); | 753 return _parseExpression(code); |
| 766 } | 754 } |
| 767 | 755 |
| 768 @override | 756 @override |
| 769 Expression parseCascadeSection(String code) { | 757 Expression parseCascadeSection(String code) { |
| 770 var cascadeExpression = _parseExpression('null$code') as CascadeExpression; | 758 var cascadeExpression = _parseExpression('null$code') as CascadeExpression; |
| 771 return cascadeExpression.cascadeSections.single; | 759 return cascadeExpression.cascadeSections.first; |
| 772 } | 760 } |
| 773 | 761 |
| 774 @override | 762 @override |
| 775 CompilationUnit parseCompilationUnit(String source, | 763 CompilationUnit parseCompilationUnit(String source, |
| 776 [List<ErrorCode> errorCodes = const <ErrorCode>[]]) { | 764 [List<ErrorCode> errorCodes = const <ErrorCode>[]]) { |
| 777 return _runParser(source, (parser) => parser.parseUnit, errorCodes) | 765 return _runParser(source, (parser) => parser.parseUnit, errorCodes) |
| 778 as CompilationUnit; | 766 as CompilationUnit; |
| 779 } | 767 } |
| 780 | 768 |
| 781 @override | 769 @override |
| (...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1512 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() { | 1500 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() { |
| 1513 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType(); | 1501 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType(); |
| 1514 } | 1502 } |
| 1515 | 1503 |
| 1516 @override | 1504 @override |
| 1517 @failingTest | 1505 @failingTest |
| 1518 void test_parseTypeAlias_genericFunction_voidReturnType() { | 1506 void test_parseTypeAlias_genericFunction_voidReturnType() { |
| 1519 super.test_parseTypeAlias_genericFunction_voidReturnType(); | 1507 super.test_parseTypeAlias_genericFunction_voidReturnType(); |
| 1520 } | 1508 } |
| 1521 } | 1509 } |
| OLD | NEW |