Class: TypeProf::ExecutionPoint
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Instance Chain: | |
| Inherits: | Object | 
| Defined in: | lib/typeprof/analyzer.rb | 
Class Method Summary
- .new(ctx, pc, outer) ⇒ ExecutionPoint constructor
Instance Attribute Summary
Instance Method Summary
Constructor Details
    .new(ctx, pc, outer)  ⇒ ExecutionPoint 
  
Instance Attribute Details
#ctx (readonly)
[ GitHub ]#outer (readonly)
[ GitHub ]#pc (readonly)
[ GitHub ]Instance Method Details
#absolute_path
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 125
def absolute_path @ctx.iseq.absolute_path end
#detailed_source_location
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 121
def detailed_source_location @ctx.detailed_source_location(@pc) end
#jump(pc)
[ GitHub ]#key
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 99
def key [@ctx.iseq, @pc] end
#next
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 109
def next ExecutionPoint.new(@ctx, @pc + 1, @outer) end
#replace_cref(cref)
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 113
def replace_cref(cref) ExecutionPoint.new(@ctx.replace_cref(cref), @pc, @outer) end
#source_location
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 117
def source_location @ctx.source_location(@pc) end