Commit graph

6 commits

Author SHA1 Message Date
Kevin Newton
c384ef0799 [ruby/yarp] Introduce a BlockLocalVariableNode
This is a tradeoff that I think is worth it. Right now we have a
location list that tracks the location of each of the block locals.
Instead, I'd like to make that a node list that has a proper node
in each spot in the list. In doing so, we eliminate the need to have
a location list at all, making it simpler on all of the various
consumers as we have one fewer field type. There should be minimal
memory implications here since this syntax is exceedingly rare.

04d329ddf0
2023-09-05 18:41:51 +00:00
Jemma Issroff
82d84d741e [ruby/yarp] Added BlockNode case to ScopeNode, fixed ScopeNode to have body
8bd3f59621
2023-08-24 19:06:01 +00:00
Jemma Issroff
82e1434ef6 [ruby/yarp] Pulled scope node out of config.yml, added necessary void returns
926e6bdd88
2023-08-24 19:06:00 +00:00
Jemma Issroff
84b5274143
[ruby/yarp] Resync YARP (#8098) 2023-07-19 16:15:01 -04:00
Jemma Issroff
bfb933371d Manual YARP resync 2023-07-05 16:58:55 -04:00
Jemma Issroff
cc7f765f2c [Feature #19741] Sync all files in yarp
This commit is the initial sync of all files from ruby/yarp
into ruby/ruby. Notably, it does the following:

* Sync all ruby/yarp/lib/ files to ruby/ruby/lib/yarp
* Sync all ruby/yarp/src/ files to ruby/ruby/yarp/
* Sync all ruby/yarp/test/ files to ruby/ruby/test/yarp
2023-06-21 11:25:39 -07:00