Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

Prism::Serialize.load

load(input, serialized)

Deserialize the AST represented by the given string into a parse result.

See also .load_tokens also in 3.3