abstract class Bindgen::Call::Body
- Bindgen::Call::Body
- Reference
- Object
Overview
The body of a Call
which is to be materialized as function or method of
some sort. The Generator
will later call #to_code
with its platform
to generate the code, which it will then embed into the function itself.
Choosing a body type
When building a custom Body
, consider using HookableBody
instead to
allow later processors to augment your body.
Direct Known Subclasses
- Bindgen::Call::EmptyBody
- Bindgen::Call::HookableBody
- Bindgen::CallBuilder::CppCall::Body
- Bindgen::CallBuilder::CppMethod::Body
- Bindgen::CallBuilder::CppQobjectConnect::Body
- Bindgen::CallBuilder::CppToCrystalProc::Body
- Bindgen::CallBuilder::CppWrapper::Body
- Bindgen::CallBuilder::CrystalAbstractDef::Body
- Bindgen::CallBuilder::CrystalBinding::FunBody
- Bindgen::CallBuilder::CrystalFromCpp::Body
- Bindgen::CallBuilder::CrystalToUnsafe::Body
- Bindgen::CallBuilder::CrystalUnwrapInitialize::Body
- Bindgen::Processor::Inheritance::CastBody
- Bindgen::Processor::VirtualOverride::BgJumpSetBody
- Bindgen::Processor::VirtualOverride::JumptableHook
Defined in:
bindgen/call.crInstance Method Summary
-
#to_code(call : Call, platform : Graph::Platform) : String
Will be called by a
Generator
later on, passing in the call and the target platform.
Instance Method Detail
Will be called by a Generator
later on, passing in the call and the
target platform.