Skip to content

struct Crystal::CallSignature
inherits Struct

Class methods

.new(name : String, arg_types : Array(Type), block : Block?, named_args : Array(NamedArgumentType)?)

View source

Methods

#arg_types : Array(Type)

#block : Block?

#clone

View source

#copy_with(name _name = @name, arg_types _arg_types = @arg_types, block _block = @block, named_args _named_args = @named_args)

View source

#match(def_metadata, context)

View source

#matches_exactly?(match : Match, *, with_literals : Bool = false)

View source

#name : String

#named_args : Array(NamedArgumentType)?