Skip to content

Commit

Permalink
Stale code
Browse files Browse the repository at this point in the history
  • Loading branch information
castwide committed Nov 22, 2021
1 parent b52338a commit a89e399
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/solargraph/parser/rubyvm/class_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,6 @@ def map source
NodeProcessor.process(source.node, Region.new(source: source))
end

# def returns_from node
# return [] unless Parser.is_ast_node?(node)
# if node.type == :SCOPE
# # node.children.select { |n| n.is_a?(RubyVM::AbstractSyntaxTree::Node) }.map { |n| DeepInference.get_return_nodes(n) }.flatten
# DeepInference.get_return_nodes(node.children[2])
# else
# DeepInference.get_return_nodes(node)
# end
# end

def references source, name
if name.end_with?("=")
reg = /#{Regexp.escape name[0..-2]}\s*=/
Expand Down

0 comments on commit a89e399

Please sign in to comment.