module Constant:sig
..end
type
t =
| |
Pconst_integer of |
| |
Pconst_char of |
| |
Pconst_string of |
| |
Pconst_float of |
exception Unknown_literal of string * char
val of_constant : Migrate_parsetree.Ast_402.Asttypes.constant -> t
Converts Asttypes.constant to Constant.t
val to_constant : t -> Migrate_parsetree.Ast_402.Asttypes.constant
Converts Constant.t to Asttypes.constant. Raises Unknown_literal if conversion fails