Commit graph

8 commits

Author SHA1 Message Date
Kevin Newton
568511f393 [ruby/prism] Handle single global variable character name
7a0af49997
2024-10-03 17:43:11 +00:00
Kevin Newton
72452f4387 [ruby/prism] Tests overhaul
6f886be0a4
2024-05-30 15:18:20 -04:00
Kevin Newton
f24bf2f9ae Do not rely on ripper for magic comment test 2024-04-03 18:06:20 +00:00
Kevin Newton
af7bf9e0d8 [ruby/prism] Provide options for reducing size
592128de4d
2024-03-20 17:32:03 -04:00
Kevin Newton
792804e32f [ruby/prism] Split up comments between leading and trailing
Also make them lazy to allocate the array, and also expose ParseResult#encoding.

08ec7683ae
2024-02-18 20:57:13 +00:00
Kevin Newton
9d1472496d [ruby/prism] Remove newlines from magic comment test
4a7be1fc50
2023-10-30 15:08:24 +00:00
Kevin Newton
9f16f07cf1 [ruby/prism] Additionally handle encoding comments in vim mode
bf9bdb9d82
2023-10-16 15:40:19 -07:00
Kevin Newton
39dd3343d8 [ruby/prism] Parse all magic comments
2b3d59f424
2023-10-16 15:40:19 -07:00