class TypeProf::TypedContext
Attributes
caller_ep[R]
mid[R]
Public Class Methods
new(caller_ep, mid)
click to toggle source
# File typeprof-0.21.8/lib/typeprof/analyzer.rb, line 62 def initialize(caller_ep, mid) @caller_ep = caller_ep @mid = mid end
Public Instance Methods
detailed_source_location(_pc)
click to toggle source
# File typeprof-0.21.8/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)
click to toggle source
# File typeprof-0.21.8/lib/typeprof/analyzer.rb, line 85 def replace_cref(cref) # What to do? end
source_location(_pc)
click to toggle source
# File typeprof-0.21.8/lib/typeprof/analyzer.rb, line 69 def source_location(_pc) if @caller_ep @caller_ep.source_location else "<typed-context:#{ @mid }>" end end