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 59
attr_reader :caller_ep, :mid
#mid (readonly)
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 59
attr_reader :caller_ep, :mid
Instance Method Details
#replace_cref(cref)
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 69
def replace_cref(cref) # What to do? end
#source_location(_pc)
[ GitHub ]# File 'lib/typeprof/analyzer.rb', line 61
def source_location(_pc) if @caller_ep @caller_ep.source_location else "<typed-context:#{ @mid }>" end end