Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Prism::Serialize.load_tokens
load_tokens(source, serialized)
lib/prism/serialize.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/prism/serialize.rb, line 51
def self.load_tokens(source, serialized)
Loader.new(source, serialized).load_tokens_result
end
Deserialize the tokens represented by the given string into a parse result.