class Bindgen::Parser::Macro
- Bindgen::Parser::Macro
- Reference
- Object
Overview
Stores information on a C++ macro (a #define
).
Included Modules
- JSON::Serializable
Defined in:
bindgen/parser/macro.crConstructors
Instance Method Summary
-
#arguments : Array(String)
Argument names
- #evaluated : DefaultValueTypes | Nil
- #function? : Bool
-
#name : String
Name of the macro
-
#type : Type | Nil
The type of the evaluated macro body
-
#value : String
The body of the macro, as written in the C/C++ source
- #var_arg? : Bool