TermAttrAttributes for annotated terms
An attribute is currently only a name for a term.
val hash_attr : t -> intHashing function on attribute
val mk_named : string -> int -> tReturn a name attribute
val mk_interp_group : string -> tReturn an interpolation group attribute
val fundef : tReturn a fun-def attribute
val is_named : t -> boolReturn true if the attribute is a name
val is_fundef : t -> boolReturn true if the attribute is fundef
val is_interp_group : t -> boolReturn true if the attribute is an interpolation group
val named_of_attr : t -> string * intReturn the name in a name attribute, raises Invalid_argument for other attributes
val interp_group_of_attr : t -> stringReturn the name in an interpolation group attribute, raises Invalid_argument for other attributes
val pp_print_attr : Stdlib.Format.formatter -> t -> unitPretty-print a hashconsed attribute
val print_attr : t -> unitPretty-print a hashconsed attribute to the standard formatter
val string_of_attr : t -> stringReturn a string representation of a hashconsed attribute