Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
SyntaxSuggest.use_prism_parser?
use_prism_parser?
lib/syntax_suggest/api.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/syntax_suggest/api.rb, line 42
def self.use_prism_parser?
defined?(Prism)
end
SyntaxSuggest.use_prism_parser? [Private]
Tells us if the prism parser is available for use or if we should fallback to Ripper