Merlin_kernel.Pparse
SourceIf restore = true
(the default), cookies set by external rewriters will be kept for later calls.
val apply_rewriters_str :
ppx:string Merlin_utils.Std.with_workdir list ->
?restore:bool ->
tool_name:string ->
Ocaml_parsing.Parsetree.structure ->
Ocaml_parsing.Parsetree.structure
val apply_rewriters_sig :
ppx:string Merlin_utils.Std.with_workdir list ->
?restore:bool ->
tool_name:string ->
Ocaml_parsing.Parsetree.signature ->
Ocaml_parsing.Parsetree.signature
val apply_rewriters :
ppx:string Merlin_utils.Std.with_workdir list ->
?restore:bool ->
tool_name:string ->
Mreader.parsetree ->
Mreader.parsetree
val apply_pp :
workdir:string ->
filename:string ->
source:string ->
pp:string ->
[ `Implementation of Ocaml_parsing.Parsetree.structure
| `Interface of Ocaml_parsing.Parsetree.signature
| `Source of string ]