class

Bindgen::Call::Body

Inherits Reference < Object

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.

Instance methods

to_code(call : Call, platform : Graph::Platform) : String

Will be called by a Generator later on, passing in the call and the target platform.

Source