Module Middle.Annotation

type t = {
  1. name : string;
  2. args : string list;
  3. loc : Location_span.t;
}
val sexp_of_t : t -> Sexplib0.Sexp.t
val compare : t -> t -> int
val pp : Stdlib.Format.formatter -> t -> unit
type target =
  1. | Function of {
    1. type_ : UnsizedType.t;
    2. has_body : bool;
    }
  2. | Variable of {
    1. type_ : UnsizedType.t;
    2. is_global : bool;
    3. block : Block.t;
    }
type annotation_classifier = string -> string list -> target -> (unit, unit Fmt.t option) Stdlib.result