class

Bindgen::Parser::Macro

Inherits JSON::Serializable < Reference < Object

Stores information on a C++ macro (a #define).

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

arguments

Argument names

Source
evaluated

If the macro was successfully evaluated, the parsed value.

Source
function?

Is this macro function-like? (#define FOO(x, y) x + y)

Source
name

Name of the macro

Source
type

The type of the evaluated macro body

Source
value

The body of the macro, as written in the C/C++ source

Source
var_arg?

Does this macro take a variable amount of arguments?

Source

Nested types