package pyre-ast

  1. Overview
  2. Docs

See TaglessFinal.BinaryOperator.

type t = private
  1. | Add
  2. | Sub
  3. | Mult
  4. | MatMult
  5. | Div
  6. | Mod
  7. | Pow
  8. | LShift
  9. | RShift
  10. | BitOr
  11. | BitXor
  12. | BitAnd
  13. | FloorDiv
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 Base__Ppx_compare_lib.compare
include Ppx_hash_lib.Hashable.S with type t := t
val hash_fold_t : t Base__Ppx_hash_lib.hash_fold
val hash : t -> Base__Ppx_hash_lib.Std.Hash.hash_value
val make_add_of_t : unit -> t
val make_sub_of_t : unit -> t
val make_mult_of_t : unit -> t
val make_matmult_of_t : unit -> t
val make_div_of_t : unit -> t
val make_mod_of_t : unit -> t
val make_pow_of_t : unit -> t
val make_lshift_of_t : unit -> t
val make_rshift_of_t : unit -> t
val make_bitor_of_t : unit -> t
val make_bitxor_of_t : unit -> t
val make_bitand_of_t : unit -> t
val make_floordiv_of_t : unit -> t
OCaml

Innovation. Community. Security.