def find(snippet, context_from, tag_from)
      raise "must be passed snippet" unless snippet.is_a?(Snippet)

      found_tags = find_func(snippet, context_from, tag_from)
      found_tags.each do |tag_info|
        # remove self from deps graph
        tag = tag_info[:tag]
        dep_to[tag.to_path] ||= ::Set.new
        dep_to[tag.to_path].delete tag_from.to_path
      end
      found_tags
    end
def find(snippet, context_from, tag_from)
      raise "must be passed snippet" unless snippet.is_a?(Snippet)

      found_tags = find_func(snippet, context_from, tag_from)
      found_tags.each do |tag_info|
        # remove self from deps graph
        tag = tag_info[:tag]
        dep_to[tag.to_path] ||= ::Set.new
        dep_to[tag.to_path].delete tag_from.to_path
      end
      found_tags
    end
Constructor

 @param core [::SocialSnippet::Core]
 Find all missing depended snippets

 @param snippet [Snippet] The text of source code
 @param context_from [SocialSnippet::Context] The context of previous code
 @param tag_from [SocialSnippet::Tag] The previous tag