Commit graph

20 commits

Author SHA1 Message Date
Kevin Newton
1ce3d9acbf [ruby/prism] Fix xstring heredoc parser translator
4e0f703975
2024-02-26 14:48:17 +00:00
Gopal Patel
935d4fab62 [ruby/prism] Remove Ripper from public RBS, type-assert remaining issues
5fda7a0760
2024-02-24 03:39:23 +00:00
Gopal Patel
7556fd937c [ruby/prism] Split private types
0209d093ec
2024-02-24 03:39:22 +00:00
Gopal Patel
b9b0712556 [ruby/prism] Use steep to type check RBS and Ruby files
eabed9f4fd
2024-02-24 03:39:19 +00:00
Kevin Newton
5e0589cf52 [ruby/prism] Parse float values
9137226a52
2024-02-22 22:42:44 -05:00
Kevin Newton
af0a6ea1d5 [ruby/prism] Add an IntegerField for parsing integer values
120d8c0479
2024-02-22 22:42:44 -05:00
Philip Mueller
3c61222d68 [ruby/prism] all constant nodes should have full_name and full_name_parts methods
792265ae0b
2024-02-22 21:43:02 +00:00
Vinicius Stock
dedca31804 [ruby/prism] Fix full_name for constant path targets
84c10f3a2d
2024-02-13 14:09:19 +00:00
Kevin Newton
f12ebe1188 [ruby/prism] Add parser translation
8cdec8070c
2024-01-27 19:59:42 +00:00
Adam Hess
ac4046d34b [ruby/prism] switch unless to if
29bdbf4212

Co-authored-by: Kevin Newton <kddnewton@gmail.com>
2024-01-19 22:57:46 +00:00
Adam Hess
cfabe9c51c [ruby/prism] Handle stovetop start in constant path fullname
3a216e63fe
2024-01-19 22:57:45 +00:00
Kevin Newton
3a3fcf56d0 [ruby/prism] Fix rational when parsing non decimal integer
75d4331f7f
2024-01-03 17:18:02 +00:00
Kevin Newton
ec83bd7356 [ruby/prism] Provide heredoc? queries
e148e8fe6a
2023-12-01 18:46:52 +00:00
Vinicius Stock
7a9bb6d2a7 [ruby/prism] Fix constant path full name when parent is not a
constant
(https://github.com/ruby/prism/pull/1742)

* Raise if constant path parts contains nodes that can't be used to build full name

* Fix typo in constant path error documentation

Co-authored-by: Tim Morgan <tim@timmorgan.org>

---------

d73a053262

Co-authored-by: Tim Morgan <tim@timmorgan.org>
2023-11-21 16:39:27 +00:00
Kevin Newton
201853f4e1 [ruby/prism] Provide Parameters#signature for mirroring Method#parameters
90b3245528
2023-11-08 22:17:43 +00:00
Kevin Newton
79034fbd50 [ruby/prism] More Ruby docs
ca9a660f52
2023-11-01 13:10:29 -04:00
Kevin Newton
51ea82a770 [ruby/prism] Expose options on match last line nodes
0284b38861
2023-10-26 13:58:40 +00:00
Vinicius Stock
69b024d7cc [ruby/prism] Add full_name to ConstantPathNode and ConstantPathTargetNode
b390553028
2023-10-06 01:57:34 +00:00
Kevin Newton
4f73a7c2f7 Sync to prism rename commits 2023-09-27 13:57:38 -04:00
Kevin Newton
8ab56869a6 Rename YARP filepaths to prism filepaths 2023-09-27 13:57:38 -04:00
Renamed from lib/yarp/node_ext.rb (Browse further)