package pyre-ast

  1. Overview
  2. Docs

Module Concrete.TypeParamSource

See TaglessFinal.TypeParam.

Sourcetype t =
  1. | TypeVar of {
    1. location : Location.t;
    2. name : Identifier.t;
    3. bound : Expression.t option;
    }
  2. | ParamSpec of {
    1. location : Location.t;
    2. name : Identifier.t;
    }
  3. | TypeVarTuple of {
    1. location : Location.t;
    2. name : Identifier.t;
    }
include Sexplib0.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
include Ppx_compare_lib.Comparable.S with type t := t
Sourceval compare : t -> t -> int
include Ppx_hash_lib.Hashable.S with type t := t
Sourceval hash_fold_t : Base.Hash.state -> t -> Base.Hash.state
Sourceval make_typevar_of_t : location:Location.t -> name:Identifier.t -> ?bound:Expression.t -> unit -> t
Sourceval make_paramspec_of_t : location:Location.t -> name:Identifier.t -> unit -> t
Sourceval make_typevartuple_of_t : location:Location.t -> name:Identifier.t -> unit -> t
OCaml

Innovation. Community. Security.