x/tools/cmd/eg: allow multiple refactorings in a single template #10143
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
While working on
Node
refactoring leading up to CL 7360, I found myself applying 8 different templates (one per relevant field) sequentially. It would be nicer to use--and I think faster to execute--to apply them all in a single pass.The template could look like a sequence of alternating pairs of
before
andafter
:The semantics would be that the output would be equivalent to applying each of the pairs sequentially as a template.
Thoughts? I'm happy to help with implementation.
The text was updated successfully, but these errors were encountered: