global
def exclusive_with?(other)
def exclusive_with?(other) return false unless other return false if may_jump_to_other_branch? other.each_ancestor(include_self: true) do |other_ancestor| if control_node.equal?(other_ancestor.control_node) return !child_node.equal?(other_ancestor.child_node) end end if parent parent.exclusive_with?(other) else false end end