class Bindgen::Parser::Macro

Overview

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

Included Modules

Defined in:

bindgen/parser/macro.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def arguments : Array(String) #

Argument names


[View source]
def evaluated : DefaultValueTypes | Nil #

[View source]
def function? : Bool #

[View source]
def name : String #

Name of the macro


[View source]
def type : Type | Nil #

The type of the evaluated macro body


[View source]
def value : String #

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


[View source]
def var_arg? : Bool #

[View source]