Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
SyntaxSuggest::CodeSearch#expand_existing
expand_existing
lib/syntax_suggest/code_search.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/syntax_suggest/code_search.rb, line 112
def expand_existing
block = frontier.pop
return unless block
record(block: block, name: "before-expand")
block = @block_expand.call(block)
push(block, name: "expand")
end
Given an already existing block in the frontier, expand it to see if it contains our invalid syntax