class Bindgen::CallBuilder::CrystalBinding

Overview

Builder for calls made from Crystal to C++. This is used for common bindings of normal methods.

Defined in:

bindgen/call_builder/crystal_binding.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(db : TypeDatabase) #

[View source]

Class Method Detail

def self.logger #

[View source]

Instance Method Detail

def build(method : Parser::Method, klass_type : Parser::Type | Nil, body = FunBody, explicit_binding : String | Nil = nil, myself_type : Parser::Type | Nil = nil) : Call #

explicit_binding only affects the FunBody.

myself_type is used by superclass wrapper structs to pass the wrapped instance to a lib fun. If it is non-nil, klass_type should be the wrapper struct for myself_type.


[View source]
def logger #

[View source]