instance method
Prism::Translation::Parser#build_tokens
build_tokens(tokens, offset_cache)
lib/prism/translation/parser.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/translation/parser.rb, line 325
def build_tokens(tokens, offset_cache)
Lexer.new(source_buffer, tokens, offset_cache).to_a
end
Build the parser gem tokens from the prism tokens.