class

Bindgen::CallBuilder::CrystalWrapper::ConstructorBody

Inherits Bindgen::CallBuilder::CrystalWrapper::Body < Bindgen::Call::HookableBody < Bindgen::Call::Body < Reference < Object

Body of an #initialize. The constructed object remembers self, see BindgenHelper.set_crystal_object, unless bind is false: for the unwrap: initializer wrapping an existing object.

Constructors

new(db : TypeDatabase, target : Call, bind : Bool = true)
Source

Instance methods

encapsulate(call, code)

Generates the call itself.

Source
encapsulate_into_variable(call, code)
Source