Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: pkg/analyzer/test/generated/parser_fasta_test.dart

Issue 2716433002: Add support for FieldFormalParameter. (Closed)
Patch Set: Rollback parser changes. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pkg/front_end/front_end.iml » ('j') | pkg/front_end/front_end.iml » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/element/element.dart'; 6 import 'package:analyzer/dart/element/element.dart';
7 import 'package:analyzer/error/error.dart'; 7 import 'package:analyzer/error/error.dart';
8 import 'package:analyzer/src/generated/parser.dart' as analyzer; 8 import 'package:analyzer/src/generated/parser.dart' as analyzer;
9 import 'package:analyzer/src/generated/utilities_dart.dart'; 9 import 'package:analyzer/src/generated/utilities_dart.dart';
10 import 'package:front_end/src/fasta/analyzer/ast_builder.dart'; 10 import 'package:front_end/src/fasta/analyzer/ast_builder.dart';
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 631
632 @override 632 @override
633 @failingTest 633 @failingTest
634 void test_parseFormalParameterList_prefixedType_partial2() { 634 void test_parseFormalParameterList_prefixedType_partial2() {
635 // TODO(scheglov): Unimplemented: errors 635 // TODO(scheglov): Unimplemented: errors
636 super.test_parseFormalParameterList_prefixedType_partial2(); 636 super.test_parseFormalParameterList_prefixedType_partial2();
637 } 637 }
638 638
639 @override 639 @override
640 @failingTest 640 @failingTest
641 void test_parseNormalFormalParameter_field_const_noType() {
642 // TODO(scheglov): 'this' can't be used here.
643 super.test_parseNormalFormalParameter_field_const_noType();
644 }
645
646 @override
647 @failingTest
648 void test_parseNormalFormalParameter_field_const_type() {
649 // TODO(scheglov): 'this' can't be used here.
650 super.test_parseNormalFormalParameter_field_const_type();
651 }
652
653 @override
654 @failingTest
655 void test_parseNormalFormalParameter_field_final_noType() {
656 // TODO(scheglov): 'this' can't be used here.
657 super.test_parseNormalFormalParameter_field_final_noType();
658 }
659
660 @override
661 @failingTest
662 void test_parseNormalFormalParameter_field_final_type() {
663 // TODO(scheglov): 'this' can't be used here.
664 super.test_parseNormalFormalParameter_field_final_type();
665 }
666
667 @override
668 @failingTest
669 void test_parseNormalFormalParameter_field_function_nested() { 641 void test_parseNormalFormalParameter_field_function_nested() {
670 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter 642 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter
671 super.test_parseNormalFormalParameter_field_function_nested(); 643 super.test_parseNormalFormalParameter_field_function_nested();
672 } 644 }
673 645
674 @override 646 @override
675 @failingTest 647 @failingTest
676 void test_parseNormalFormalParameter_field_function_noNested() { 648 void test_parseNormalFormalParameter_field_function_noNested() {
677 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter 649 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter
678 super.test_parseNormalFormalParameter_field_function_noNested(); 650 super.test_parseNormalFormalParameter_field_function_noNested();
679 } 651 }
680 652
681 @override 653 @override
682 @failingTest 654 @failingTest
683 void test_parseNormalFormalParameter_field_noType() {
684 // TODO(scheglov): 'this' can't be used here.
685 super.test_parseNormalFormalParameter_field_noType();
686 }
687
688 @override
689 @failingTest
690 void test_parseNormalFormalParameter_field_type() {
691 // TODO(scheglov): 'this' can't be used here.
692 super.test_parseNormalFormalParameter_field_type();
693 }
694
695 @override
696 @failingTest
697 void test_parseNormalFormalParameter_field_var() {
698 // TODO(scheglov): 'this' can't be used here.
699 super.test_parseNormalFormalParameter_field_var();
700 }
701
702 @override
703 @failingTest
704 void test_parseNormalFormalParameter_function_noType() { 655 void test_parseNormalFormalParameter_function_noType() {
705 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter 656 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter
706 super.test_parseNormalFormalParameter_function_noType(); 657 super.test_parseNormalFormalParameter_function_noType();
707 } 658 }
708 659
709 @override 660 @override
710 @failingTest 661 @failingTest
711 void test_parseNormalFormalParameter_function_noType_nullable() { 662 void test_parseNormalFormalParameter_function_noType_nullable() {
712 // TODO(scheglov): Not implemented: Nnbd 663 // TODO(scheglov): Not implemented: Nnbd
713 super.test_parseNormalFormalParameter_function_noType_nullable(); 664 super.test_parseNormalFormalParameter_function_noType_nullable();
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
1185 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() { 1136 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() {
1186 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType(); 1137 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType();
1187 } 1138 }
1188 1139
1189 @override 1140 @override
1190 @failingTest 1141 @failingTest
1191 void test_parseTypeAlias_genericFunction_voidReturnType() { 1142 void test_parseTypeAlias_genericFunction_voidReturnType() {
1192 super.test_parseTypeAlias_genericFunction_voidReturnType(); 1143 super.test_parseTypeAlias_genericFunction_voidReturnType();
1193 } 1144 }
1194 } 1145 }
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/front_end.iml » ('j') | pkg/front_end/front_end.iml » ('J')

Powered by Google App Engine
This is Rietveld 408576698