aboutsummaryrefslogtreecommitdiffstats
path: root/node.h
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-04 09:18:08 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-04 09:18:08 +0000
commit5182e28411db9dc7c053a2c201a4785f64ce3527 (patch)
tree093ce6b8087cfcaeaf010fd2703c071a5f033d1f /node.h
parentb1b2fe38a06386a36773a0a19b5bbc2fe57441c4 (diff)
downloadruby-5182e28411db9dc7c053a2c201a4785f64ce3527.tar.gz
Make Ripper use NODE buffer
This is a follow-up of r60488. Not only the Ruby parser but also Ripper now use NODE buffer instead of NODE objects managed by GC. Now we can change the struct of NODEs so that it can keep detailed location information, perhaps (not tried yet). Note that, however, the first word of each NODE must be still compatible with RBasic structure. This is because Ripper handles NODEs and other objects uniformly; especially, it still uses `RB_TYPE_P(obj, T_NODE)` for distinguishing between NODEs and other objects. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.h')
0 files changed, 0 insertions, 0 deletions