class DeepCover::Node::CsendInnerSend
Public Instance Methods
flow_completion_count()
click to toggle source
# File lib/deep_cover/node/send.rb, line 83 def flow_completion_count return parent.parent.flow_completion_count if has_block? completion_tracker_hits end
has_block?()
click to toggle source
# File lib/deep_cover/node/send.rb, line 74 def has_block? parent.has_block? end
loc_hash()
click to toggle source
Calls superclass method
DeepCover::Node::SendBase#loc_hash
# File lib/deep_cover/node/send.rb, line 88 def loc_hash # This is only a partial Send, the receiver param and the dot are actually handled by the parent Csend. h = super.dup h[:expression] = h[:expression].with(begin_pos: h[:selector_begin].begin_pos) h end
rewrite()
click to toggle source
# File lib/deep_cover/node/send.rb, line 78 def rewrite # All the rest of the rewriting logic is in Csend '%{node});%{completion_tracker};' unless has_block? end