IR.Const
The Smallfoot Intermediate Language: Constants
type t =
| Cint of IntLit.t
integer constants
*)| Cfun of Procname.t
function names
*)| Cstr of string
string constants
*)| Cfloat of float
float constants
*)| Cclass of Ident.name
class constant
*)Constants
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
include Ppx_compare_lib.Equal.S with type t := t
val equal : t Base__Ppx_compare_lib.equal
val pp : IStdlib.Pp.env -> F.formatter -> t -> unit
Pretty print a const
val iszero_int_float : t -> bool
val isone_int_float : t -> bool
val isminusone_int_float : t -> bool