class Bindgen::Parser::Macro

Overview

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

Defined in:

bindgen/parser/macro.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def arguments : Array(String) #

def arguments=(_arguments : Array(String)) #

def evaluated : DefaultValueTypes | Nil #

def evaluated=(_evaluated : DefaultValueTypes | Nil) #

def function? : Bool #

Is this macro function-like?


[View source]
def isFunction : Bool #

def isFunction=(_isFunction : Bool) #

def isVarArg : Bool #

def isVarArg=(_isVarArg : Bool) #

def name : String #

def name=(_name : String) #

def to_json(json : JSON::Builder) #

def type : Type | Nil #

def type=(_type : Type | Nil) #

def value : String #

def value=(_value : String) #

def var_arg? : Bool #

Does this macro take a variable amount of arguments?


[View source]