Class: TypeProf::Context
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
|
|
Inherits: | Object |
Defined in: | lib/typeprof/analyzer.rb |
Class Method Summary
- .new(iseq, cref, mid) ⇒ Context constructor
Instance Attribute Summary
Instance Method Summary
Constructor Details
.new(iseq, cref, mid) ⇒ Context
Instance Attribute Details
#cref (readonly)
[ GitHub ]#iseq (readonly)
[ GitHub ]#mid (readonly)
[ GitHub ]Instance Method Details
#detailed_source_location(pc)
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 46
def detailed_source_location(pc) if @iseq @iseq.detailed_source_location(pc) else nil end end
#replace_cref(cref)
[ GitHub ]#source_location(pc)
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 38
def source_location(pc) if @iseq @iseq.source_location(pc) else "<builtin>" end end