Implement Parser::Rewriter.