Gil_syntax.Literal
GIL Literals
type t =
| Undefined
The literal undefined
| Null
The literal null
| Empty
The literal empty
| Constant of Gillian.Gil_syntax.Constant.t
| Bool of bool
GIL booleans: true
and false
| Int of Z.t
GIL integers: TODO: understand size
*)| Num of float
GIL floats - double-precision 64-bit IEEE 754
*)| String of string
GIL strings
*)| Loc of string
GIL locations (uninterpreted symbols)
*)| Type of Gillian.Gil_syntax.Type.t
| LList of t list
Lists of GIL literals
*)| Nono
Negative information
*)val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val pp : t Fmt.t
Pretty-printer
val type_of : t -> Gillian.Gil_syntax.Type.t
Returns the type of a literal
val evaluate_constant : Gillian.Gil_syntax.Constant.t -> t
Evaluates a constant