struct

Heucristic::Resolve::Methods::CallShape

Inherits Struct < Value < Object

Constructors

new(name : String, given : Int32, block : Bool, arguments : Array(Argument) = Array(Argument).new, named : Array(Binding) = Array(Binding).new, implicit : Bool = false, caller_path : String | Nil = nil)
Source
of_types(name : String, types : Array(Resolution), block : Bool) : CallShape
Source

Instance methods

==(other : self)
accepts?(entry : Index::Def) : Bool
Source
arguments
Source
block?
Source
bound?(index : Int32) : Bool
Source
caller_path
Source
complaint(entry : Index::Def) : Index::ArgumentComplaint | Nil
Source
given
Source
hash(hasher)

See Object#hash(hasher)

implicit?
Source
name
Source
named
Source
named?(external_name : String) : Bool
Source
types
Source
with_types(replacements : Array(Resolution)) : CallShape
Source

Nested types