class Bindgen::Call::ProcArgument

Overview

A Proc argument. May be a block.

Defined in:

bindgen/call.cr

Constructors

Instance Method Summary

Instance methods inherited from class Bindgen::Call::Argument

call : String call, default_value : Parser::DefaultValueTypes | Nil default_value, name : String name

Constructor methods inherited from class Bindgen::Call::Argument

new(type, type_name, name : String, call : String, reference = false, pointer = 0, default_value : Bool | Float64 | Int64 | String | UInt64 | Nil = nil, nilable = false) new

Instance methods inherited from class Bindgen::Call::Expression

==(other : self) ==, hash(hasher) hash, nilable? : Bool nilable?, pointer : Int32 pointer, reference : Bool reference, type : Parser::Type type, type_name : String type_name

Constructor methods inherited from class Bindgen::Call::Expression

new(type : Bindgen::Parser::Type, reference : Bool, pointer : Int32, type_name : String, nilable : Bool) new

Constructor Detail

def self.new(type, type_name, name, call, reference = false, pointer = 0, default_value = nil, nilable = false, block : Bool = false) #

[View source]

Instance Method Detail

def block? : Bool #

Is this a block argument?


[View source]