Module Annot.Item

type nonrec t = t list

Annotation for one item: a list of annotations with visibility.

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
include Ppx_hash_lib.Hashable.S with type t := t
val hash_fold_t : t Base__Ppx_hash_lib.hash_fold
val hash : t -> Base__Ppx_hash_lib.Std.Hash.hash_value
val hash_normalize : t -> t
val hash_normalize_opt : t option -> t option
val hash_normalize_list : t list -> t list
val pp : F.formatter -> t -> unit

Pretty print an item annotation.

val empty : t

Empty item annotation.

val is_abstract : t -> bool

Check if abstract annotation is included in.

val is_empty : t -> bool
val is_final : t -> bool

Check if final annotation is included in.

val is_notnull : t -> bool

Check if notnull annotation is included in.