class RBS::Rewriter

Rewriter performs targeted character-range replacements on Buffer content.

Unlike Writer which regenerates entire source from AST, Rewriter preserves everything outside the rewritten ranges, including non-documentation comments.

Rewrite requests are buffered and applied all at once when string is called.