Class: TypeProf::TypedContext
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
|
|
Inherits: | Object |
Defined in: | lib/typeprof/analyzer.rb |
Class Method Summary
- .new(caller_ep, mid) ⇒ TypedContext constructor
Instance Attribute Summary
- #caller_ep readonly
- #mid readonly
Instance Method Summary
Constructor Details
.new(caller_ep, mid) ⇒ TypedContext
Instance Attribute Details
#caller_ep (readonly)
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 67
attr_reader :caller_ep, :mid
#mid (readonly)
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 67
attr_reader :caller_ep, :mid
Instance Method Details
#detailed_source_location(_pc)
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 77
def detailed_source_location(_pc) if @caller_ep @caller_ep.source_location else nil end end
#replace_cref(cref)
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 85
def replace_cref(cref) # What to do? end
#source_location(_pc)
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 69
def source_location(_pc) if @caller_ep @caller_ep.source_location else "<typed-context:#{ @mid }>" end end