Purpose
Apply structural code changes safely.
Steps
- Prefer AST insertion over raw text replacement.
- Validate with tests or static checks.
- Record assumptions when AST tooling is unavailable.
使用AST感知的编辑来减少语法错误并保持结构。
Apply structural code changes safely.