class Bindgen::Call::Argument

Overview

A Call argument.

Direct Known Subclasses

Defined in:

bindgen/call.cr

Constructors

Instance Method Summary

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 : String, call : String, reference = false, pointer = 0, default_value : Bool | Float64 | Int64 | String | UInt64 | Nil = nil, nilable = false) #

[View source]

Instance Method Detail

def call : String #

How to use the argument variable.


[View source]
def default_value : Parser::DefaultValueTypes | Nil #

Default value for this argument.


[View source]
def name : String #

The variable name.


[View source]