There isn’t one to my knowledge that allows mutations of declaration bodies in place in the same file. That is actually usually not recommended as it throws off line numbers and makes the editor out of sync with the compiled file.
Normally the approach recommended is either source code gen like KSP in separate files or going with backend IR for cases where you want to change bodies and expressions that are not part of the frontend declarations.