Gil_syntax.Literal
GIL Literals
type t =
| Undefined
The literal undefined
| Null
The literal null
| Empty
The literal empty
| Constant of 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 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 evaluate_constant : Constant.t -> t
Evaluates a constant