package clangml

  1. Overview
  2. Docs
type t = Ast.decl
type t__arity = [
  1. | `Zero
]
and t__structure = [
  1. | `Name of [ `Apply of [ `SubGADT of [ `RecGroup of Ast.decl__structure * Ast.decl__rec_group ] ] * unit * unit * unit * unit * unit ]
]
and t__rec_group = (t__arity * t__structure) Stdcompat.ref
and t__kinds = Ast.decl__kinds
and t__gadt = unit
type Refl.refl +=
  1. | Refl_t : t Refl.refl
val t_refl : (t, t__structure, unit, t__rec_group, [> t__kinds ], unit, unit, unit, t__gadt) Refl.desc
val of_cxcursor : ?options:Ast.Options.t -> Clang__.Clang__bindings.cxcursor -> t
val get_typedef_underlying_type : ?options:Ast.Options.t -> ?recursive:bool -> t -> Type.t
val get_field_bit_width : t -> int
val get_size_expr : ?options:Ast.Options.t -> t -> Expr.t
val get_type_loc : ?options:Ast.Options.t -> t -> Type_loc.t
val get_canonical : t -> Clang__.Clang__bindings.cxcursor
type annotated_field = {
  1. specifier : Ast.cxx_access_specifier;
  2. decl : Ast.decl;
}
val annotate_access_specifier : Ast.cxx_access_specifier -> Ast.decl list -> annotated_field list
val compare : t -> t -> int
val equal : t -> t -> bool
val hash : t -> int
val pp : Stdcompat.Format.formatter -> t -> unit
val show : t -> string
module Set : sig ... end
module Map : sig ... end
module Hashtbl : sig ... end
OCaml

Innovation. Community. Security.