<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/prism/ruby/find_test.rb, branch master</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/prism] Prism.find</title>
<updated>2026-03-20T22:20:17+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2026-03-20T20:34:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5b4642bb31059d2de041b4f321ae9dbc924f79e2'/>
<id>5b4642bb31059d2de041b4f321ae9dbc924f79e2</id>
<content type='text'>
Take a method, unbound method, proc, or thread backtrace location.
This is our equivalent to RubyVM::AbstractSyntaxTree.of, and could
be leveraged in something like error highlight.

Note that this uses CRuby-specific APIs on CRuby, and falls back
to using location-based APIs when those aren't available.

https://github.com/ruby/prism/commit/02a93356a3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Take a method, unbound method, proc, or thread backtrace location.
This is our equivalent to RubyVM::AbstractSyntaxTree.of, and could
be leveraged in something like error highlight.

Note that this uses CRuby-specific APIs on CRuby, and falls back
to using location-based APIs when those aren't available.

https://github.com/ruby/prism/commit/02a93356a3
</pre>
</div>
</content>
</entry>
</feed>
