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
#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