Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include De_base end
type ('value, 'state) t = 'state De_base.ctx -> ('value, error) result
and 'state ctx = 'state De_base.deserializer * 'state
type ('value, 'state, 'tag) visitor = ('value, 'state, 'tag) De_base.visitor = {
visit_int : 'state De_base.ctx -> int -> ('value, error) result;
visit_string : 'state De_base.ctx -> string -> ('value, error) result;
}
val deserializer :
('state De_base.ctx -> ('value, error) result) ->
('value, 'state) t
module type Deserializer = De_base.Deserializer
type 'state deserializer = (module Deserializer with type state = 'state)
val deserialize_key :
'state ctx ->
('a, 'state0, 'b) De_base.visitor ->
('a option, error) result
val deserialize_identifier :
'state ctx ->
('a, 'state0, 'b) De_base.visitor ->
('a, error) result
val identifier : 'a ctx -> ('b, 'a, 'c) De_base.visitor -> ('b, error) result
val next_field :
'a ctx ->
('b, 'a, 'c) De_base.visitor ->
('b option, error) result
val d : (('state De_base.deserializer * 'state0) -> 'a) -> 'state1 ctx -> 'b