class TypeProf::AliasMethodDef

Attributes

def_ep[R]
mdef[R]
orig_mid[R]

Public Class Methods

new(orig_mid, mdef, def_ep) click to toggle source
# File typeprof-0.21.3/lib/typeprof/method.rb, line 162
def initialize(orig_mid, mdef, def_ep)
  @orig_mid = orig_mid
  @mdef = mdef
  @pub_meth = mdef.pub_meth
  @def_ep = def_ep
end

Public Instance Methods

do_check_send(msig, recv, mid, ep, scratch) click to toggle source
# File typeprof-0.21.3/lib/typeprof/method.rb, line 175
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) click to toggle source
# File typeprof-0.21.3/lib/typeprof/method.rb, line 171
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