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.8/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

Public Instance Methods

do_check_send(msig, recv, mid, ep, scratch) click to toggle source
# File typeprof-0.21.8/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) click to toggle source
# File typeprof-0.21.8/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