class TypeProf::ExecutionPoint
Attributes
ctx[R]
outer[R]
pc[R]
Public Class Methods
new(ctx, pc, outer)
click to toggle source
# File typeprof-0.15.2/lib/typeprof/analyzer.rb, line 77 def initialize(ctx, pc, outer) @ctx = ctx @pc = pc @outer = outer end
Public Instance Methods
jump(pc)
click to toggle source
# File typeprof-0.15.2/lib/typeprof/analyzer.rb, line 89 def jump(pc) ExecutionPoint.new(@ctx, pc, @outer) end
key()
click to toggle source
# File typeprof-0.15.2/lib/typeprof/analyzer.rb, line 83 def key [@ctx.iseq, @pc] end
next()
click to toggle source
# File typeprof-0.15.2/lib/typeprof/analyzer.rb, line 93 def next ExecutionPoint.new(@ctx, @pc + 1, @outer) end
replace_cref(cref)
click to toggle source
# File typeprof-0.15.2/lib/typeprof/analyzer.rb, line 97 def replace_cref(cref) ExecutionPoint.new(@ctx.replace_cref(cref), @pc, @outer) end
source_location()
click to toggle source
# File typeprof-0.15.2/lib/typeprof/analyzer.rb, line 101 def source_location @ctx.source_location(@pc) end