class Bindgen::Call::Result
- Bindgen::Call::Result
- Bindgen::Call::Expression
- Reference
- Object
Overview
Call result type configuration.
Direct Known Subclasses
Defined in:
bindgen/call.crConstructors
Instance Method Summary
-
#conversion : String | Nil
Conversion template (
Util.template
) to get the data out of the method, ready to be returned back. -
#to_argument(name : String, default = nil) : Argument
Converts the result into an argument of name.
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
Constructor Detail
def self.new(type, type_name, reference, pointer, conversion : Nil | String, nilable = false)
#
Instance Method Detail
def conversion : String | Nil
#
Conversion template (Util.template
) to get the data out of the method,
ready to be returned back.
Converts the result into an argument of name.