visitors

An OCaml syntax extension for generating visitor classes
constraint 'a reduce2 = 'a reduce2
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 'a0 'b0. ( 'env -> 'a0 -> 'b0 -> 's10 ) -> 'env -> 'a0 option -> 'b0 option -> 's10
method private visit_ref : 'b -> 'env 'a0 'b0. ( 'env -> 'a0 -> 'b0 -> 's11 ) -> 'env -> 'a0 ref -> 'b0 ref -> 's11
method private visit_result : 'b -> 'env 'a0 'b0 'e 'f. ( 'env -> 'a0 -> 'b0 -> 's12 ) -> ( 'env -> 'e -> 'f -> 's12 ) -> 'env -> ( 'a0, 'e ) Result.result -> ( 'b0, 'f ) Result.result -> 's12
method private visit_string : 'b -> 'env. 'env -> string -> string -> 's13
method private visit_unit : 'b -> 'env. 'env -> unit -> unit -> 's14