class TypeProf::Core::EscapeBox::HashSplatBox::GVarReadBox

Attributes

const_read[R]
node[R]
ret[R]

Public Class Methods

new(node, genv, name) click to toggle source
Calls superclass method TypeProf::Core::Box::new
# File typeprof-0.30.1/lib/typeprof/core/graph/box.rb, line 855
def initialize(node, genv, name)
  super(node)
  @vtx = genv.resolve_gvar(name).vtx
  @ret = Vertex.new(node)
  genv.add_run(self)
end

Public Instance Methods

run0(genv, changes) click to toggle source
# File typeprof-0.30.1/lib/typeprof/core/graph/box.rb, line 864
def run0(genv, changes)
  changes.add_edge(genv, @vtx, @ret)
end