<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/prism/options.h, branch v3_3_11</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] Convert start line to signed integers</title>
<updated>2023-11-29T13:56:19+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2023-11-29T10:46:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2af82e23165180f20ca2af374aedb7a45dedcc20'/>
<id>2af82e23165180f20ca2af374aedb7a45dedcc20</id>
<content type='text'>
Ruby allows for 0 or negative line start, this is often used
with `eval` calls to get a correct offset when prefixing a snippet.

e.g.

```ruby
caller = caller_locations(1, 1).first
class_eval &lt;&lt;~RUBY, caller.path, caller.line - 2
  # frozen_string_literal: true
  def some_method
    #{caller_provided_code_snippet}
  end
RUBY
```

https://github.com/ruby/prism/commit/0d14ed1452
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ruby allows for 0 or negative line start, this is often used
with `eval` calls to get a correct offset when prefixing a snippet.

e.g.

```ruby
caller = caller_locations(1, 1).first
class_eval &lt;&lt;~RUBY, caller.path, caller.line - 2
  # frozen_string_literal: true
  def some_method
    #{caller_provided_code_snippet}
  end
RUBY
```

https://github.com/ruby/prism/commit/0d14ed1452
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Fix up lint</title>
<updated>2023-11-03T14:13:50+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-11-02T22:12:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=aab2a6a8a3166c9d3eeaf7a41191afde515e6271'/>
<id>aab2a6a8a3166c9d3eeaf7a41191afde515e6271</id>
<content type='text'>
https://github.com/ruby/prism/commit/4f3a3e3ec1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/4f3a3e3ec1
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Wire up options through the Java parser</title>
<updated>2023-11-03T14:13:50+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-11-02T19:42:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8587d9a8bff3f329b3ebaddc0764220aa1879a84'/>
<id>8587d9a8bff3f329b3ebaddc0764220aa1879a84</id>
<content type='text'>
https://github.com/ruby/prism/commit/13fa262669
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/13fa262669
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Wire up options through the FFI API</title>
<updated>2023-11-03T14:13:49+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-11-02T18:01:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=05f5c545d232554b6ffb183d6948ad37f46df53b'/>
<id>05f5c545d232554b6ffb183d6948ad37f46df53b</id>
<content type='text'>
https://github.com/ruby/prism/commit/f0aa8ad93b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/f0aa8ad93b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Create an options struct for passing all of the possible options</title>
<updated>2023-11-03T14:13:49+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2023-11-02T15:15:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2a0f2b776325f949ba6d311b0d90cbaaea825b63'/>
<id>2a0f2b776325f949ba6d311b0d90cbaaea825b63</id>
<content type='text'>
https://github.com/ruby/prism/commit/99e81619de
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/99e81619de
</pre>
</div>
</content>
</entry>
</feed>
