class Bindgen::Call::ProcResult
Overview
A result specifying a Proc
.
Defined in:
bindgen/call.crInstance Method Summary
-
#to_argument(name : String, block = false) : Argument
Converts the result into an argument of name.
Instance methods inherited from class Bindgen::Call::Result
apply_conversion(code : String) : String
apply_conversion,
conversion : Template::Base
conversion,
to_argument(name : String, default = nil) : Argument
to_argument
Constructor methods inherited from class Bindgen::Call::Result
new(type, type_name, reference, pointer, conversion : Bindgen::Template::Base = Template::None.new, nilable = false)
new
Instance methods inherited from class Bindgen::Call::Expression
==(other : self)
==,
hash(hasher)
hash,
nilable? : Bool
nilable?,
pointer : Int32
pointer,
reference : Bool
reference,
type : Parser::Type
type,
type_name : String
type_name
Constructor methods inherited from class Bindgen::Call::Expression
new(type : Bindgen::Parser::Type, reference : Bool, pointer : Int32, type_name : String, nilable : Bool)
new
Instance Method Detail
Converts the result into an argument of name.