summaryrefslogtreecommitdiff
path: root/sample/optparse/subcommand.rb
diff options
context:
space:
mode:
authorMatt Valentine-House <matt@eightbitraptor.com>2023-10-06 14:29:47 +0100
committergit <svn-admin@ruby-lang.org>2023-10-09 10:16:01 +0000
commit0fdee133fccbd34af31f5f4ca530838920d8fc06 (patch)
tree9bb2f4bf0be5233c3c7cedfc45d6f5bb59ce23f0 /sample/optparse/subcommand.rb
parent8c2a4932331987586d583fa58a6e80920c6743c5 (diff)
[ruby/prism] Attach the ast node to the scope
So when building instruction sequences for a scope we can reference items from the ast node that requires the scope. This is useful for for loops, where the local variable tables from the parent scope will need to be referenced. https://github.com/ruby/prism/commit/426b1ca094
Diffstat (limited to 'sample/optparse/subcommand.rb')
0 files changed, 0 insertions, 0 deletions