class

Bindgen::Call::Expression

Inherits Reference < Object

Base-class for Result and Argument.

Constructors

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

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

hash(hasher)

See Object#hash(hasher)

nilable?

Is this expression nil-able? A type is only nil-able if the wrapped type is an object-type (Reference in Crystal), and the C++-world accepts this pointer being nullptr.

Source
pointer

Pointer depth, without the reference "pointer"

Source
reference

Pass in as reference?

Source
type

The data this expression originated in.

Source
type_name

Type to use for passing

Source