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

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

Issue 2717233004: Extract ExpressionParserText from SimpleParserTest. (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/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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 @override 624 @override
625 set enableGenericMethodComments(bool value) { 625 set enableGenericMethodComments(bool value) {
626 if (value == true) { 626 if (value == true) {
627 // TODO(paulberry,ahe): generic method comment syntax is not supported by 627 // TODO(paulberry,ahe): generic method comment syntax is not supported by
628 // Fasta. 628 // Fasta.
629 throw new UnimplementedError(); 629 throw new UnimplementedError();
630 } 630 }
631 } 631 }
632 632
633 @override 633 @override
634 set enableLazyAssignmentOperators(bool value) {
635 // TODO: implement enableLazyAssignmentOperators
636 if (value == true) {
637 throw new UnimplementedError();
638 }
639 }
640
641 @override
634 set enableNnbd(bool value) { 642 set enableNnbd(bool value) {
635 if (value == true) { 643 if (value == true) {
636 // TODO(paulberry,ahe): non-null-by-default syntax is not supported by 644 // TODO(paulberry,ahe): non-null-by-default syntax is not supported by
637 // Fasta. 645 // Fasta.
638 throw new UnimplementedError(); 646 throw new UnimplementedError();
639 } 647 }
640 } 648 }
641 649
642 @override 650 @override
643 set enableUriInPartOf(bool value) { 651 set enableUriInPartOf(bool value) {
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() { 1330 void test_parseTypeAlias_genericFunction_typeParameters_voidReturnType() {
1323 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType(); 1331 super.test_parseTypeAlias_genericFunction_typeParameters_voidReturnType();
1324 } 1332 }
1325 1333
1326 @override 1334 @override
1327 @failingTest 1335 @failingTest
1328 void test_parseTypeAlias_genericFunction_voidReturnType() { 1336 void test_parseTypeAlias_genericFunction_voidReturnType() {
1329 super.test_parseTypeAlias_genericFunction_voidReturnType(); 1337 super.test_parseTypeAlias_genericFunction_voidReturnType();
1330 } 1338 }
1331 } 1339 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/parser_test.dart » ('j') | pkg/analyzer/test/generated/parser_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698