Method signature with annotations.
type t = {ret : InferIR.Annot.Item.t * InferIR.Typ.t; | (** Annotated return type. *) |
params : (InferIR.Mangled.t * InferIR.Annot.Item.t * InferIR.Typ.t) list; | (** Annotated parameters. *) |
}include sig ... endval compare_annotation : annotation ‑> annotation ‑> intval param_has_annot : (InferIR.Annot.Item.t ‑> bool) ‑> InferIR.Pvar.t ‑> t ‑> boolCheck if the given parameter has an annotation in the given signature
val mark : InferIR.Typ.Procname.t ‑> annotation ‑> t ‑> (bool * bool list) ‑> tMark the annotated signature with the given annotation map.
val mark_return : annotation ‑> t ‑> tMark the return of the annotated signature with the given annotation.
val get : InferIR.ProcAttributes.t ‑> tGet a method signature with annotations from a proc_attributes.
val mk_ia : annotation ‑> InferIR.Annot.Item.t ‑> InferIR.Annot.Item.tAdd the annotation to the item_annotation.
val pp : InferIR.Typ.Procname.t ‑> Format.formatter ‑> t ‑> unitPretty print a method signature with annotations.