Module Clang.Enum_constant
AST enumeration constants as ordered types.
type t
= Ast.enum_constant
val of_cxcursor : ?options:Ast.Options.t -> cxcursor -> t
of_cxcursor ?options cu
translatescu
into its high-level representation, supposing thatcu
points to a enumeration constant.
val get_value : t -> int
get_value c
returns the value associated to the constantc
.