Skip to main content

Module move_

Module move_ 

Source
Expand description

MoveConverter: Converts MoveItem MutationSpec to MoveItemMutation

Handles cross-file move operations via ASTRegistry:

  • Remove item from source module
  • Register item at target module
  • Optionally add use statement in source

§V2 Implementation

MoveItem operates on SymbolPath (not file paths), making it fully compatible with the V2 ASTRegistry-based approach. FileDumper determines output files from the SymbolPath after the move operation.

Structs§

MoveConverter
Converter for MoveItem MutationSpec