class
Bindgen::CallBuilder::CrystalWrapper::ConstructorBody
- Bindgen::CallBuilder::CrystalWrapper::ConstructorBody
- Bindgen::CallBuilder::CrystalWrapper::Body
- Bindgen::Call::HookableBody
- Bindgen::Call::Body
- Reference
- Object
Overview
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.
Defined in:
bindgen/call_builder/crystal_wrapper.crConstructors
Instance Method Summary
-
#encapsulate(call, code)
Generates the call itself.
- #encapsulate_into_variable(call, code)
Instance methods inherited from class Bindgen::CallBuilder::CrystalWrapper::Body
encapsulate(call, code)
encapsulate,
encapsulate_into_variable(call, code)
encapsulate_into_variable,
super_forwarder=(super_forwarder : Bool)
super_forwarder=,
super_forwarder? : Bool
super_forwarder?,
to_code(call : Call, platform : Graph::Platform) : String
to_code
Constructor methods inherited from class Bindgen::CallBuilder::CrystalWrapper::Body
new(db : TypeDatabase, target : Call)
new
Instance methods inherited from class Bindgen::Call::HookableBody
add_post_hook(hook : Body) : Nil
add_post_hook,
post_hook : Body | Nil
post_hook,
post_hook=(post_hook : Body | Nil)
post_hook=,
post_hook?(type : T.class) : Bool forall T
post_hook?,
pre_hook : Body | Nil
pre_hook,
pre_hook=(pre_hook : Body | Nil)
pre_hook=
Instance methods inherited from class Bindgen::Call::Body
to_code(call : Call, platform : Graph::Platform) : String
to_code
Constructor Detail
Instance Method Detail
def encapsulate(call, code)
#
Description copied from class Bindgen::CallBuilder::CrystalWrapper::Body
Generates the call itself.