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

Unified Diff: pkg/analysis_server/lib/analysis/navigation_core.dart

Issue 1335113004: Improve the documentation of extension points (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Minor clean-up Created 5 years, 3 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
Index: pkg/analysis_server/lib/analysis/navigation_core.dart
diff --git a/pkg/analysis_server/lib/analysis/navigation_core.dart b/pkg/analysis_server/lib/analysis/navigation_core.dart
index 528d1cea18d85d8d3df87c39656766304558c373..e2f56f872279d8cc8301bd0a6b06104417a741c8 100644
--- a/pkg/analysis_server/lib/analysis/navigation_core.dart
+++ b/pkg/analysis_server/lib/analysis/navigation_core.dart
@@ -16,9 +16,9 @@ import 'package:analyzer/src/generated/source.dart' show Source;
*/
abstract class NavigationContributor {
/**
- * Contribute navigation regions for a part of the given [source] into the
- * given [collector]. The part is specified by the [offset] and [length].
- * The [context] can be used to get analysis results.
+ * Contribute navigation regions for a subset of the content of the given
+ * [source] into the given [collector]. The subset is specified by the
+ * [offset] and [length]. The [context] can be used to access analysis results.
*/
void computeNavigation(NavigationCollector collector, AnalysisContext context,
Source source, int offset, int length);
@@ -33,7 +33,7 @@ abstract class NavigationContributor {
abstract class NavigationCollector {
/**
* Record a new navigation region with the given [offset] and [length] that
- * should navigation to the given [targetLocation].
+ * should navigate to the given [targetLocation].
*/
void addRegion(
int offset, int length, ElementKind targetKind, Location targetLocation);
« no previous file with comments | « pkg/analysis_server/lib/analysis/analysis_domain.dart ('k') | pkg/analysis_server/lib/edit/assist/assist_dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698