visitors

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