Class: TypeProf::Core::Box
- Inherits:
-
Object
- Object
- TypeProf::Core::Box
- Defined in:
- sig/shims/typeprof/core.rbs
Instance Attribute Summary collapse
-
#node ⇒ AST::Node
readonly
Returns the value of attribute node.
Instance Method Summary collapse
-
#resolve {|entity, ty, mid, orig_ty| ... } ⇒ void
Yields one resolution candidate per (entity, receiver type) pair; the entity and types are TypeProf internals, kept untyped on purpose.
Instance Attribute Details
#node ⇒ AST::Node (readonly)
Returns the value of attribute node.
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.
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
|