package ast_generic

  1. Overview
  2. Docs
type 'any t =
  1. | Token of string * Tok.t
  2. | List of 'any t list
  3. | Tuple of 'any t list
  4. | Case of string * 'any t
  5. | Option of 'any t option
  6. | Any of 'any
val pp : (Ppx_deriving_runtime.Format.formatter -> 'any -> Ppx_deriving_runtime.unit) -> Ppx_deriving_runtime.Format.formatter -> 'any t -> Ppx_deriving_runtime.unit
val show : (Ppx_deriving_runtime.Format.formatter -> 'any -> Ppx_deriving_runtime.unit) -> 'any t -> Ppx_deriving_runtime.string
val equal : ('any -> 'any -> Ppx_deriving_runtime.bool) -> 'any t -> 'any t -> Ppx_deriving_runtime.bool
include Ppx_hash_lib.Hashable.S1 with type 'any t := 'any t
val hash_fold_t : 'a Base__Ppx_hash_lib.hash_fold -> 'a t Base__Ppx_hash_lib.hash_fold
val loc : _ t -> (Tok.t * Tok.t) option
val unsafe_loc : _ t -> Tok.t * Tok.t
val anys : 'any t -> 'any list
val map : map_any:('a -> 'b) -> 'a t -> 'b t
val visit : v_token:((string * Tok.t) -> unit) -> v_any:('any -> unit) -> 'any t -> unit
OCaml

Innovation. Community. Security.