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

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

Issue 2706343002: Implement handleQualified with 1 dot. (Closed)
Patch Set: 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
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 627 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 638
639 @override 639 @override
640 @failingTest 640 @failingTest
641 void test_parseFormalParameterList_positional_trailing_comma() { 641 void test_parseFormalParameterList_positional_trailing_comma() {
642 // TODO(scheglov): Unhandled event: OptionalFormalParameters 642 // TODO(scheglov): Unhandled event: OptionalFormalParameters
643 super.test_parseFormalParameterList_positional_trailing_comma(); 643 super.test_parseFormalParameterList_positional_trailing_comma();
644 } 644 }
645 645
646 @override 646 @override
647 @failingTest 647 @failingTest
648 void test_parseFormalParameterList_prefixedType() {
649 // TODO(scheglov): Unhandled event: Qualified
650 super.test_parseFormalParameterList_prefixedType();
651 }
652
653 @override
654 @failingTest
655 void test_parseFormalParameterList_prefixedType_partial() { 648 void test_parseFormalParameterList_prefixedType_partial() {
656 // TODO(scheglov): Unimplemented: errors 649 // TODO(scheglov): Unimplemented: errors
657 super.test_parseFormalParameterList_prefixedType_partial(); 650 super.test_parseFormalParameterList_prefixedType_partial();
658 } 651 }
659 652
660 @override 653 @override
661 @failingTest 654 @failingTest
662 void test_parseFormalParameterList_prefixedType_partial2() { 655 void test_parseFormalParameterList_prefixedType_partial2() {
663 // TODO(scheglov): Unimplemented: errors 656 // TODO(scheglov): Unimplemented: errors
664 super.test_parseFormalParameterList_prefixedType_partial2(); 657 super.test_parseFormalParameterList_prefixedType_partial2();
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 @override 1005 @override
1013 @failingTest 1006 @failingTest
1014 void test_parseClassDeclaration_typeAlias_withB() { 1007 void test_parseClassDeclaration_typeAlias_withB() {
1015 // TODO(paulberry,ahe): capture `with` token. 1008 // TODO(paulberry,ahe): capture `with` token.
1016 super.test_parseClassDeclaration_typeAlias_withB(); 1009 super.test_parseClassDeclaration_typeAlias_withB();
1017 } 1010 }
1018 1011
1019 @override 1012 @override
1020 @failingTest 1013 @failingTest
1021 void test_parseCompilationUnit_abstractAsPrefix_parameterized() { 1014 void test_parseCompilationUnit_abstractAsPrefix_parameterized() {
1022 // TODO(paulberry): Unhandled event: Qualified 1015 // TODO(paulberry): Unhandled event: ConstructorReference
1023 super.test_parseCompilationUnit_abstractAsPrefix_parameterized(); 1016 super.test_parseCompilationUnit_abstractAsPrefix_parameterized();
1024 } 1017 }
1025 1018
1026 @override 1019 @override
1027 @failingTest 1020 @failingTest
1028 void test_parseCompilationUnit_builtIn_asFunctionName() { 1021 void test_parseCompilationUnit_builtIn_asFunctionName() {
1029 // TODO(paulberry,ahe): Fasta's parser is confused when one of the built-in 1022 // TODO(paulberry,ahe): Fasta's parser is confused when one of the built-in
1030 // identifiers `export`, `import`, `library`, `part`, or `typedef` appears 1023 // identifiers `export`, `import`, `library`, `part`, or `typedef` appears
1031 // as the name of a top level function with an implicit return type. 1024 // as the name of a top level function with an implicit return type.
1032 super.test_parseCompilationUnit_builtIn_asFunctionName(); 1025 super.test_parseCompilationUnit_builtIn_asFunctionName();
(...skipping 16 matching lines...) Expand all
1049 @override 1042 @override
1050 @failingTest 1043 @failingTest
1051 void test_parseCompilationUnit_exportAsPrefix_parameterized() { 1044 void test_parseCompilationUnit_exportAsPrefix_parameterized() {
1052 // TODO(paulberry): Unhandled event: TypeArguments 1045 // TODO(paulberry): Unhandled event: TypeArguments
1053 super.test_parseCompilationUnit_exportAsPrefix_parameterized(); 1046 super.test_parseCompilationUnit_exportAsPrefix_parameterized();
1054 } 1047 }
1055 1048
1056 @override 1049 @override
1057 @failingTest 1050 @failingTest
1058 void test_parseCompilationUnit_operatorAsPrefix_parameterized() { 1051 void test_parseCompilationUnit_operatorAsPrefix_parameterized() {
1059 // TODO(paulberry): Unhandled event: Qualified 1052 // TODO(paulberry): Unhandled event: ConstructorReference
1060 super.test_parseCompilationUnit_operatorAsPrefix_parameterized(); 1053 super.test_parseCompilationUnit_operatorAsPrefix_parameterized();
1061 } 1054 }
1062 1055
1063 @override 1056 @override
1064 @failingTest 1057 @failingTest
1065 void test_parseCompilationUnit_script() { 1058 void test_parseCompilationUnit_script() {
1066 // TODO(paulberry): No objects placed on stack 1059 // TODO(paulberry): No objects placed on stack
1067 super.test_parseCompilationUnit_script(); 1060 super.test_parseCompilationUnit_script();
1068 } 1061 }
1069 1062
1070 @override 1063 @override
1071 @failingTest 1064 @failingTest
1072 void test_parseCompilationUnit_typedefAsPrefix() { 1065 void test_parseCompilationUnit_typedefAsPrefix() {
1073 // TODO(paulberry): TODO(paulberry,ahe): Fasta parser doesn't appear to hand le this case correctly. 1066 // TODO(paulberry): TODO(paulberry,ahe): Fasta parser doesn't appear to hand le this case correctly.
1074 super.test_parseCompilationUnit_typedefAsPrefix(); 1067 super.test_parseCompilationUnit_typedefAsPrefix();
1075 } 1068 }
1076 1069
1077 @override 1070 @override
1078 @failingTest 1071 @failingTest
1079 void test_parseCompilationUnitMember_abstractAsPrefix() { 1072 void test_parseCompilationUnitMember_abstractAsPrefix() {
1080 // TODO(paulberry): Unhandled event: Qualified 1073 // TODO(paulberry): Unhandled event: ConstructorReference
1081 super.test_parseCompilationUnitMember_abstractAsPrefix(); 1074 super.test_parseCompilationUnitMember_abstractAsPrefix();
1082 } 1075 }
1083 1076
1084 @override 1077 @override
1085 @failingTest 1078 @failingTest
1086 void test_parseCompilationUnitMember_classTypeAlias() { 1079 void test_parseCompilationUnitMember_classTypeAlias() {
1087 // TODO(paulberry): Implement AstBuilder.handleModifier 1080 // TODO(paulberry): Implement AstBuilder.handleModifier
1088 super.test_parseCompilationUnitMember_classTypeAlias(); 1081 super.test_parseCompilationUnitMember_classTypeAlias();
1089 } 1082 }
1090 1083
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() { 1332 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() {
1340 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType(); 1333 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType();
1341 } 1334 }
1342 1335
1343 @override 1336 @override
1344 @failingTest 1337 @failingTest
1345 void test_parseTypeAlias_genericFunction_voidReturnType() { 1338 void test_parseTypeAlias_genericFunction_voidReturnType() {
1346 super.test_parseTypeAlias_genericFunction_voidReturnType(); 1339 super.test_parseTypeAlias_genericFunction_voidReturnType();
1347 } 1340 }
1348 } 1341 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698