Module Clang.Parameter

AST parameters.

type t = Ast.parameter
val get_size_expr : ?⁠options:Ast.Options.t -> t -> Expr.t

get_size_expr ?options p returns the expression specifying the size of the array declared by p, and fails if p is not an array parameter.

val get_type_loc : ?⁠options:Ast.Options.t -> t -> Type_loc.t
include Clang__.Ast_sig.S with type t := t
type t
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 : Stdcompat.Set.S with type Set.elt = t
module Map : Stdcompat.Map.S with type Map.key = t
module Hashtbl : Stdcompat.Hashtbl.S with type Hashtbl.key = t