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

Unified Diff: pkg/analyzer/lib/dart/element/element.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 | « pkg/analyzer/lib/dart/ast/ast_factory.dart ('k') | pkg/analyzer/lib/src/cancelable_future.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/dart/element/element.dart
diff --git a/pkg/analyzer/lib/dart/element/element.dart b/pkg/analyzer/lib/dart/element/element.dart
index b348a15d9f416dfd9b12ea05c4bc511bc4f4e25f..0d35ba35a62f6f583d65196aadc3d4f0d6ad85ea 100644
--- a/pkg/analyzer/lib/dart/element/element.dart
+++ b/pkg/analyzer/lib/dart/element/element.dart
@@ -724,7 +724,7 @@ abstract class Element implements AnalysisTarget, ResolutionTarget {
* Use the given [visitor] to visit this element. Return the value returned by
* the visitor as a result of visiting this element.
*/
- /*=T*/ accept/*<T>*/(ElementVisitor<dynamic/*=T*/ > visitor);
+ T accept<T>(ElementVisitor<T> visitor);
/**
* Return the documentation comment for this element as it appears in the
@@ -758,8 +758,7 @@ abstract class Element implements AnalysisTarget, ResolutionTarget {
* [predicate] returns `true`, or `null` if there is no such ancestor. Note
* that this element will never be returned.
*/
- Element/*=E*/ getAncestor/*<E extends Element >*/(
- Predicate<Element> predicate);
+ E getAncestor<E extends Element>(Predicate<Element> predicate);
/**
* Return a display name for the given element that includes the path to the
« no previous file with comments | « pkg/analyzer/lib/dart/ast/ast_factory.dart ('k') | pkg/analyzer/lib/src/cancelable_future.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698