Module Cmdlinergen.GenSource

Parameters

Signature

Sourcetype implementation = unit -> ((Rpc.call -> Rpc.response) -> (unit -> unit) Cmdliner.Term.t * Cmdliner.Cmd.info) list
Sourcetype ('a, 'b) comp = ('a, 'b) Result.t
Sourcetype 'a rpcfn = Rpc.call -> Rpc.response
Sourcetype 'a res = unit
Sourceval description : Idl.Interface.description option ref
Sourceval terms : ((Rpc.call -> Rpc.response) -> (unit -> unit) Cmdliner.Term.t * Cmdliner.Cmd.info) list ref
Sourcetype _ fn =
  1. | Function : 'a Idl.Param.t * 'b fn -> ('a -> 'b) fn
  2. | NoArgsFunction : 'b fn -> (unit -> 'b) fn
  3. | Returning : ('a Idl.Param.t * 'b Idl.Error.t) -> ('a, 'b) comp fn
Sourceval returning : 'a Idl.Param.t -> 'b Idl.Error.t -> ('a, 'b) comp fn
Sourceval (@->) : 'a Idl.Param.t -> 'b fn -> ('a -> 'b) fn
Sourceval noargs : 'a fn -> (unit -> 'a) fn
Sourceval pos : int ref
Sourceval term_of_param : 'a. 'a Idl.Param.t -> Rpc.t Cmdliner.Term.t
Sourceval declare_ : bool -> string -> string list -> 'a fn -> unit
Sourceval declare : string -> string list -> 'a fn -> unit
Sourceval declare_notification : string -> string list -> 'a fn -> unit