ActionPatch
dotty.tools.dotc.rewrites.Rewrites.ActionPatch
A special type of Patch that instead of just a span, contains the full SourcePosition. This is useful when being used by dotty.tools.dotc.reporting.CodeAction or if the patch doesn't belong to the same file that the actual issue it's addressing is in.
Value parameters
- replacement
-
The Replacement that should go in that position.
- srcPos
-
The SourcePosition of the patch.
Attributes
- Graph
-
- Supertypes
Members list
In this article