instance method
Prism::Translation::Parser#build_ast
build_ast(program, offset_cache)
lib/prism/translation/parser.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/translation/parser.rb, line 313
def build_ast(program, offset_cache)
program.accept(Compiler.new(self, offset_cache))
end
Build the parser gem AST from the prism AST.