package eliom

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module type Ppx_eliom_utils.PassSource

Signature of specific code of a preprocessor.

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.

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

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

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

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

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

Innovation. Community. Security.