In Files

  • typeprof-0.12.0/lib/typeprof/analyzer.rb

Class/Module Index [+]

Quicksearch

TypeProf::ExecutionPoint

Attributes

ctx[R]
outer[R]
pc[R]

Public Class Methods

new(ctx, pc, outer) click to toggle source
 
               # File typeprof-0.12.0/lib/typeprof/analyzer.rb, line 69
def initialize(ctx, pc, outer)
  @ctx = ctx
  @pc = pc
  @outer = outer
end
            

Public Instance Methods

jump(pc) click to toggle source
 
               # File typeprof-0.12.0/lib/typeprof/analyzer.rb, line 81
def jump(pc)
  ExecutionPoint.new(@ctx, pc, @outer)
end
            
key() click to toggle source
 
               # File typeprof-0.12.0/lib/typeprof/analyzer.rb, line 75
def key
  [@ctx.iseq, @pc]
end
            
next() click to toggle source
 
               # File typeprof-0.12.0/lib/typeprof/analyzer.rb, line 85
def next
  ExecutionPoint.new(@ctx, @pc + 1, @outer)
end
            
source_location() click to toggle source
 
               # File typeprof-0.12.0/lib/typeprof/analyzer.rb, line 89
def source_location
  @ctx.source_location(@pc)
end