visitors

An OCaml syntax extension for generating visitor classes
constraint 'a mapreduce = 'a mapreduce
inherit monoid
method private visit_array : 'b -> 'env 'a0 'b0. ( 'env -> 'a0 -> 'b0 * 's ) -> 'env -> 'a0 array -> 'b0 array * 's
method private visit_bool : 'b -> 'env. 'env -> bool -> bool * 's0
method private visit_bytes : 'b -> 'env. 'env -> bytes -> bytes * 's1
method private visit_char : 'b -> 'env. 'env -> char -> char * 's2
method private visit_float : 'b -> 'env. 'env -> float -> float * 's3
method private visit_int : 'b -> 'env. 'env -> int -> int * 's4
method private visit_int32 : 'b -> 'env. 'env -> int32 -> int32 * 's5
method private visit_int64 : 'b -> 'env. 'env -> int64 -> int64 * 's6
method private visit_lazy_t : 'b -> 'env 'a0 'b0. ( 'env -> 'a0 -> 'b0 * 's7 ) -> 'env -> 'a0 Lazy.t -> 'b0 Lazy.t * 's7
method private visit_list : 'b -> 'env 'a0 'b0. ( 'env -> 'a0 -> 'b0 * 's8 ) -> 'env -> 'a0 list -> 'b0 list * 's8
method private visit_nativeint : 'b -> 'env. 'env -> nativeint -> nativeint * 's9
method private visit_option : 'b -> 'env 'a_0 'a_1. ( 'env -> 'a_0 -> 'a_1 * 's10 ) -> 'env -> 'a_0 option -> 'a_1 option * 's10
method private visit_ref : 'b -> 'env 'a_0 'a_1. ( 'env -> 'a_0 -> 'a_1 * 's11 ) -> 'env -> 'a_0 ref -> 'a_1 ref * 's11
method private visit_result : 'b -> 'env 'a_0 'a_1 'b_0 'b_1. ( 'env -> 'a_0 -> 'a_1 * 's12 ) -> ( 'env -> 'b_0 -> 'b_1 * 's12 ) -> 'env -> ( 'a_0, 'b_0 ) Result.result -> ( 'a_1, 'b_1 ) Result.result * 's12
method private visit_string : 'b -> 'env. 'env -> string -> string * 's13
method private visit_unit : 'b -> 'env. 'env -> unit -> unit * 's14