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

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

Issue 2715203003: Support for function typed formal parameters. (Closed)
Patch Set: Created 3 years, 9 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/lib/src/fasta/analyzer/ast_builder.dart » ('j') | no next file with comments »
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 802 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 813
814 @override 814 @override
815 @failingTest 815 @failingTest
816 void test_parseNormalFormalParameter_field_function_noNested() { 816 void test_parseNormalFormalParameter_field_function_noNested() {
817 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter 817 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter
818 super.test_parseNormalFormalParameter_field_function_noNested(); 818 super.test_parseNormalFormalParameter_field_function_noNested();
819 } 819 }
820 820
821 @override 821 @override
822 @failingTest 822 @failingTest
823 void test_parseNormalFormalParameter_function_noType() {
824 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter
825 super.test_parseNormalFormalParameter_function_noType();
826 }
827
828 @override
829 @failingTest
830 void test_parseNormalFormalParameter_function_noType_nullable() { 823 void test_parseNormalFormalParameter_function_noType_nullable() {
831 // TODO(scheglov): Not implemented: Nnbd 824 // TODO(scheglov): Not implemented: Nnbd
832 super.test_parseNormalFormalParameter_function_noType_nullable(); 825 super.test_parseNormalFormalParameter_function_noType_nullable();
833 } 826 }
834 827
835 @override 828 @override
836 @failingTest 829 @failingTest
837 void test_parseNormalFormalParameter_function_noType_typeParameterComments() { 830 void test_parseNormalFormalParameter_function_noType_typeParameterComments() {
838 // TODO(scheglov): Not implemented: enableGenericMethodComments= 831 // TODO(scheglov): Not implemented: enableGenericMethodComments=
839 super 832 super
840 .test_parseNormalFormalParameter_function_noType_typeParameterComments() ; 833 .test_parseNormalFormalParameter_function_noType_typeParameterComments() ;
841 } 834 }
842 835
843 @override 836 @override
844 @failingTest 837 @failingTest
845 void test_parseNormalFormalParameter_function_noType_typeParameters() {
846 // TODO(scheglov): Unhandled event: TypeVariable
847 super.test_parseNormalFormalParameter_function_noType_typeParameters();
848 }
849
850 @override
851 @failingTest
852 void 838 void
853 test_parseNormalFormalParameter_function_noType_typeParameters_nullable() { 839 test_parseNormalFormalParameter_function_noType_typeParameters_nullable() {
854 // TODO(scheglov): Not implemented: Nnbd 840 // TODO(scheglov): Not implemented: Nnbd
855 super 841 super
856 .test_parseNormalFormalParameter_function_noType_typeParameters_nullable (); 842 .test_parseNormalFormalParameter_function_noType_typeParameters_nullable ();
857 } 843 }
858 844
859 @override 845 @override
860 @failingTest 846 @failingTest
861 void test_parseNormalFormalParameter_function_type() {
862 // TODO(scheglov): Unhandled event: FunctionTypedFormalParameter
863 super.test_parseNormalFormalParameter_function_type();
864 }
865
866 @override
867 @failingTest
868 void test_parseNormalFormalParameter_function_type_nullable() { 847 void test_parseNormalFormalParameter_function_type_nullable() {
869 // TODO(scheglov): Not implemented: Nnbd 848 // TODO(scheglov): Not implemented: Nnbd
870 super.test_parseNormalFormalParameter_function_type_nullable(); 849 super.test_parseNormalFormalParameter_function_type_nullable();
871 } 850 }
872 851
873 @override 852 @override
874 @failingTest 853 @failingTest
875 void test_parseNormalFormalParameter_function_type_typeParameterComments() { 854 void test_parseNormalFormalParameter_function_type_typeParameterComments() {
876 // TODO(scheglov): Not implemented: enableGenericMethodComments= 855 // TODO(scheglov): Not implemented: enableGenericMethodComments=
877 super.test_parseNormalFormalParameter_function_type_typeParameterComments(); 856 super.test_parseNormalFormalParameter_function_type_typeParameterComments();
878 } 857 }
879 858
880 @override 859 @override
881 @failingTest 860 @failingTest
882 void test_parseNormalFormalParameter_function_type_typeParameters() {
883 // TODO(scheglov): Unhandled event: TypeVariable
884 super.test_parseNormalFormalParameter_function_type_typeParameters();
885 }
886
887 @override
888 @failingTest
889 void test_parseNormalFormalParameter_function_type_typeParameters_nullable() { 861 void test_parseNormalFormalParameter_function_type_typeParameters_nullable() {
890 // TODO(scheglov): Not implemented: Nnbd 862 // TODO(scheglov): Not implemented: Nnbd
891 super 863 super
892 .test_parseNormalFormalParameter_function_type_typeParameters_nullable() ; 864 .test_parseNormalFormalParameter_function_type_typeParameters_nullable() ;
893 } 865 }
894 866
895 @override 867 @override
896 @failingTest 868 @failingTest
897 void test_parseNormalFormalParameter_function_void() {
898 // TODO(scheglov): Unhandled event: VoidKeyword
899 super.test_parseNormalFormalParameter_function_void();
900 }
901
902 @override
903 @failingTest
904 void test_parseNormalFormalParameter_function_void_nullable() { 869 void test_parseNormalFormalParameter_function_void_nullable() {
905 // TODO(scheglov): Not implemented: Nnbd 870 // TODO(scheglov): Not implemented: Nnbd
906 super.test_parseNormalFormalParameter_function_void_nullable(); 871 super.test_parseNormalFormalParameter_function_void_nullable();
907 } 872 }
908 873
909 @override 874 @override
910 @failingTest 875 @failingTest
911 void test_parseNormalFormalParameter_function_void_typeParameterComments() { 876 void test_parseNormalFormalParameter_function_void_typeParameterComments() {
912 // TODO(scheglov): Not implemented: enableGenericMethodComments= 877 // TODO(scheglov): Not implemented: enableGenericMethodComments=
913 super.test_parseNormalFormalParameter_function_void_typeParameterComments(); 878 super.test_parseNormalFormalParameter_function_void_typeParameterComments();
914 } 879 }
915 880
916 @override 881 @override
917 @failingTest 882 @failingTest
918 void test_parseNormalFormalParameter_function_void_typeParameters() {
919 // TODO(scheglov): Unhandled event: VoidKeyword
920 super.test_parseNormalFormalParameter_function_void_typeParameters();
921 }
922
923 @override
924 @failingTest
925 void test_parseNormalFormalParameter_function_void_typeParameters_nullable() { 883 void test_parseNormalFormalParameter_function_void_typeParameters_nullable() {
926 // TODO(scheglov): Not implemented: Nnbd 884 // TODO(scheglov): Not implemented: Nnbd
927 super 885 super
928 .test_parseNormalFormalParameter_function_void_typeParameters_nullable() ; 886 .test_parseNormalFormalParameter_function_void_typeParameters_nullable() ;
929 } 887 }
930 888
931 @override 889 @override
932 @failingTest 890 @failingTest
933 void test_parseNormalFormalParameter_simple_noName() { 891 void test_parseNormalFormalParameter_simple_noName() {
934 // TODO(scheglov): in function type, type instead of parameter name 892 // TODO(scheglov): in function type, type instead of parameter name
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() { 1280 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() {
1323 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType(); 1281 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType();
1324 } 1282 }
1325 1283
1326 @override 1284 @override
1327 @failingTest 1285 @failingTest
1328 void test_parseTypeAlias_genericFunction_voidReturnType() { 1286 void test_parseTypeAlias_genericFunction_voidReturnType() {
1329 super.test_parseTypeAlias_genericFunction_voidReturnType(); 1287 super.test_parseTypeAlias_genericFunction_voidReturnType();
1330 } 1288 }
1331 } 1289 }
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698