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

Side by Side Diff: pkg/analyzer/lib/src/dart/ast/ast_factory.dart

Issue 2624283003: Revert "Add support for generic function type syntax, part 1" (TBR) (Closed)
Patch Set: Created 3 years, 11 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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/ast_factory.dart'; 6 import 'package:analyzer/dart/ast/ast_factory.dart';
7 import 'package:analyzer/src/dart/ast/ast.dart'; 7 import 'package:analyzer/src/dart/ast/ast.dart';
8 import 'package:analyzer/src/generated/utilities_dart.dart'; 8 import 'package:analyzer/src/generated/utilities_dart.dart';
9 import 'package:front_end/src/scanner/token.dart'; 9 import 'package:front_end/src/scanner/token.dart';
10 10
(...skipping 11 matching lines...) Expand all
22 SimpleIdentifier constructorName, ArgumentList arguments) => 22 SimpleIdentifier constructorName, ArgumentList arguments) =>
23 new AnnotationImpl(atSign, name, period, constructorName, arguments); 23 new AnnotationImpl(atSign, name, period, constructorName, arguments);
24 24
25 @override 25 @override
26 ArgumentList argumentList(Token leftParenthesis, List<Expression> arguments, 26 ArgumentList argumentList(Token leftParenthesis, List<Expression> arguments,
27 Token rightParenthesis) => 27 Token rightParenthesis) =>
28 new ArgumentListImpl(leftParenthesis, arguments, rightParenthesis); 28 new ArgumentListImpl(leftParenthesis, arguments, rightParenthesis);
29 29
30 @override 30 @override
31 AsExpression asExpression( 31 AsExpression asExpression(
32 Expression expression, Token asOperator, TypeAnnotation type) => 32 Expression expression, Token asOperator, TypeName type) =>
33 new AsExpressionImpl(expression, asOperator, type); 33 new AsExpressionImpl(expression, asOperator, type);
34 34
35 @override 35 @override
36 AssertInitializer assertInitializer( 36 AssertInitializer assertInitializer(
37 Token assertKeyword, 37 Token assertKeyword,
38 Token leftParenthesis, 38 Token leftParenthesis,
39 Expression condition, 39 Expression condition,
40 Token comma, 40 Token comma,
41 Expression message, 41 Expression message,
42 Token rightParenthesis) => 42 Token rightParenthesis) =>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 new BreakStatementImpl(breakKeyword, label, semicolon); 91 new BreakStatementImpl(breakKeyword, label, semicolon);
92 92
93 @override 93 @override
94 CascadeExpression cascadeExpression( 94 CascadeExpression cascadeExpression(
95 Expression target, List<Expression> cascadeSections) => 95 Expression target, List<Expression> cascadeSections) =>
96 new CascadeExpressionImpl(target, cascadeSections); 96 new CascadeExpressionImpl(target, cascadeSections);
97 97
98 @override 98 @override
99 CatchClause catchClause( 99 CatchClause catchClause(
100 Token onKeyword, 100 Token onKeyword,
101 TypeAnnotation exceptionType, 101 TypeName exceptionType,
102 Token catchKeyword, 102 Token catchKeyword,
103 Token leftParenthesis, 103 Token leftParenthesis,
104 SimpleIdentifier exceptionParameter, 104 SimpleIdentifier exceptionParameter,
105 Token comma, 105 Token comma,
106 SimpleIdentifier stackTraceParameter, 106 SimpleIdentifier stackTraceParameter,
107 Token rightParenthesis, 107 Token rightParenthesis,
108 Block body) => 108 Block body) =>
109 new CatchClauseImpl( 109 new CatchClauseImpl(
110 onKeyword, 110 onKeyword,
111 exceptionType, 111 exceptionType,
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 @override 255 @override
256 ContinueStatement continueStatement( 256 ContinueStatement continueStatement(
257 Token continueKeyword, SimpleIdentifier label, Token semicolon) => 257 Token continueKeyword, SimpleIdentifier label, Token semicolon) =>
258 new ContinueStatementImpl(continueKeyword, label, semicolon); 258 new ContinueStatementImpl(continueKeyword, label, semicolon);
259 259
260 @override 260 @override
261 DeclaredIdentifier declaredIdentifier( 261 DeclaredIdentifier declaredIdentifier(
262 Comment comment, 262 Comment comment,
263 List<Annotation> metadata, 263 List<Annotation> metadata,
264 Token keyword, 264 Token keyword,
265 TypeAnnotation type, 265 TypeName type,
266 SimpleIdentifier identifier) => 266 SimpleIdentifier identifier) =>
267 new DeclaredIdentifierImpl(comment, metadata, keyword, type, identifier); 267 new DeclaredIdentifierImpl(comment, metadata, keyword, type, identifier);
268 268
269 @override 269 @override
270 DefaultFormalParameter defaultFormalParameter(NormalFormalParameter parameter, 270 DefaultFormalParameter defaultFormalParameter(NormalFormalParameter parameter,
271 ParameterKind kind, Token separator, Expression defaultValue) => 271 ParameterKind kind, Token separator, Expression defaultValue) =>
272 new DefaultFormalParameterImpl(parameter, kind, separator, defaultValue); 272 new DefaultFormalParameterImpl(parameter, kind, separator, defaultValue);
273 273
274 @override 274 @override
275 Comment documentationComment(List<Token> tokens, 275 Comment documentationComment(List<Token> tokens,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 VariableDeclarationList fieldList, 360 VariableDeclarationList fieldList,
361 Token semicolon) => 361 Token semicolon) =>
362 new FieldDeclarationImpl( 362 new FieldDeclarationImpl(
363 comment, metadata, staticKeyword, fieldList, semicolon); 363 comment, metadata, staticKeyword, fieldList, semicolon);
364 364
365 @override 365 @override
366 FieldFormalParameter fieldFormalParameter( 366 FieldFormalParameter fieldFormalParameter(
367 Comment comment, 367 Comment comment,
368 List<Annotation> metadata, 368 List<Annotation> metadata,
369 Token keyword, 369 Token keyword,
370 TypeAnnotation type, 370 TypeName type,
371 Token thisKeyword, 371 Token thisKeyword,
372 Token period, 372 Token period,
373 SimpleIdentifier identifier, 373 SimpleIdentifier identifier,
374 TypeParameterList typeParameters, 374 TypeParameterList typeParameters,
375 FormalParameterList parameters) => 375 FormalParameterList parameters) =>
376 new FieldFormalParameterImpl(comment, metadata, keyword, type, 376 new FieldFormalParameterImpl(comment, metadata, keyword, type,
377 thisKeyword, period, identifier, typeParameters, parameters); 377 thisKeyword, period, identifier, typeParameters, parameters);
378 378
379 @override 379 @override
380 ForEachStatement forEachStatementWithDeclaration( 380 ForEachStatement forEachStatementWithDeclaration(
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 rightSeparator, 448 rightSeparator,
449 updaters, 449 updaters,
450 rightParenthesis, 450 rightParenthesis,
451 body); 451 body);
452 452
453 @override 453 @override
454 FunctionDeclaration functionDeclaration( 454 FunctionDeclaration functionDeclaration(
455 Comment comment, 455 Comment comment,
456 List<Annotation> metadata, 456 List<Annotation> metadata,
457 Token externalKeyword, 457 Token externalKeyword,
458 TypeAnnotation returnType, 458 TypeName returnType,
459 Token propertyKeyword, 459 Token propertyKeyword,
460 SimpleIdentifier name, 460 SimpleIdentifier name,
461 FunctionExpression functionExpression) => 461 FunctionExpression functionExpression) =>
462 new FunctionDeclarationImpl(comment, metadata, externalKeyword, 462 new FunctionDeclarationImpl(comment, metadata, externalKeyword,
463 returnType, propertyKeyword, name, functionExpression); 463 returnType, propertyKeyword, name, functionExpression);
464 464
465 @override 465 @override
466 FunctionDeclarationStatement functionDeclarationStatement( 466 FunctionDeclarationStatement functionDeclarationStatement(
467 FunctionDeclaration functionDeclaration) => 467 FunctionDeclaration functionDeclaration) =>
468 new FunctionDeclarationStatementImpl(functionDeclaration); 468 new FunctionDeclarationStatementImpl(functionDeclaration);
469 469
470 @override 470 @override
471 FunctionExpression functionExpression(TypeParameterList typeParameters, 471 FunctionExpression functionExpression(TypeParameterList typeParameters,
472 FormalParameterList parameters, FunctionBody body) => 472 FormalParameterList parameters, FunctionBody body) =>
473 new FunctionExpressionImpl(typeParameters, parameters, body); 473 new FunctionExpressionImpl(typeParameters, parameters, body);
474 474
475 @override 475 @override
476 FunctionExpressionInvocation functionExpressionInvocation(Expression function, 476 FunctionExpressionInvocation functionExpressionInvocation(Expression function,
477 TypeArgumentList typeArguments, ArgumentList argumentList) => 477 TypeArgumentList typeArguments, ArgumentList argumentList) =>
478 new FunctionExpressionInvocationImpl( 478 new FunctionExpressionInvocationImpl(
479 function, typeArguments, argumentList); 479 function, typeArguments, argumentList);
480 480
481 @override 481 @override
482 FunctionTypeAlias functionTypeAlias( 482 FunctionTypeAlias functionTypeAlias(
483 Comment comment, 483 Comment comment,
484 List<Annotation> metadata, 484 List<Annotation> metadata,
485 Token keyword, 485 Token keyword,
486 TypeAnnotation returnType, 486 TypeName returnType,
487 SimpleIdentifier name, 487 SimpleIdentifier name,
488 TypeParameterList typeParameters, 488 TypeParameterList typeParameters,
489 FormalParameterList parameters, 489 FormalParameterList parameters,
490 Token semicolon) => 490 Token semicolon) =>
491 new FunctionTypeAliasImpl(comment, metadata, keyword, returnType, name, 491 new FunctionTypeAliasImpl(comment, metadata, keyword, returnType, name,
492 typeParameters, parameters, semicolon); 492 typeParameters, parameters, semicolon);
493 493
494 @override 494 @override
495 FunctionTypedFormalParameter functionTypedFormalParameter( 495 FunctionTypedFormalParameter functionTypedFormalParameter(
496 Comment comment, 496 Comment comment,
497 List<Annotation> metadata, 497 List<Annotation> metadata,
498 TypeAnnotation returnType, 498 TypeName returnType,
499 SimpleIdentifier identifier, 499 SimpleIdentifier identifier,
500 TypeParameterList typeParameters, 500 TypeParameterList typeParameters,
501 FormalParameterList parameters, 501 FormalParameterList parameters,
502 {Token question: null}) => 502 {Token question: null}) =>
503 new FunctionTypedFormalParameterImpl(comment, metadata, returnType, 503 new FunctionTypedFormalParameterImpl(comment, metadata, returnType,
504 identifier, typeParameters, parameters, question); 504 identifier, typeParameters, parameters, question);
505 505
506 @override 506 @override
507 GenericFunctionType genericFunctionType(
508 TypeAnnotation returnType,
509 Token functionKeyword,
510 TypeParameterList typeParameters,
511 FormalParameterList _parameters) =>
512 new GenericFunctionTypeImpl(
513 returnType, functionKeyword, typeParameters, _parameters);
514
515 @override
516 GenericTypeAlias genericTypeAlias(
517 Comment comment,
518 List<Annotation> metadata,
519 Token typedefKeyword,
520 SimpleIdentifier name,
521 TypeParameterList typeParameters,
522 Token equals,
523 GenericFunctionType functionType,
524 Token semicolon) =>
525 new GenericTypeAliasImpl(comment, metadata, typedefKeyword, name,
526 typeParameters, equals, functionType, semicolon);
527
528 @override
529 HideCombinator hideCombinator( 507 HideCombinator hideCombinator(
530 Token keyword, List<SimpleIdentifier> hiddenNames) => 508 Token keyword, List<SimpleIdentifier> hiddenNames) =>
531 new HideCombinatorImpl(keyword, hiddenNames); 509 new HideCombinatorImpl(keyword, hiddenNames);
532 510
533 @override 511 @override
534 IfStatement ifStatement( 512 IfStatement ifStatement(
535 Token ifKeyword, 513 Token ifKeyword,
536 Token leftParenthesis, 514 Token leftParenthesis,
537 Expression condition, 515 Expression condition,
538 Token rightParenthesis, 516 Token rightParenthesis,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 InterpolationExpression interpolationExpression( 575 InterpolationExpression interpolationExpression(
598 Token leftBracket, Expression expression, Token rightBracket) => 576 Token leftBracket, Expression expression, Token rightBracket) =>
599 new InterpolationExpressionImpl(leftBracket, expression, rightBracket); 577 new InterpolationExpressionImpl(leftBracket, expression, rightBracket);
600 578
601 @override 579 @override
602 InterpolationString interpolationString(Token contents, String value) => 580 InterpolationString interpolationString(Token contents, String value) =>
603 new InterpolationStringImpl(contents, value); 581 new InterpolationStringImpl(contents, value);
604 582
605 @override 583 @override
606 IsExpression isExpression(Expression expression, Token isOperator, 584 IsExpression isExpression(Expression expression, Token isOperator,
607 Token notOperator, TypeAnnotation type) => 585 Token notOperator, TypeName type) =>
608 new IsExpressionImpl(expression, isOperator, notOperator, type); 586 new IsExpressionImpl(expression, isOperator, notOperator, type);
609 587
610 @override 588 @override
611 Label label(SimpleIdentifier label, Token colon) => 589 Label label(SimpleIdentifier label, Token colon) =>
612 new LabelImpl(label, colon); 590 new LabelImpl(label, colon);
613 591
614 @override 592 @override
615 LabeledStatement labeledStatement(List<Label> labels, Statement statement) => 593 LabeledStatement labeledStatement(List<Label> labels, Statement statement) =>
616 new LabeledStatementImpl(labels, statement); 594 new LabeledStatementImpl(labels, statement);
617 595
(...skipping 27 matching lines...) Expand all
645 MapLiteralEntry mapLiteralEntry( 623 MapLiteralEntry mapLiteralEntry(
646 Expression key, Token separator, Expression value) => 624 Expression key, Token separator, Expression value) =>
647 new MapLiteralEntryImpl(key, separator, value); 625 new MapLiteralEntryImpl(key, separator, value);
648 626
649 @override 627 @override
650 MethodDeclaration methodDeclaration( 628 MethodDeclaration methodDeclaration(
651 Comment comment, 629 Comment comment,
652 List<Annotation> metadata, 630 List<Annotation> metadata,
653 Token externalKeyword, 631 Token externalKeyword,
654 Token modifierKeyword, 632 Token modifierKeyword,
655 TypeAnnotation returnType, 633 TypeName returnType,
656 Token propertyKeyword, 634 Token propertyKeyword,
657 Token operatorKeyword, 635 Token operatorKeyword,
658 SimpleIdentifier name, 636 SimpleIdentifier name,
659 TypeParameterList typeParameters, 637 TypeParameterList typeParameters,
660 FormalParameterList parameters, 638 FormalParameterList parameters,
661 FunctionBody body) => 639 FunctionBody body) =>
662 new MethodDeclarationImpl( 640 new MethodDeclarationImpl(
663 comment, 641 comment,
664 metadata, 642 metadata,
665 externalKeyword, 643 externalKeyword,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 @override 746 @override
769 ShowCombinator showCombinator( 747 ShowCombinator showCombinator(
770 Token keyword, List<SimpleIdentifier> shownNames) => 748 Token keyword, List<SimpleIdentifier> shownNames) =>
771 new ShowCombinatorImpl(keyword, shownNames); 749 new ShowCombinatorImpl(keyword, shownNames);
772 750
773 @override 751 @override
774 SimpleFormalParameter simpleFormalParameter( 752 SimpleFormalParameter simpleFormalParameter(
775 Comment comment, 753 Comment comment,
776 List<Annotation> metadata, 754 List<Annotation> metadata,
777 Token keyword, 755 Token keyword,
778 TypeAnnotation type, 756 TypeName type,
779 SimpleIdentifier identifier) => 757 SimpleIdentifier identifier) =>
780 new SimpleFormalParameterImpl( 758 new SimpleFormalParameterImpl(
781 comment, metadata, keyword, type, identifier); 759 comment, metadata, keyword, type, identifier);
782 760
783 @override 761 @override
784 SimpleIdentifier simpleIdentifier(Token token, {bool isDeclaration: false}) { 762 SimpleIdentifier simpleIdentifier(Token token, {bool isDeclaration: false}) {
785 if (isDeclaration) { 763 if (isDeclaration) {
786 return new DeclaredSimpleIdentifier(token); 764 return new DeclaredSimpleIdentifier(token);
787 } 765 }
788 return new SimpleIdentifierImpl(token); 766 return new SimpleIdentifierImpl(token);
(...skipping 13 matching lines...) Expand all
802 Token superKeyword, 780 Token superKeyword,
803 Token period, 781 Token period,
804 SimpleIdentifier constructorName, 782 SimpleIdentifier constructorName,
805 ArgumentList argumentList) => 783 ArgumentList argumentList) =>
806 new SuperConstructorInvocationImpl( 784 new SuperConstructorInvocationImpl(
807 superKeyword, period, constructorName, argumentList); 785 superKeyword, period, constructorName, argumentList);
808 786
809 @override 787 @override
810 SuperExpression superExpression(Token superKeyword) => 788 SuperExpression superExpression(Token superKeyword) =>
811 new SuperExpressionImpl(superKeyword); 789 new SuperExpressionImpl(superKeyword);
790
812 @override 791 @override
813 SwitchCase switchCase(List<Label> labels, Token keyword, 792 SwitchCase switchCase(List<Label> labels, Token keyword,
814 Expression expression, Token colon, List<Statement> statements) => 793 Expression expression, Token colon, List<Statement> statements) =>
815 new SwitchCaseImpl(labels, keyword, expression, colon, statements); 794 new SwitchCaseImpl(labels, keyword, expression, colon, statements);
816 795
817 @override 796 @override
818 SwitchDefault switchDefault(List<Label> labels, Token keyword, Token colon, 797 SwitchDefault switchDefault(List<Label> labels, Token keyword, Token colon,
819 List<Statement> statements) => 798 List<Statement> statements) =>
820 new SwitchDefaultImpl(labels, keyword, colon, statements); 799 new SwitchDefaultImpl(labels, keyword, colon, statements);
821
822 @override 800 @override
823 SwitchStatement switchStatement( 801 SwitchStatement switchStatement(
824 Token switchKeyword, 802 Token switchKeyword,
825 Token leftParenthesis, 803 Token leftParenthesis,
826 Expression expression, 804 Expression expression,
827 Token rightParenthesis, 805 Token rightParenthesis,
828 Token leftBracket, 806 Token leftBracket,
829 List<SwitchMember> members, 807 List<SwitchMember> members,
830 Token rightBracket) => 808 Token rightBracket) =>
831 new SwitchStatementImpl(switchKeyword, leftParenthesis, expression, 809 new SwitchStatementImpl(switchKeyword, leftParenthesis, expression,
(...skipping 24 matching lines...) Expand all
856 TryStatement tryStatement( 834 TryStatement tryStatement(
857 Token tryKeyword, 835 Token tryKeyword,
858 Block body, 836 Block body,
859 List<CatchClause> catchClauses, 837 List<CatchClause> catchClauses,
860 Token finallyKeyword, 838 Token finallyKeyword,
861 Block finallyBlock) => 839 Block finallyBlock) =>
862 new TryStatementImpl( 840 new TryStatementImpl(
863 tryKeyword, body, catchClauses, finallyKeyword, finallyBlock); 841 tryKeyword, body, catchClauses, finallyKeyword, finallyBlock);
864 842
865 @override 843 @override
866 TypeArgumentList typeArgumentList(Token leftBracket, 844 TypeArgumentList typeArgumentList(
867 List<TypeAnnotation> arguments, Token rightBracket) => 845 Token leftBracket, List<TypeName> arguments, Token rightBracket) =>
868 new TypeArgumentListImpl(leftBracket, arguments, rightBracket); 846 new TypeArgumentListImpl(leftBracket, arguments, rightBracket);
869 847
870 @override 848 @override
871 TypeName typeName(Identifier name, TypeArgumentList typeArguments, 849 TypeName typeName(Identifier name, TypeArgumentList typeArguments,
872 {Token question: null}) => 850 {Token question: null}) =>
873 new TypeNameImpl(name, typeArguments, question); 851 new TypeNameImpl(name, typeArguments, question);
874 852
875 @override 853 @override
876 TypeParameter typeParameter(Comment comment, List<Annotation> metadata, 854 TypeParameter typeParameter(Comment comment, List<Annotation> metadata,
877 SimpleIdentifier name, Token extendsKeyword, TypeAnnotation bound) => 855 SimpleIdentifier name, Token extendsKeyword, TypeName bound) =>
878 new TypeParameterImpl(comment, metadata, name, extendsKeyword, bound); 856 new TypeParameterImpl(comment, metadata, name, extendsKeyword, bound);
879 857
880 @override 858 @override
881 TypeParameterList typeParameterList(Token leftBracket, 859 TypeParameterList typeParameterList(Token leftBracket,
882 List<TypeParameter> typeParameters, Token rightBracket) => 860 List<TypeParameter> typeParameters, Token rightBracket) =>
883 new TypeParameterListImpl(leftBracket, typeParameters, rightBracket); 861 new TypeParameterListImpl(leftBracket, typeParameters, rightBracket);
884 862
885 @override 863 @override
886 VariableDeclaration variableDeclaration( 864 VariableDeclaration variableDeclaration(
887 SimpleIdentifier name, Token equals, Expression initializer) => 865 SimpleIdentifier name, Token equals, Expression initializer) =>
888 new VariableDeclarationImpl(name, equals, initializer); 866 new VariableDeclarationImpl(name, equals, initializer);
889 867
890 @override 868 @override
891 VariableDeclarationList variableDeclarationList( 869 VariableDeclarationList variableDeclarationList(
892 Comment comment, 870 Comment comment,
893 List<Annotation> metadata, 871 List<Annotation> metadata,
894 Token keyword, 872 Token keyword,
895 TypeAnnotation type, 873 TypeName type,
896 List<VariableDeclaration> variables) => 874 List<VariableDeclaration> variables) =>
897 new VariableDeclarationListImpl( 875 new VariableDeclarationListImpl(
898 comment, metadata, keyword, type, variables); 876 comment, metadata, keyword, type, variables);
899 877
900 @override 878 @override
901 VariableDeclarationStatement variableDeclarationStatement( 879 VariableDeclarationStatement variableDeclarationStatement(
902 VariableDeclarationList variableList, Token semicolon) => 880 VariableDeclarationList variableList, Token semicolon) =>
903 new VariableDeclarationStatementImpl(variableList, semicolon); 881 new VariableDeclarationStatementImpl(variableList, semicolon);
904 882
905 @override 883 @override
906 WhileStatement whileStatement(Token whileKeyword, Token leftParenthesis, 884 WhileStatement whileStatement(Token whileKeyword, Token leftParenthesis,
907 Expression condition, Token rightParenthesis, Statement body) => 885 Expression condition, Token rightParenthesis, Statement body) =>
908 new WhileStatementImpl( 886 new WhileStatementImpl(
909 whileKeyword, leftParenthesis, condition, rightParenthesis, body); 887 whileKeyword, leftParenthesis, condition, rightParenthesis, body);
910 888
911 @override 889 @override
912 WithClause withClause(Token withKeyword, List<TypeName> mixinTypes) => 890 WithClause withClause(Token withKeyword, List<TypeName> mixinTypes) =>
913 new WithClauseImpl(withKeyword, mixinTypes); 891 new WithClauseImpl(withKeyword, mixinTypes);
914 892
915 @override 893 @override
916 YieldStatement yieldStatement(Token yieldKeyword, Token star, 894 YieldStatement yieldStatement(Token yieldKeyword, Token star,
917 Expression expression, Token semicolon) => 895 Expression expression, Token semicolon) =>
918 new YieldStatementImpl(yieldKeyword, star, expression, semicolon); 896 new YieldStatementImpl(yieldKeyword, star, expression, semicolon);
919 } 897 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/ast/ast.dart ('k') | pkg/analyzer/lib/src/dart/ast/resolution_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698