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

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

Issue 2948393002: Clean up type parameters in comments (Closed)
Patch Set: Created 3 years, 6 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 | « pkg/analyzer/lib/src/dart/ast/ast.dart ('k') | pkg/analyzer/lib/src/dart/ast/utilities.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) 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 import 'package:meta/meta.dart'; 10 import 'package:meta/meta.dart';
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 @override 729 @override
730 NativeClause nativeClause(Token nativeKeyword, StringLiteral name) => 730 NativeClause nativeClause(Token nativeKeyword, StringLiteral name) =>
731 new NativeClauseImpl(nativeKeyword, name); 731 new NativeClauseImpl(nativeKeyword, name);
732 732
733 @override 733 @override
734 NativeFunctionBody nativeFunctionBody( 734 NativeFunctionBody nativeFunctionBody(
735 Token nativeKeyword, StringLiteral stringLiteral, Token semicolon) => 735 Token nativeKeyword, StringLiteral stringLiteral, Token semicolon) =>
736 new NativeFunctionBodyImpl(nativeKeyword, stringLiteral, semicolon); 736 new NativeFunctionBodyImpl(nativeKeyword, stringLiteral, semicolon);
737 737
738 @override 738 @override
739 NodeList/*<E>*/ nodeList/*<E extends AstNode>*/(AstNode owner, 739 NodeList<E> nodeList<E extends AstNode>(AstNode owner, [List<E> elements]) =>
740 [List/*<E>*/ elements]) => 740 new NodeListImpl<E>(owner as AstNodeImpl, elements);
741 new NodeListImpl/*<E>*/(owner as AstNodeImpl, elements);
742 741
743 @override 742 @override
744 NullLiteral nullLiteral(Token literal) => new NullLiteralImpl(literal); 743 NullLiteral nullLiteral(Token literal) => new NullLiteralImpl(literal);
745 744
746 @override 745 @override
747 ParenthesizedExpression parenthesizedExpression(Token leftParenthesis, 746 ParenthesizedExpression parenthesizedExpression(Token leftParenthesis,
748 Expression expression, Token rightParenthesis) => 747 Expression expression, Token rightParenthesis) =>
749 new ParenthesizedExpressionImpl( 748 new ParenthesizedExpressionImpl(
750 leftParenthesis, expression, rightParenthesis); 749 leftParenthesis, expression, rightParenthesis);
751 750
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
961 960
962 @override 961 @override
963 WithClause withClause(Token withKeyword, List<TypeName> mixinTypes) => 962 WithClause withClause(Token withKeyword, List<TypeName> mixinTypes) =>
964 new WithClauseImpl(withKeyword, mixinTypes); 963 new WithClauseImpl(withKeyword, mixinTypes);
965 964
966 @override 965 @override
967 YieldStatement yieldStatement(Token yieldKeyword, Token star, 966 YieldStatement yieldStatement(Token yieldKeyword, Token star,
968 Expression expression, Token semicolon) => 967 Expression expression, Token semicolon) =>
969 new YieldStatementImpl(yieldKeyword, star, expression, semicolon); 968 new YieldStatementImpl(yieldKeyword, star, expression, semicolon);
970 } 969 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/ast/ast.dart ('k') | pkg/analyzer/lib/src/dart/ast/utilities.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698