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

Unified Diff: pkg/analyzer/lib/dart/ast/ast.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analyzer/lib/dart/ast/ast_factory.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/dart/ast/ast.dart
diff --git a/pkg/analyzer/lib/dart/ast/ast.dart b/pkg/analyzer/lib/dart/ast/ast.dart
index 0c65f34f43dde396d0468335f0cf4fb3c4ccd347..2af93577cae0df7d451e3665f00b4493189ad75a 100644
--- a/pkg/analyzer/lib/dart/ast/ast.dart
+++ b/pkg/analyzer/lib/dart/ast/ast.dart
@@ -517,21 +517,20 @@ abstract class AstNode implements SyntacticEntity {
* Use the given [visitor] to visit this node. Return the value returned by
* the visitor as a result of visiting this node.
*/
- dynamic/*=E*/ accept/*<E>*/(AstVisitor/*<E>*/ visitor);
+ E accept<E>(AstVisitor<E> visitor);
/**
* Return the most immediate ancestor of this node for which the [predicate]
* returns `true`, or `null` if there is no such ancestor. Note that this node
* will never be returned.
*/
- AstNode/*=E*/ getAncestor/*<E extends AstNode>*/(
- Predicate<AstNode> predicate);
+ E getAncestor<E extends AstNode>(Predicate<AstNode> predicate);
/**
* Return the value of the property with the given [name], or `null` if this
* node does not have a property with the given name.
*/
- Object/*=E*/ getProperty/*<E>*/(String name);
+ E getProperty<E>(String name);
/**
* Set the value of the property with the given [name] to the given [value].
« no previous file with comments | « no previous file | pkg/analyzer/lib/dart/ast/ast_factory.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698