Bindgen::Graph::Method
Inherits Bindgen::Graph::Node < Reference < Object
A method, and its calls. The #calls will be populated later on by
processors.
Constants
If this tag is set, this method will bind directly to the method named
in the value. Processor::CppWrapper won't generate a wrapper for this
method. Processor::CrystalBinding will make the fun of this
function point to it. The Crystal wrapper is not affected.
If this tag is set, C++ refers to the object of this method from then
on, like Qt to the sender of a connected signal: the Crystal wrapper
passes self to BindgenHelper.keep_alive. The value is left empty.
Set by Processor::Qt, see Processor::WrapperHooks#add_keeps_self_hook.
If this tag is set, the object of this method belongs to its argument at
the index in the value, like a Qt object to its parent: the Crystal
wrapper keeps the object alive while the argument isn't nil. A
constructor keeps it alive if given one, another method keeps it alive
if given one, and releases it if given nil. Set by Processor::Qt,
see Processor::CrystalWrapper#add_owner_hook.
If this tag is set, this methods CrystalBinding and Cpp calls can be removed by a later processor. The value is left empty.
If this tag is set, this method is expected to call a base class method without dynamic lookup. The value is left empty.
If this tag is set, it means this method is a #initialize(unwrap: ).
The value is left empty.
Constructors
Instance methods
Returns a dot (.) if the origin method is static. Returns a number
sign (#) otherwise.