package pyre-ast

  1. Overview
  2. Docs

See TaglessFinal.Arguments.

type t = private {
  1. posonlyargs : Argument.t list;
  2. args : Argument.t list;
  3. vararg : Argument.t option;
  4. kwonlyargs : Argument.t list;
  5. kw_defaults : Expression.t option list;
  6. kwarg : Argument.t option;
  7. defaults : Expression.t list;
}
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t -> t -> int
include Ppx_hash_lib.Hashable.S with type t := t
val hash_fold_t : Base.Hash.state -> t -> Base.Hash.state
val hash : t -> Base.Hash.hash_value
val make_t : ?posonlyargs:Argument.t list -> ?args:Argument.t list -> ?vararg:Argument.t -> ?kwonlyargs:Argument.t list -> ?kw_defaults:Expression.t option list -> ?kwarg:Argument.t -> ?defaults:Expression.t list -> unit -> t
OCaml

Innovation. Community. Security.