module type S = sig
.. end
Output signature of State_builder.Register
.
val self : State.t
val name : string
val kind : State.kind
val mark_as_computed : ?project:Project.t -> unit -> unit
Indicate that the registered state will not change again for the
given project (default is current ()
).
val is_computed : ?project:Project.t -> unit -> bool
Returns true
iff the registered state will not change again for the
given project (default is current ()
).
Exportation of some inputs (easier use of State_builder.Register
).
module Datatype: Datatype.S
val howto_marshal : (Datatype.t -> 'a) -> ('a -> Datatype.t) -> unit
howto_marshal marshal unmarshal
registers a custom couple of
countions (marshal, unmarshal)
to be used for serialization.
Default functions are identities. In particular, calling this
function must be used if Datatype.t
is not marshallable and
do_not_save
is not called.
Since Boron-20100401