struct Bindgen::Crystal::Method

Overview

Functionality to generate method code.

Defined in:

bindgen/crystal/method.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(db : TypeDatabase) #

[View source]

Instance Method Detail

def 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.


[View source]