Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

SyntaxSuggest::CodeFrontier#holds_all_syntax_errors?

holds_all_syntax_errors?(block_array = @queue, can_cache: true)

Returns true if the document is valid with all lines removed. By default it checks all blocks in present in the frontier array, but can be used for arbitrary arrays of codeblocks as well