struct

Bindgen::Crystal::Method

Inherits Struct < Value < Object

Functionality to generate method code.

Constructors

new(db : TypeDatabase)
Source

Instance methods

prototype(name, arguments, result = nil, static = false, abstract abstract_ = false, protected protected_ = false, private private_ = false, named_args = false) : String

Builds the prototype ("first line") of a method.

Source