···22222323let fmt source =
2424 let ast = ast source in
2525- let ast =
2626- let ghostify =
2727- {
2828- Parser_extended.Ast_mapper.default_mapper with
2929- location = (fun _ loc -> { loc with loc_ghost = true });
3030- }
3131- in
3232- { ast with ast = ghostify.structure ghostify ast.ast }
3333- in
3425 let with_buffer_formatter ~buffer_size k =
3526 let buffer = Buffer.create buffer_size in
3627 let fs = Format_.formatter_of_buffer buffer in