Skip to content

Commit d21fd1f

Browse files
pqCommit Queue
authored andcommitted
[PE] document registerFixForRule
Change-Id: Ie0f2f9bd85207ec6a25d881fbd8182c6506620f0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408884 Commit-Queue: Samuel Rawlins <[email protected]> Commit-Queue: Phil Quitslund <[email protected]> Auto-Submit: Phil Quitslund <[email protected]> Reviewed-by: Samuel Rawlins <[email protected]>
1 parent d950342 commit d21fd1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/analysis_server_plugin/lib/registry.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import 'package:analyzer/error/error.dart';
77
import 'package:analyzer/src/lint/linter.dart';
88

99
abstract class PluginRegistry {
10+
/// Register this fix [generator] for the given lint [code] with the
11+
/// analyzer's rule registry.
1012
void registerFixForRule(LintCode code, ProducerGenerator generator);
1113

1214
/// Register this [rule] with the analyzer's rule registry.

0 commit comments

Comments
 (0)