Make._How to handle "client", "shared" and "server" sections for top level structure items.
For shared and server, the boolean argument indicate if this declaration can lead to evaluation of a fragment.
How to handle "client", "shared" and "server" sections for top level signature items.
val fragment :
loc:Ppxlib.Location.t ->
?typ:Ppxlib.Parsetree.core_type ->
context:Context.server ->
num:string ->
id:string Ppxlib.Location.loc ->
unsafe:bool ->
Ppxlib.Parsetree.expression ->
Ppxlib.Parsetree.expressionHow to handle "%client ..." and "%shared ..." expr.
val escape_inject :
loc:Ppxlib.Location.t ->
?ident:string ->
context:Context.escape_inject ->
id:string Ppxlib.Location.loc ->
unsafe:bool ->
Ppxlib.Parsetree.expression ->
Ppxlib.Parsetree.expressionHow to handle escaped "~%ident" inside a fragment.