Closed ryym closed 1 month ago
Closes https://github.com/ruby/prism/discussions/2621
Currently Prism recognizes the __END__ content and provides a way to access it in Ruby, C, and Java APIs, but Rust bindings does not have it. This PR adds the data_loc method to Rust API.
__END__
data_loc
Closes https://github.com/ruby/prism/discussions/2621
Currently Prism recognizes the
__END__
content and provides a way to access it in Ruby, C, and Java APIs, but Rust bindings does not have it. This PR adds thedata_loc
method to Rust API.