Class: TypeProf::Core::Box

Inherits:
Object
  • Object
show all
Defined in:
sig/shims/typeprof/core.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#node ⇒ AST::Node (readonly)

Returns the value of attribute node.

Returns:



28
29
30
# File 'sig/shims/typeprof/core.rbs', line 28

def node
  @node
end

Instance Method Details

#resolve {|entity, ty, mid, orig_ty| ... } ⇒ void

This method returns an undefined value.

Yields one resolution candidate per (entity, receiver type) pair; the entity and types are TypeProf internals, kept untyped on purpose.

Parameters:

Yields:

Yield Parameters:

  • entity (Object)
  • ty (Object)
  • mid (Symbol)
  • orig_ty (Object)

Yield Returns:

  • (void)


32
# File 'sig/shims/typeprof/core.rbs', line 32

def resolve: (GlobalEnv genv, untyped changes) { (untyped entity, untyped ty, Symbol mid, untyped orig_ty) -> void } -> void