debase-ruby_core_source 3.3.6 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -0
  3. data/CHANGELOG.md +6 -0
  4. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/builtin.h +7 -1
  5. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/darray.h +1 -3
  6. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/id.h +5 -0
  7. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/insns.inc +2 -0
  8. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/insns_info.inc +310 -175
  9. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/basic_operators.h +1 -0
  10. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/bits.h +82 -0
  11. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/encoding.h +2 -0
  12. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/error.h +26 -0
  13. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/fixnum.h +1 -0
  14. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/gc.h +14 -6
  15. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/imemo.h +6 -1
  16. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/io.h +1 -1
  17. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/parse.h +2 -1
  18. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/proc.h +1 -0
  19. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/ractor.h +4 -0
  20. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/sanitizers.h +31 -39
  21. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/string.h +22 -10
  22. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/thread.h +23 -0
  23. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/vm.h +1 -1
  24. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/method.h +1 -0
  25. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/optunifs.inc +1 -1
  26. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/parse.h +2 -2
  27. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism/ast.h +427 -3
  28. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism/defines.h +8 -7
  29. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism/diagnostic.h +1 -0
  30. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism/extension.h +1 -1
  31. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/prism/prism.h +47 -11
  32. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism/version.h +2 -2
  33. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism_compile.h +5 -5
  34. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/ractor_core.h +6 -6
  35. data/lib/debase/ruby_core_source/ruby-3.4.0/revision.h +5 -0
  36. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/rubyparser.h +3 -2
  37. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/thread_pthread.h +0 -1
  38. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/version.h +1 -1
  39. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/vm.inc +151 -88
  40. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/vm_core.h +40 -12
  41. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/vm_sync.h +3 -3
  42. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/vmtc.inc +2 -0
  43. data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/yjit.h +1 -0
  44. data/lib/debase/ruby_core_source/version.rb +1 -1
  45. metadata +147 -293
  46. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/darray.h +0 -191
  47. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/debug_counter.h +0 -423
  48. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/dln.h +0 -34
  49. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/id.h +0 -343
  50. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/insns.inc +0 -259
  51. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/insns_info.inc +0 -9530
  52. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/array.h +0 -151
  53. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/basic_operators.h +0 -63
  54. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/bits.h +0 -568
  55. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/class.h +0 -283
  56. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/error.h +0 -216
  57. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/fixnum.h +0 -184
  58. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/gc.h +0 -334
  59. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/hash.h +0 -191
  60. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/imemo.h +0 -260
  61. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/io.h +0 -140
  62. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/parse.h +0 -117
  63. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/ractor.h +0 -6
  64. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/sanitizers.h +0 -297
  65. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/string.h +0 -182
  66. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/thread.h +0 -79
  67. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/vm.h +0 -137
  68. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/known_errors.inc +0 -1419
  69. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/method.h +0 -255
  70. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/optunifs.inc +0 -43
  71. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/parse.h +0 -243
  72. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/ast.h +0 -6245
  73. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/defines.h +0 -206
  74. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/diagnostic.h +0 -433
  75. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/extension.h +0 -19
  76. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/node.h +0 -150
  77. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/options.h +0 -305
  78. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/parser.h +0 -891
  79. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/regexp.h +0 -33
  80. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/static_literals.h +0 -120
  81. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_char.h +0 -205
  82. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_constant_pool.h +0 -226
  83. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_integer.h +0 -119
  84. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_newline_list.h +0 -102
  85. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_string.h +0 -174
  86. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_string_list.h +0 -44
  87. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/version.h +0 -29
  88. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism_compile.h +0 -88
  89. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/ractor_core.h +0 -393
  90. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/regint.h +0 -1010
  91. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/revision.h +0 -5
  92. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/rubyparser.h +0 -1430
  93. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/shape.h +0 -233
  94. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/symbol.h +0 -118
  95. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/thread_pthread.h +0 -166
  96. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/version.h +0 -69
  97. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vm.inc +0 -5643
  98. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vm_callinfo.h +0 -605
  99. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vm_core.h +0 -2236
  100. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vm_insnhelper.h +0 -272
  101. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vm_sync.h +0 -137
  102. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vmtc.inc +0 -253
  103. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/addr2line.h +0 -22
  104. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/builtin.h +0 -119
  105. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/ccan/build_assert/build_assert.h +0 -40
  106. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/ccan/check_type/check_type.h +0 -63
  107. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/ccan/container_of/container_of.h +0 -142
  108. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/ccan/list/list.h +0 -791
  109. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/ccan/str/str.h +0 -17
  110. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/constant.h +0 -53
  111. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/encindex.h +0 -70
  112. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/eval_intern.h +0 -324
  113. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/hrtime.h +0 -237
  114. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/id_table.h +0 -39
  115. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/bignum.h +0 -244
  116. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/cmdlineopt.h +0 -65
  117. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/compar.h +0 -29
  118. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/compile.h +0 -34
  119. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/compilers.h +0 -107
  120. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/complex.h +0 -29
  121. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/cont.h +0 -35
  122. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/dir.h +0 -16
  123. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/enc.h +0 -19
  124. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/encoding.h +0 -36
  125. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/enum.h +0 -18
  126. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/enumerator.h +0 -21
  127. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/eval.h +0 -33
  128. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/file.h +0 -38
  129. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/inits.h +0 -47
  130. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/load.h +0 -18
  131. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/loadpath.h +0 -16
  132. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/math.h +0 -23
  133. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/missing.h +0 -19
  134. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/numeric.h +0 -274
  135. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/object.h +0 -63
  136. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/proc.h +0 -30
  137. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/process.h +0 -124
  138. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/random.h +0 -17
  139. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/range.h +0 -40
  140. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/rational.h +0 -71
  141. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/re.h +0 -28
  142. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/ruby_parser.h +0 -102
  143. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/serial.h +0 -23
  144. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/signal.h +0 -24
  145. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/st.h +0 -11
  146. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/static_assert.h +0 -16
  147. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/struct.h +0 -127
  148. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/symbol.h +0 -45
  149. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/time.h +0 -34
  150. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/transcode.h +0 -23
  151. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/util.h +0 -27
  152. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/variable.h +0 -72
  153. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal/warnings.h +0 -16
  154. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/internal.h +0 -108
  155. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/iseq.h +0 -340
  156. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/node.h +0 -111
  157. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/node_name.inc +0 -224
  158. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/optinsn.inc +0 -128
  159. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/parser_bits.h +0 -564
  160. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/parser_node.h +0 -32
  161. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/parser_st.h +0 -162
  162. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/parser_value.h +0 -106
  163. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/encoding.h +0 -283
  164. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/pack.h +0 -163
  165. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/prettyprint.h +0 -34
  166. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/prism.h +0 -336
  167. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/util/pm_buffer.h +0 -218
  168. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/util/pm_list.h +0 -97
  169. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/util/pm_memchr.h +0 -29
  170. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/util/pm_strncasecmp.h +0 -32
  171. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/prism/util/pm_strpbrk.h +0 -46
  172. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/probes_helper.h +0 -42
  173. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/regenc.h +0 -254
  174. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/regparse.h +0 -371
  175. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/revision.h +0 -5
  176. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/rjit.h +0 -101
  177. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/rjit_c.h +0 -165
  178. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/ruby_assert.h +0 -14
  179. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/ruby_atomic.h +0 -23
  180. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/siphash.h +0 -48
  181. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/thread_none.h +0 -21
  182. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/thread_win32.h +0 -58
  183. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/timev.h +0 -58
  184. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/transcode_data.h +0 -138
  185. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/variable.h +0 -39
  186. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/vm_call_iseq_optimized.inc +0 -244
  187. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/vm_debug.h +0 -124
  188. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/vm_exec.h +0 -199
  189. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/vm_opts.h +0 -67
  190. data/lib/debase/ruby_core_source/ruby-3.4.0-preview2/yjit.h +0 -79
  191. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/addr2line.h +0 -0
  192. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/ccan/build_assert/build_assert.h +0 -0
  193. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/ccan/check_type/check_type.h +0 -0
  194. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/ccan/container_of/container_of.h +0 -0
  195. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/ccan/list/list.h +0 -0
  196. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/ccan/str/str.h +0 -0
  197. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/constant.h +0 -0
  198. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/debug_counter.h +0 -0
  199. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/dln.h +0 -0
  200. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/encindex.h +0 -0
  201. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/eval_intern.h +0 -0
  202. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/hrtime.h +0 -0
  203. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/id_table.h +0 -0
  204. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/array.h +0 -0
  205. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/bignum.h +0 -0
  206. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/class.h +0 -0
  207. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/cmdlineopt.h +0 -0
  208. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/compar.h +0 -0
  209. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/compile.h +0 -0
  210. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/compilers.h +0 -0
  211. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/complex.h +0 -0
  212. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/cont.h +0 -0
  213. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/dir.h +0 -0
  214. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/enc.h +0 -0
  215. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/enum.h +0 -0
  216. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/enumerator.h +0 -0
  217. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/eval.h +0 -0
  218. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/file.h +0 -0
  219. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/internal/hash.h +0 -0
  220. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/inits.h +0 -0
  221. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/load.h +0 -0
  222. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/loadpath.h +0 -0
  223. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/math.h +0 -0
  224. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/missing.h +0 -0
  225. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/numeric.h +0 -0
  226. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/object.h +0 -0
  227. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/process.h +0 -0
  228. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/random.h +0 -0
  229. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/range.h +0 -0
  230. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/rational.h +0 -0
  231. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/re.h +0 -0
  232. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/ruby_parser.h +0 -0
  233. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/serial.h +0 -0
  234. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/signal.h +0 -0
  235. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/st.h +0 -0
  236. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/static_assert.h +0 -0
  237. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/struct.h +0 -0
  238. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/symbol.h +0 -0
  239. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/time.h +0 -0
  240. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/transcode.h +0 -0
  241. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/util.h +0 -0
  242. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/variable.h +0 -0
  243. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal/warnings.h +0 -0
  244. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/internal.h +0 -0
  245. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/iseq.h +0 -0
  246. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/known_errors.inc +0 -0
  247. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/node.h +0 -0
  248. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/node_name.inc +0 -0
  249. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/optinsn.inc +0 -0
  250. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/parser_bits.h +0 -0
  251. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/parser_node.h +0 -0
  252. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/parser_st.h +0 -0
  253. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/parser_value.h +0 -0
  254. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/prism/encoding.h +0 -0
  255. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism/node.h +0 -0
  256. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism/options.h +0 -0
  257. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/prism/pack.h +0 -0
  258. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism/parser.h +0 -0
  259. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/prism/prettyprint.h +0 -0
  260. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism/regexp.h +0 -0
  261. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism/static_literals.h +0 -0
  262. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/prism/util/pm_buffer.h +0 -0
  263. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism/util/pm_char.h +0 -0
  264. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism/util/pm_constant_pool.h +0 -0
  265. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism/util/pm_integer.h +0 -0
  266. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/prism/util/pm_list.h +0 -0
  267. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/prism/util/pm_memchr.h +0 -0
  268. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism/util/pm_newline_list.h +0 -0
  269. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/prism/util/pm_string.h +0 -0
  270. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/prism/util/pm_strncasecmp.h +0 -0
  271. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/prism/util/pm_strpbrk.h +0 -0
  272. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/probes_helper.h +0 -0
  273. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/regenc.h +0 -0
  274. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/regint.h +0 -0
  275. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/regparse.h +0 -0
  276. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/rjit.h +0 -0
  277. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/rjit_c.h +0 -0
  278. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/ruby_assert.h +0 -0
  279. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/ruby_atomic.h +0 -0
  280. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/shape.h +0 -0
  281. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/siphash.h +0 -0
  282. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/symbol.h +0 -0
  283. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/thread_none.h +0 -0
  284. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/thread_win32.h +0 -0
  285. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/timev.h +0 -0
  286. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/transcode_data.h +0 -0
  287. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/variable.h +0 -0
  288. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/vm_call_iseq_optimized.inc +0 -0
  289. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/vm_callinfo.h +0 -0
  290. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/vm_debug.h +0 -0
  291. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/vm_exec.h +0 -0
  292. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview2 → ruby-3.4.0}/vm_insnhelper.h +0 -0
  293. /data/lib/debase/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0}/vm_opts.h +0 -0
@@ -1191,6 +1191,11 @@ typedef struct pm_alias_method_node {
1191
1191
 
1192
1192
  /**
1193
1193
  * AliasMethodNode#keyword_loc
1194
+ *
1195
+ * Represents the location of the `alias` keyword.
1196
+ *
1197
+ * alias foo bar
1198
+ * ^^^^^
1194
1199
  */
1195
1200
  pm_location_t keyword_loc;
1196
1201
  } pm_alias_method_node_t;
@@ -1323,6 +1328,11 @@ typedef struct pm_arguments_node {
1323
1328
 
1324
1329
  /**
1325
1330
  * ArgumentsNode#arguments
1331
+ *
1332
+ * The list of arguments, if present. These can be any [non-void expressions](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
1333
+ *
1334
+ * foo(bar, baz)
1335
+ * ^^^^^^^^
1326
1336
  */
1327
1337
  struct pm_node_list arguments;
1328
1338
  } pm_arguments_node_t;
@@ -1390,8 +1400,8 @@ typedef struct pm_array_node {
1390
1400
  * foo in [1, 2]
1391
1401
  * ^^^^^^^^^^^^^
1392
1402
  *
1393
- * foo in *1
1394
- * ^^^^^^^^^
1403
+ * foo in *bar
1404
+ * ^^^^^^^^^^^
1395
1405
  *
1396
1406
  * foo in Bar[]
1397
1407
  * ^^^^^^^^^^^^
@@ -1415,26 +1425,51 @@ typedef struct pm_array_pattern_node {
1415
1425
 
1416
1426
  /**
1417
1427
  * ArrayPatternNode#requireds
1428
+ *
1429
+ * Represents the required elements of the array pattern.
1430
+ *
1431
+ * foo in [1, 2]
1432
+ * ^ ^
1418
1433
  */
1419
1434
  struct pm_node_list requireds;
1420
1435
 
1421
1436
  /**
1422
1437
  * ArrayPatternNode#rest
1438
+ *
1439
+ * Represents the rest element of the array pattern.
1440
+ *
1441
+ * foo in *bar
1442
+ * ^^^^
1423
1443
  */
1424
1444
  struct pm_node *rest;
1425
1445
 
1426
1446
  /**
1427
1447
  * ArrayPatternNode#posts
1448
+ *
1449
+ * Represents the elements after the rest element of the array pattern.
1450
+ *
1451
+ * foo in *bar, baz
1452
+ * ^^^
1428
1453
  */
1429
1454
  struct pm_node_list posts;
1430
1455
 
1431
1456
  /**
1432
1457
  * ArrayPatternNode#opening_loc
1458
+ *
1459
+ * Represents the opening location of the array pattern.
1460
+ *
1461
+ * foo in [1, 2]
1462
+ * ^
1433
1463
  */
1434
1464
  pm_location_t opening_loc;
1435
1465
 
1436
1466
  /**
1437
1467
  * ArrayPatternNode#closing_loc
1468
+ *
1469
+ * Represents the closing location of the array pattern.
1470
+ *
1471
+ * foo in [1, 2]
1472
+ * ^
1438
1473
  */
1439
1474
  pm_location_t closing_loc;
1440
1475
  } pm_array_pattern_node_t;
@@ -1584,31 +1619,61 @@ typedef struct pm_begin_node {
1584
1619
 
1585
1620
  /**
1586
1621
  * BeginNode#begin_keyword_loc
1622
+ *
1623
+ * Represents the location of the `begin` keyword.
1624
+ *
1625
+ * begin x end
1626
+ * ^^^^^
1587
1627
  */
1588
1628
  pm_location_t begin_keyword_loc;
1589
1629
 
1590
1630
  /**
1591
1631
  * BeginNode#statements
1632
+ *
1633
+ * Represents the statements within the begin block.
1634
+ *
1635
+ * begin x end
1636
+ * ^
1592
1637
  */
1593
1638
  struct pm_statements_node *statements;
1594
1639
 
1595
1640
  /**
1596
1641
  * BeginNode#rescue_clause
1642
+ *
1643
+ * Represents the rescue clause within the begin block.
1644
+ *
1645
+ * begin x; rescue y; end
1646
+ * ^^^^^^^^
1597
1647
  */
1598
1648
  struct pm_rescue_node *rescue_clause;
1599
1649
 
1600
1650
  /**
1601
1651
  * BeginNode#else_clause
1652
+ *
1653
+ * Represents the else clause within the begin block.
1654
+ *
1655
+ * begin x; rescue y; else z; end
1656
+ * ^^^^^^
1602
1657
  */
1603
1658
  struct pm_else_node *else_clause;
1604
1659
 
1605
1660
  /**
1606
1661
  * BeginNode#ensure_clause
1662
+ *
1663
+ * Represents the ensure clause within the begin block.
1664
+ *
1665
+ * begin x; ensure y; end
1666
+ * ^^^^^^^^
1607
1667
  */
1608
1668
  struct pm_ensure_node *ensure_clause;
1609
1669
 
1610
1670
  /**
1611
1671
  * BeginNode#end_keyword_loc
1672
+ *
1673
+ * Represents the location of the `end` keyword.
1674
+ *
1675
+ * begin x end
1676
+ * ^^^
1612
1677
  */
1613
1678
  pm_location_t end_keyword_loc;
1614
1679
  } pm_begin_node_t;
@@ -1632,11 +1697,21 @@ typedef struct pm_block_argument_node {
1632
1697
 
1633
1698
  /**
1634
1699
  * BlockArgumentNode#expression
1700
+ *
1701
+ * The expression that is being passed as a block argument. This can be any [non-void expression](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
1702
+ *
1703
+ * foo(&args)
1704
+ * ^^^^^
1635
1705
  */
1636
1706
  struct pm_node *expression;
1637
1707
 
1638
1708
  /**
1639
1709
  * BlockArgumentNode#operator_loc
1710
+ *
1711
+ * Represents the location of the `&` operator.
1712
+ *
1713
+ * foo(&args)
1714
+ * ^
1640
1715
  */
1641
1716
  pm_location_t operator_loc;
1642
1717
  } pm_block_argument_node_t;
@@ -1663,6 +1738,11 @@ typedef struct pm_block_local_variable_node {
1663
1738
 
1664
1739
  /**
1665
1740
  * BlockLocalVariableNode#name
1741
+ *
1742
+ * The name of the block local variable.
1743
+ *
1744
+ * a { |; b| } # name `:b`
1745
+ * ^
1666
1746
  */
1667
1747
  pm_constant_id_t name;
1668
1748
  } pm_block_local_variable_node_t;
@@ -1686,26 +1766,55 @@ typedef struct pm_block_node {
1686
1766
 
1687
1767
  /**
1688
1768
  * BlockNode#locals
1769
+ *
1770
+ * The local variables declared in the block.
1771
+ *
1772
+ * [1, 2, 3].each { |i| puts x } # locals: [:i]
1773
+ * ^
1689
1774
  */
1690
1775
  pm_constant_id_list_t locals;
1691
1776
 
1692
1777
  /**
1693
1778
  * BlockNode#parameters
1779
+ *
1780
+ * The parameters of the block.
1781
+ *
1782
+ * [1, 2, 3].each { |i| puts x }
1783
+ * ^^^
1784
+ * [1, 2, 3].each { puts _1 }
1785
+ * ^^^^^^^^^^^
1786
+ * [1, 2, 3].each { puts it }
1787
+ * ^^^^^^^^^^^
1694
1788
  */
1695
1789
  struct pm_node *parameters;
1696
1790
 
1697
1791
  /**
1698
1792
  * BlockNode#body
1793
+ *
1794
+ * The body of the block.
1795
+ *
1796
+ * [1, 2, 3].each { |i| puts x }
1797
+ * ^^^^^^
1699
1798
  */
1700
1799
  struct pm_node *body;
1701
1800
 
1702
1801
  /**
1703
1802
  * BlockNode#opening_loc
1803
+ *
1804
+ * Represents the location of the opening `|`.
1805
+ *
1806
+ * [1, 2, 3].each { |i| puts x }
1807
+ * ^
1704
1808
  */
1705
1809
  pm_location_t opening_loc;
1706
1810
 
1707
1811
  /**
1708
1812
  * BlockNode#closing_loc
1813
+ *
1814
+ * Represents the location of the closing `|`.
1815
+ *
1816
+ * [1, 2, 3].each { |i| puts x }
1817
+ * ^
1709
1818
  */
1710
1819
  pm_location_t closing_loc;
1711
1820
  } pm_block_node_t;
@@ -1733,16 +1842,33 @@ typedef struct pm_block_parameter_node {
1733
1842
 
1734
1843
  /**
1735
1844
  * BlockParameterNode#name
1845
+ *
1846
+ * The name of the block parameter.
1847
+ *
1848
+ * def a(&b) # name `:b`
1849
+ * ^
1850
+ * end
1736
1851
  */
1737
1852
  pm_constant_id_t name;
1738
1853
 
1739
1854
  /**
1740
1855
  * BlockParameterNode#name_loc
1856
+ *
1857
+ * Represents the location of the block parameter name.
1858
+ *
1859
+ * def a(&b)
1860
+ * ^
1741
1861
  */
1742
1862
  pm_location_t name_loc;
1743
1863
 
1744
1864
  /**
1745
1865
  * BlockParameterNode#operator_loc
1866
+ *
1867
+ * Represents the location of the `&` operator.
1868
+ *
1869
+ * def a(&b)
1870
+ * ^
1871
+ * end
1746
1872
  */
1747
1873
  pm_location_t operator_loc;
1748
1874
  } pm_block_parameter_node_t;
@@ -1770,21 +1896,57 @@ typedef struct pm_block_parameters_node {
1770
1896
 
1771
1897
  /**
1772
1898
  * BlockParametersNode#parameters
1899
+ *
1900
+ * Represents the parameters of the block.
1901
+ *
1902
+ * -> (a, b = 1; local) { }
1903
+ * ^^^^^^^^
1904
+ *
1905
+ * foo do |a, b = 1; local|
1906
+ * ^^^^^^^^
1907
+ * end
1773
1908
  */
1774
1909
  struct pm_parameters_node *parameters;
1775
1910
 
1776
1911
  /**
1777
1912
  * BlockParametersNode#locals
1913
+ *
1914
+ * Represents the local variables of the block.
1915
+ *
1916
+ * -> (a, b = 1; local) { }
1917
+ * ^^^^^
1918
+ *
1919
+ * foo do |a, b = 1; local|
1920
+ * ^^^^^
1921
+ * end
1778
1922
  */
1779
1923
  struct pm_node_list locals;
1780
1924
 
1781
1925
  /**
1782
1926
  * BlockParametersNode#opening_loc
1927
+ *
1928
+ * Represents the opening location of the block parameters.
1929
+ *
1930
+ * -> (a, b = 1; local) { }
1931
+ * ^
1932
+ *
1933
+ * foo do |a, b = 1; local|
1934
+ * ^
1935
+ * end
1783
1936
  */
1784
1937
  pm_location_t opening_loc;
1785
1938
 
1786
1939
  /**
1787
1940
  * BlockParametersNode#closing_loc
1941
+ *
1942
+ * Represents the closing location of the block parameters.
1943
+ *
1944
+ * -> (a, b = 1; local) { }
1945
+ * ^
1946
+ *
1947
+ * foo do |a, b = 1; local|
1948
+ * ^
1949
+ * end
1788
1950
  */
1789
1951
  pm_location_t closing_loc;
1790
1952
  } pm_block_parameters_node_t;
@@ -1852,36 +2014,71 @@ typedef struct pm_call_and_write_node {
1852
2014
 
1853
2015
  /**
1854
2016
  * CallAndWriteNode#receiver
2017
+ *
2018
+ * The object that the method is being called on. This can be either `nil` or any [non-void expression](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
2019
+ *
2020
+ * foo.bar &&= value
2021
+ * ^^^
1855
2022
  */
1856
2023
  struct pm_node *receiver;
1857
2024
 
1858
2025
  /**
1859
2026
  * CallAndWriteNode#call_operator_loc
2027
+ *
2028
+ * Represents the location of the call operator.
2029
+ *
2030
+ * foo.bar &&= value
2031
+ * ^
1860
2032
  */
1861
2033
  pm_location_t call_operator_loc;
1862
2034
 
1863
2035
  /**
1864
2036
  * CallAndWriteNode#message_loc
2037
+ *
2038
+ * Represents the location of the message.
2039
+ *
2040
+ * foo.bar &&= value
2041
+ * ^^^
1865
2042
  */
1866
2043
  pm_location_t message_loc;
1867
2044
 
1868
2045
  /**
1869
2046
  * CallAndWriteNode#read_name
2047
+ *
2048
+ * Represents the name of the method being called.
2049
+ *
2050
+ * foo.bar &&= value # read_name `:bar`
2051
+ * ^^^
1870
2052
  */
1871
2053
  pm_constant_id_t read_name;
1872
2054
 
1873
2055
  /**
1874
2056
  * CallAndWriteNode#write_name
2057
+ *
2058
+ * Represents the name of the method being written to.
2059
+ *
2060
+ * foo.bar &&= value # write_name `:bar=`
2061
+ * ^^^
1875
2062
  */
1876
2063
  pm_constant_id_t write_name;
1877
2064
 
1878
2065
  /**
1879
2066
  * CallAndWriteNode#operator_loc
2067
+ *
2068
+ * Represents the location of the operator.
2069
+ *
2070
+ * foo.bar &&= value
2071
+ * ^^^
1880
2072
  */
1881
2073
  pm_location_t operator_loc;
1882
2074
 
1883
2075
  /**
1884
2076
  * CallAndWriteNode#value
2077
+ *
2078
+ * Represents the value being assigned.
2079
+ *
2080
+ * foo.bar &&= value
2081
+ * ^^^^^
1885
2082
  */
1886
2083
  struct pm_node *value;
1887
2084
  } pm_call_and_write_node_t;
@@ -1942,36 +2139,73 @@ typedef struct pm_call_node {
1942
2139
 
1943
2140
  /**
1944
2141
  * CallNode#call_operator_loc
2142
+ *
2143
+ * Represents the location of the call operator.
2144
+ *
2145
+ * foo.bar
2146
+ * ^
2147
+ *
2148
+ * foo&.bar
2149
+ * ^^
1945
2150
  */
1946
2151
  pm_location_t call_operator_loc;
1947
2152
 
1948
2153
  /**
1949
2154
  * CallNode#name
2155
+ *
2156
+ * Represents the name of the method being called.
2157
+ *
2158
+ * foo.bar # name `:foo`
2159
+ * ^^^
1950
2160
  */
1951
2161
  pm_constant_id_t name;
1952
2162
 
1953
2163
  /**
1954
2164
  * CallNode#message_loc
2165
+ *
2166
+ * Represents the location of the message.
2167
+ *
2168
+ * foo.bar
2169
+ * ^^^
1955
2170
  */
1956
2171
  pm_location_t message_loc;
1957
2172
 
1958
2173
  /**
1959
2174
  * CallNode#opening_loc
2175
+ *
2176
+ * Represents the location of the left parenthesis.
2177
+ * foo(bar)
2178
+ * ^
1960
2179
  */
1961
2180
  pm_location_t opening_loc;
1962
2181
 
1963
2182
  /**
1964
2183
  * CallNode#arguments
2184
+ *
2185
+ * Represents the arguments to the method call. These can be any [non-void expressions](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
2186
+ *
2187
+ * foo(bar)
2188
+ * ^^^
1965
2189
  */
1966
2190
  struct pm_arguments_node *arguments;
1967
2191
 
1968
2192
  /**
1969
2193
  * CallNode#closing_loc
2194
+ *
2195
+ * Represents the location of the right parenthesis.
2196
+ *
2197
+ * foo(bar)
2198
+ * ^
1970
2199
  */
1971
2200
  pm_location_t closing_loc;
1972
2201
 
1973
2202
  /**
1974
2203
  * CallNode#block
2204
+ *
2205
+ * Represents the block that is being passed to the method.
2206
+ *
2207
+ * foo { |a| a }
2208
+ * ^^^^^^^^^
1975
2209
  */
1976
2210
  struct pm_node *block;
1977
2211
  } pm_call_node_t;
@@ -2001,41 +2235,81 @@ typedef struct pm_call_operator_write_node {
2001
2235
 
2002
2236
  /**
2003
2237
  * CallOperatorWriteNode#receiver
2238
+ *
2239
+ * The object that the method is being called on. This can be either `nil` or any [non-void expressions](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
2240
+ *
2241
+ * foo.bar += value
2242
+ * ^^^
2004
2243
  */
2005
2244
  struct pm_node *receiver;
2006
2245
 
2007
2246
  /**
2008
2247
  * CallOperatorWriteNode#call_operator_loc
2248
+ *
2249
+ * Represents the location of the call operator.
2250
+ *
2251
+ * foo.bar += value
2252
+ * ^
2009
2253
  */
2010
2254
  pm_location_t call_operator_loc;
2011
2255
 
2012
2256
  /**
2013
2257
  * CallOperatorWriteNode#message_loc
2258
+ *
2259
+ * Represents the location of the message.
2260
+ *
2261
+ * foo.bar += value
2262
+ * ^^^
2014
2263
  */
2015
2264
  pm_location_t message_loc;
2016
2265
 
2017
2266
  /**
2018
2267
  * CallOperatorWriteNode#read_name
2268
+ *
2269
+ * Represents the name of the method being called.
2270
+ *
2271
+ * foo.bar += value # read_name `:bar`
2272
+ * ^^^
2019
2273
  */
2020
2274
  pm_constant_id_t read_name;
2021
2275
 
2022
2276
  /**
2023
2277
  * CallOperatorWriteNode#write_name
2278
+ *
2279
+ * Represents the name of the method being written to.
2280
+ *
2281
+ * foo.bar += value # write_name `:bar=`
2282
+ * ^^^
2024
2283
  */
2025
2284
  pm_constant_id_t write_name;
2026
2285
 
2027
2286
  /**
2028
2287
  * CallOperatorWriteNode#binary_operator
2288
+ *
2289
+ * Represents the binary operator being used.
2290
+ *
2291
+ * foo.bar += value # binary_operator `:+`
2292
+ * ^
2029
2293
  */
2030
2294
  pm_constant_id_t binary_operator;
2031
2295
 
2032
2296
  /**
2033
2297
  * CallOperatorWriteNode#binary_operator_loc
2298
+ *
2299
+ * Represents the location of the binary operator.
2300
+ *
2301
+ * foo.bar += value
2302
+ * ^^
2034
2303
  */
2035
2304
  pm_location_t binary_operator_loc;
2036
2305
 
2037
2306
  /**
2038
2307
  * CallOperatorWriteNode#value
2308
+ *
2309
+ * Represents the value being assigned.
2310
+ *
2311
+ * foo.bar += value
2312
+ * ^^^^^
2039
2313
  */
2040
2314
  struct pm_node *value;
2041
2315
  } pm_call_operator_write_node_t;
@@ -2065,36 +2339,71 @@ typedef struct pm_call_or_write_node {
2065
2339
 
2066
2340
  /**
2067
2341
  * CallOrWriteNode#receiver
2342
+ *
2343
+ * The object that the method is being called on. This can be either `nil` or any [non-void expressions](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
2344
+ *
2345
+ * foo.bar ||= value
2346
+ * ^^^
2068
2347
  */
2069
2348
  struct pm_node *receiver;
2070
2349
 
2071
2350
  /**
2072
2351
  * CallOrWriteNode#call_operator_loc
2352
+ *
2353
+ * Represents the location of the call operator.
2354
+ *
2355
+ * foo.bar ||= value
2356
+ * ^
2073
2357
  */
2074
2358
  pm_location_t call_operator_loc;
2075
2359
 
2076
2360
  /**
2077
2361
  * CallOrWriteNode#message_loc
2362
+ *
2363
+ * Represents the location of the message.
2364
+ *
2365
+ * foo.bar ||= value
2366
+ * ^^^
2078
2367
  */
2079
2368
  pm_location_t message_loc;
2080
2369
 
2081
2370
  /**
2082
2371
  * CallOrWriteNode#read_name
2372
+ *
2373
+ * Represents the name of the method being called.
2374
+ *
2375
+ * foo.bar ||= value # read_name `:bar`
2376
+ * ^^^
2083
2377
  */
2084
2378
  pm_constant_id_t read_name;
2085
2379
 
2086
2380
  /**
2087
2381
  * CallOrWriteNode#write_name
2382
+ *
2383
+ * Represents the name of the method being written to.
2384
+ *
2385
+ * foo.bar ||= value # write_name `:bar=`
2386
+ * ^^^
2088
2387
  */
2089
2388
  pm_constant_id_t write_name;
2090
2389
 
2091
2390
  /**
2092
2391
  * CallOrWriteNode#operator_loc
2392
+ *
2393
+ * Represents the location of the operator.
2394
+ *
2395
+ * foo.bar ||= value
2396
+ * ^^^
2093
2397
  */
2094
2398
  pm_location_t operator_loc;
2095
2399
 
2096
2400
  /**
2097
2401
  * CallOrWriteNode#value
2402
+ *
2403
+ * Represents the value being assigned.
2404
+ *
2405
+ * foo.bar ||= value
2406
+ * ^^^^^
2098
2407
  */
2099
2408
  struct pm_node *value;
2100
2409
  } pm_call_or_write_node_t;
@@ -2132,21 +2441,41 @@ typedef struct pm_call_target_node {
2132
2441
 
2133
2442
  /**
2134
2443
  * CallTargetNode#receiver
2444
+ *
2445
+ * The object that the method is being called on. This can be any [non-void expression](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
2446
+ *
2447
+ * foo.bar = 1
2448
+ * ^^^
2135
2449
  */
2136
2450
  struct pm_node *receiver;
2137
2451
 
2138
2452
  /**
2139
2453
  * CallTargetNode#call_operator_loc
2454
+ *
2455
+ * Represents the location of the call operator.
2456
+ *
2457
+ * foo.bar = 1
2458
+ * ^
2140
2459
  */
2141
2460
  pm_location_t call_operator_loc;
2142
2461
 
2143
2462
  /**
2144
2463
  * CallTargetNode#name
2464
+ *
2465
+ * Represents the name of the method being called.
2466
+ *
2467
+ * foo.bar = 1 # name `:foo`
2468
+ * ^^^
2145
2469
  */
2146
2470
  pm_constant_id_t name;
2147
2471
 
2148
2472
  /**
2149
2473
  * CallTargetNode#message_loc
2474
+ *
2475
+ * Represents the location of the message.
2476
+ *
2477
+ * foo.bar = 1
2478
+ * ^^^
2150
2479
  */
2151
2480
  pm_location_t message_loc;
2152
2481
  } pm_call_target_node_t;
@@ -2170,16 +2499,31 @@ typedef struct pm_capture_pattern_node {
2170
2499
 
2171
2500
  /**
2172
2501
  * CapturePatternNode#value
2502
+ *
2503
+ * Represents the value to capture.
2504
+ *
2505
+ * foo => bar
2506
+ * ^^^
2173
2507
  */
2174
2508
  struct pm_node *value;
2175
2509
 
2176
2510
  /**
2177
2511
  * CapturePatternNode#target
2512
+ *
2513
+ * Represents the target of the capture.
2514
+ *
2515
+ * foo => bar
2516
+ * ^^^
2178
2517
  */
2179
2518
  struct pm_local_variable_target_node *target;
2180
2519
 
2181
2520
  /**
2182
2521
  * CapturePatternNode#operator_loc
2522
+ *
2523
+ * Represents the location of the `=>` operator.
2524
+ *
2525
+ * foo => bar
2526
+ * ^^
2183
2527
  */
2184
2528
  pm_location_t operator_loc;
2185
2529
  } pm_capture_pattern_node_t;
@@ -2205,26 +2549,51 @@ typedef struct pm_case_match_node {
2205
2549
 
2206
2550
  /**
2207
2551
  * CaseMatchNode#predicate
2552
+ *
2553
+ * Represents the predicate of the case match. This can be either `nil` or any [non-void expressions](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
2554
+ *
2555
+ * case true; in false; end
2556
+ * ^^^^
2208
2557
  */
2209
2558
  struct pm_node *predicate;
2210
2559
 
2211
2560
  /**
2212
2561
  * CaseMatchNode#conditions
2562
+ *
2563
+ * Represents the conditions of the case match.
2564
+ *
2565
+ * case true; in false; end
2566
+ * ^^^^^^^^
2213
2567
  */
2214
2568
  struct pm_node_list conditions;
2215
2569
 
2216
2570
  /**
2217
2571
  * CaseMatchNode#else_clause
2572
+ *
2573
+ * Represents the else clause of the case match.
2574
+ *
2575
+ * case true; in false; else; end
2576
+ * ^^^^
2218
2577
  */
2219
2578
  struct pm_else_node *else_clause;
2220
2579
 
2221
2580
  /**
2222
2581
  * CaseMatchNode#case_keyword_loc
2582
+ *
2583
+ * Represents the location of the `case` keyword.
2584
+ *
2585
+ * case true; in false; end
2586
+ * ^^^^
2223
2587
  */
2224
2588
  pm_location_t case_keyword_loc;
2225
2589
 
2226
2590
  /**
2227
2591
  * CaseMatchNode#end_keyword_loc
2592
+ *
2593
+ * Represents the location of the `end` keyword.
2594
+ *
2595
+ * case true; in false; end
2596
+ * ^^^
2228
2597
  */
2229
2598
  pm_location_t end_keyword_loc;
2230
2599
  } pm_case_match_node_t;
@@ -2250,26 +2619,51 @@ typedef struct pm_case_node {
2250
2619
 
2251
2620
  /**
2252
2621
  * CaseNode#predicate
2622
+ *
2623
+ * Represents the predicate of the case statement. This can be either `nil` or any [non-void expressions](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
2624
+ *
2625
+ * case true; when false; end
2626
+ * ^^^^
2253
2627
  */
2254
2628
  struct pm_node *predicate;
2255
2629
 
2256
2630
  /**
2257
2631
  * CaseNode#conditions
2632
+ *
2633
+ * Represents the conditions of the case statement.
2634
+ *
2635
+ * case true; when false; end
2636
+ * ^^^^^^^^^^
2258
2637
  */
2259
2638
  struct pm_node_list conditions;
2260
2639
 
2261
2640
  /**
2262
2641
  * CaseNode#else_clause
2642
+ *
2643
+ * Represents the else clause of the case statement.
2644
+ *
2645
+ * case true; when false; else; end
2646
+ * ^^^^
2263
2647
  */
2264
2648
  struct pm_else_node *else_clause;
2265
2649
 
2266
2650
  /**
2267
2651
  * CaseNode#case_keyword_loc
2652
+ *
2653
+ * Represents the location of the `case` keyword.
2654
+ *
2655
+ * case true; when false; end
2656
+ * ^^^^
2268
2657
  */
2269
2658
  pm_location_t case_keyword_loc;
2270
2659
 
2271
2660
  /**
2272
2661
  * CaseNode#end_keyword_loc
2662
+ *
2663
+ * Represents the location of the `end` keyword.
2664
+ *
2665
+ * case true; when false; end
2666
+ * ^^^
2273
2667
  */
2274
2668
  pm_location_t end_keyword_loc;
2275
2669
  } pm_case_node_t;
@@ -2351,21 +2745,41 @@ typedef struct pm_class_variable_and_write_node {
2351
2745
 
2352
2746
  /**
2353
2747
  * ClassVariableAndWriteNode#name
2748
+ *
2749
+ * The name of the class variable, which is a `@@` followed by an [identifier](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#identifiers).
2750
+ *
2751
+ * @@target &&= value # name `:@@target`
2752
+ * ^^^^^^^^
2354
2753
  */
2355
2754
  pm_constant_id_t name;
2356
2755
 
2357
2756
  /**
2358
2757
  * ClassVariableAndWriteNode#name_loc
2758
+ *
2759
+ * Represents the location of the variable name.
2760
+ *
2761
+ * @@target &&= value
2762
+ * ^^^^^^^^
2359
2763
  */
2360
2764
  pm_location_t name_loc;
2361
2765
 
2362
2766
  /**
2363
2767
  * ClassVariableAndWriteNode#operator_loc
2768
+ *
2769
+ * Represents the location of the `&&=` operator.
2770
+ *
2771
+ * @@target &&= value
2772
+ * ^^^
2364
2773
  */
2365
2774
  pm_location_t operator_loc;
2366
2775
 
2367
2776
  /**
2368
2777
  * ClassVariableAndWriteNode#value
2778
+ *
2779
+ * Represents the value being assigned. This can be any [non-void expression](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
2780
+ *
2781
+ * @@target &&= value
2782
+ * ^^^^^
2369
2783
  */
2370
2784
  struct pm_node *value;
2371
2785
  } pm_class_variable_and_write_node_t;
@@ -6490,7 +6904,7 @@ typedef struct pm_rescue_modifier_node {
6490
6904
  * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6491
6905
  * end
6492
6906
  *
6493
- * `Foo, *splat, Bar` are in the `exceptions` field. `ex` is in the `exception` field.
6907
+ * `Foo, *splat, Bar` are in the `exceptions` field. `ex` is in the `reference` field.
6494
6908
  *
6495
6909
  * Type: ::PM_RESCUE_NODE
6496
6910
  *
@@ -7134,6 +7548,11 @@ typedef struct pm_until_node {
7134
7548
  */
7135
7549
  pm_location_t keyword_loc;
7136
7550
 
7551
+ /**
7552
+ * UntilNode#do_keyword_loc
7553
+ */
7554
+ pm_location_t do_keyword_loc;
7555
+
7137
7556
  /**
7138
7557
  * UntilNode#closing_loc
7139
7558
  */
@@ -7218,6 +7637,11 @@ typedef struct pm_while_node {
7218
7637
  */
7219
7638
  pm_location_t keyword_loc;
7220
7639
 
7640
+ /**
7641
+ * WhileNode#do_keyword_loc
7642
+ */
7643
+ pm_location_t do_keyword_loc;
7644
+
7221
7645
  /**
7222
7646
  * WhileNode#closing_loc
7223
7647
  */