class RBS::WASM::Deserializer

Rebuilds RBS::AST objects from the binary buffer produced by rbs_serialize_node (src/serialize.c), driven by the generated SerializationSchema. This is the pure-Ruby counterpart of the C extensionโ€™s ast_translation.c, used when the parser runs inside WebAssembly (JRuby).

All locations are reconstructed through the public RBS::Location API, so the same code works whether RBS::Location is backed by the C extension (CRuby) or by a pure-Ruby implementation (JRuby).

Rebuilds RBS::AST objects from the binary buffer produced by rbs_serialize_node (src/serialize.c), driven by SerializationSchema.