Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::Translation::Parser#build_ast
build_ast(program, offset_cache)
lib/prism/translation/parser.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/prism/translation/parser.rb, line 263
def build_ast(program, offset_cache)
program.accept(Compiler.new(self, offset_cache))
end
Build the parser gem AST from the prism AST.