123456789_123456789_123456789_123456789_123456789_

Class: TypeProf::AliasMethodDef

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, MethodDef
Instance Chain:
Inherits: TypeProf::MethodDef
Defined in: lib/typeprof/method.rb

Class Method Summary

Instance Attribute Summary

MethodDef - Inherited

Instance Method Summary

Constructor Details

.new(orig_mid, mdef, def_ep) ⇒ AliasMethodDef

[ GitHub ]

  
# File 'lib/typeprof/method.rb', line 173

def initialize(orig_mid, mdef, def_ep)
  @orig_mid = orig_mid
  @mdef = mdef
  @pub_meth = mdef.pub_meth
  @def_ep = def_ep
end

Instance Attribute Details

#def_ep (readonly)

[ GitHub ]

  
# File 'lib/typeprof/method.rb', line 180

attr_reader :orig_mid, :mdef, :def_ep

#mdef (readonly)

[ GitHub ]

  
# File 'lib/typeprof/method.rb', line 180

attr_reader :orig_mid, :mdef, :def_ep

#orig_mid (readonly)

[ GitHub ]

  
# File 'lib/typeprof/method.rb', line 180

attr_reader :orig_mid, :mdef, :def_ep

Instance Method Details

#do_check_send(msig, recv, mid, ep, scratch)

[ GitHub ]

  
# File 'lib/typeprof/method.rb', line 186

def do_check_send(msig, recv, mid, ep, scratch)
  @mdef.do_check_send(msig, recv, mid, ep, scratch)
end

#do_send(recv, _mid, aargs, caller_ep, caller_env, scratch, &ctn)

[ GitHub ]

  
# File 'lib/typeprof/method.rb', line 182

def do_send(recv, _mid, aargs, caller_ep, caller_env, scratch, &ctn)
  @mdef.do_send(recv, @orig_mid, aargs, caller_ep, caller_env, scratch, &ctn)
end