class CrystalLib::Function

Defined in:

crystal_lib/ast.cr

Constructors

Instance Method Summary

Instance methods inherited from class CrystalLib::ASTNode

doc : String | Nil doc, doc=(doc : String | Nil) doc=, unscoped_name unscoped_name

Constructor Detail

def self.new(name : String, return_type : Type, variadic : Bool) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def args : Array(CrystalLib::Arg) #

[View source]
def args=(args : Array(CrystalLib::Arg)) #

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String #

[View source]
def name=(name : String) #

[View source]
def return_type : CrystalLib::Type #

[View source]
def return_type=(return_type : CrystalLib::Type) #

[View source]
def to_s(io, semicolon = true) #

[View source]
def variadic=(variadic : Bool) #

[View source]
def variadic? : Bool #

[View source]