Merlin_analysis.Ppx_expand
Sourcetype ppx_kind =
| Expr of Ocaml_parsing.Parsetree.expression
| Sig_item of Ocaml_parsing.Parsetree.signature_item
| Str_item of Ocaml_parsing.Parsetree.structure_item
val check_extension :
parsetree:
[ `Implementation of Ocaml_parsing.Parsetree.structure
| `Interface of Ocaml_parsing.Parsetree.signature ] ->
pos:Lexing.position ->
(ppx_kind * Ocaml_utils.Warnings.loc) option
val get_ppxed_source :
ppxed_parsetree:
[ `Implementation of Ocaml_parsing.Parsetree.structure
| `Interface of Ocaml_parsing.Parsetree.signature ] ->
pos:Lexing.position ->
(ppx_kind * Ocaml_utils.Warnings.loc) ->
Query_protocol.ppxed_source