package pyre-ast

  1. Overview
  2. Docs

Module Concrete.ConstantSource

See TaglessFinal.Constant.

Sourcetype t = private
  1. | None
  2. | False
  3. | True
  4. | Ellipsis
  5. | Integer of int
  6. | BigInteger of string
  7. | Float of float
  8. | Complex of float
  9. | String of string
  10. | ByteString of string
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_none_of_t : unit -> t
Sourceval make_false_of_t : unit -> t
Sourceval make_true_of_t : unit -> t
Sourceval make_ellipsis_of_t : unit -> t
Sourceval make_integer_of_t : int -> t
Sourceval make_big_integer_of_t : string -> t
Sourceval make_float_of_t : float -> t
Sourceval make_complex_of_t : float -> t
Sourceval make_string_of_t : string -> t
Sourceval make_byte_string_of_t : string -> t
OCaml

Innovation. Community. Security.