package eliom

  1. Overview
  2. Docs
Advanced client/server Web and mobile framework

Install

Dune Dependency

Authors

Maintainers

Sources

11.1.1.tar.gz
md5=c8c67fe5fb8d3f44a3b17cc4a93a0e62
sha512=e58557a1b525efd011e0eb539b112b53e6c012ac3fb2153c251be030eda483dd3b19de625707cf5ffebd97fa6a7fabfb8a6aae8e8a61c79e0bd7ad2d289df9a9

doc/ppx_utils/Ppx_eliom_utils/Make/argument-1-_/index.html

Parameter 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.

val shared_str : bool -> Ppxlib.Parsetree.structure_item -> Ppxlib.Parsetree.structure_item list
val server_str : bool -> Ppxlib.Parsetree.structure_item -> Ppxlib.Parsetree.structure_item list
val client_str : Ppxlib.Parsetree.structure_item -> Ppxlib.Parsetree.structure_item list

How to handle "client", "shared" and "server" sections for top level signature items.

val shared_sig : Ppxlib.Parsetree.signature_item -> Ppxlib.Parsetree.signature_item list
val client_sig : Ppxlib.Parsetree.signature_item -> Ppxlib.Parsetree.signature_item list
val server_sig : Ppxlib.Parsetree.signature_item -> Ppxlib.Parsetree.signature_item list
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.expression

How 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.expression

How to handle escaped "~%ident" inside a fragment.

val prelude : Ppxlib.Location.t -> Ppxlib.Parsetree.structure
val postlude : Ppxlib.Location.t -> Ppxlib.Parsetree.structure
OCaml

Innovation. Community. Security.