Extension.For_context
This module is used to implement Context_free.map_top_down
val convert_res :
'a t list ->
ctxt:Expansion_context.Extension.t ->
(string Astlib.Location.loc * Astlib.Ast_500.Parsetree.payload) ->
('a option, Location.Error.t Stdppx.NonEmptyList.t) result
val convert :
'a t list ->
ctxt:Expansion_context.Extension.t ->
(string Astlib.Location.loc * Astlib.Ast_500.Parsetree.payload) ->
'a option
val convert_inline_res :
'a t list ->
ctxt:Expansion_context.Extension.t ->
(string Astlib.Location.loc * Astlib.Ast_500.Parsetree.payload) ->
('a list option, Location.Error.t Stdppx.NonEmptyList.t) result
val convert_inline :
'a t list ->
ctxt:Expansion_context.Extension.t ->
(string Astlib.Location.loc * Astlib.Ast_500.Parsetree.payload) ->
'a list option