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

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

Issue 2770033002: Parse FunctionDeclarationStatement(s) with Fasta. (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
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/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/fasta/ast_builder.dart'; 9 import 'package:analyzer/src/fasta/ast_builder.dart';
10 import 'package:analyzer/src/fasta/element_store.dart'; 10 import 'package:analyzer/src/fasta/element_store.dart';
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after
1100 } 1100 }
1101 1101
1102 @override 1102 @override
1103 @failingTest 1103 @failingTest
1104 void test_parseForStatement_loop_i_withMetadata() { 1104 void test_parseForStatement_loop_i_withMetadata() {
1105 super.test_parseForStatement_loop_i_withMetadata(); 1105 super.test_parseForStatement_loop_i_withMetadata();
1106 } 1106 }
1107 1107
1108 @override 1108 @override
1109 @failingTest 1109 @failingTest
1110 void test_parseFunctionDeclarationStatement_typeParameterComments() {
1111 // TODO(scheglov): Fasta doesn't support generic comment syntax.
1112 super.test_parseFunctionDeclarationStatement_typeParameterComments();
1113 }
1114
1115 @override
1116 @failingTest
1110 void test_parseNonLabeledStatement_functionDeclaration() { 1117 void test_parseNonLabeledStatement_functionDeclaration() {
1111 super.test_parseNonLabeledStatement_functionDeclaration(); 1118 super.test_parseNonLabeledStatement_functionDeclaration();
1112 } 1119 }
1113 1120
1114 @override 1121 @override
1115 @failingTest 1122 @failingTest
1116 void test_parseNonLabeledStatement_functionDeclaration_arguments() { 1123 void test_parseNonLabeledStatement_functionDeclaration_arguments() {
1117 super.test_parseNonLabeledStatement_functionDeclaration_arguments(); 1124 super.test_parseNonLabeledStatement_functionDeclaration_arguments();
1118 } 1125 }
1119 1126
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
1294 } 1301 }
1295 1302
1296 @override 1303 @override
1297 @failingTest 1304 @failingTest
1298 void test_parsePartOfDirective_uri() { 1305 void test_parsePartOfDirective_uri() {
1299 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by 1306 // TODO(paulberry,ahe): URIs in "part of" declarations are not supported by
1300 // Fasta. 1307 // Fasta.
1301 super.test_parsePartOfDirective_uri(); 1308 super.test_parsePartOfDirective_uri();
1302 } 1309 }
1303 } 1310 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/fasta/ast_builder.dart ('k') | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698