In Files

  • typeprof-0.12.0/lib/typeprof/analyzer.rb

Class/Module Index [+]

Quicksearch

TypeProf::TypedContext

Attributes

caller_ep[R]
mid[R]

Public Class Methods

new(caller_ep, mid) click to toggle source
 
               # File typeprof-0.12.0/lib/typeprof/analyzer.rb, line 50
def initialize(caller_ep, mid)
  @caller_ep = caller_ep
  @mid = mid
end
            

Public Instance Methods

source_location(_pc) click to toggle source
 
               # File typeprof-0.12.0/lib/typeprof/analyzer.rb, line 57
def source_location(_pc)
  if @caller_ep
    @caller_ep.source_location
  else
    "<typed-context:#{ @mid }>"
  end
end