ruby-internal 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. data/README +204 -6
  2. data/ext/cached/ruby-1.6.8/internal/binding/block.h +35 -0
  3. data/ext/cached/ruby-1.6.8/internal/method/method.h +19 -0
  4. data/ext/cached/ruby-1.6.8/internal/module/classpath.c +3 -0
  5. data/ext/cached/ruby-1.6.8/internal/module/classpath.h +8 -0
  6. data/ext/cached/ruby-1.6.8/internal/node/block.h +35 -0
  7. data/ext/cached/ruby-1.6.8/internal/node/global_entry.h +15 -0
  8. data/ext/cached/ruby-1.6.8/internal/node/node_type_descrip.c +149 -0
  9. data/ext/cached/ruby-1.6.8/internal/node/nodeinfo.c +5582 -0
  10. data/ext/cached/ruby-1.6.8/internal/node/nodeinfo.h +69 -0
  11. data/ext/cached/ruby-1.6.8/internal/proc/block.h +35 -0
  12. data/ext/cached/ruby-1.6.8/internal/tag/tag.h +15 -0
  13. data/ext/cached/ruby-1.6.8/internal/vm/instruction/insns_info.c +39 -0
  14. data/ext/cached/ruby-1.6.8/internal/vm/instruction/insns_info.h +21 -0
  15. data/ext/cached/ruby-1.6.8/internal/vm/iseq/insns_info.inc +12 -0
  16. data/ext/cached/ruby-1.6.8/internal/vm/iseq/iseq_load.inc +9 -0
  17. data/ext/cached/ruby-1.8.0/internal/node/node_type_descrip.c +91 -91
  18. data/ext/cached/ruby-1.8.0/internal/node/nodeinfo.c +1909 -1909
  19. data/ext/cached/ruby-1.8.0/internal/vm/iseq/iseq_load.inc +9 -0
  20. data/ext/cached/ruby-1.8.1/internal/node/node_type_descrip.c +90 -90
  21. data/ext/cached/ruby-1.8.1/internal/node/nodeinfo.c +1946 -1946
  22. data/ext/cached/ruby-1.8.1/internal/vm/iseq/iseq_load.inc +9 -0
  23. data/ext/cached/ruby-1.8.2/internal/node/node_type_descrip.c +90 -90
  24. data/ext/cached/ruby-1.8.2/internal/node/nodeinfo.c +1946 -1946
  25. data/ext/cached/ruby-1.8.2/internal/vm/iseq/iseq_load.inc +9 -0
  26. data/ext/cached/ruby-1.8.3/internal/node/node_type_descrip.c +90 -90
  27. data/ext/cached/ruby-1.8.3/internal/node/nodeinfo.c +1946 -1946
  28. data/ext/cached/ruby-1.8.3/internal/vm/iseq/iseq_load.inc +9 -0
  29. data/ext/cached/ruby-1.8.4/internal/node/node_type_descrip.c +90 -90
  30. data/ext/cached/ruby-1.8.4/internal/node/nodeinfo.c +1946 -1946
  31. data/ext/cached/ruby-1.8.4/internal/vm/iseq/iseq_load.inc +9 -0
  32. data/ext/cached/ruby-1.8.5/internal/node/node_type_descrip.c +90 -90
  33. data/ext/cached/ruby-1.8.5/internal/node/nodeinfo.c +1909 -1909
  34. data/ext/cached/ruby-1.8.5/internal/vm/iseq/iseq_load.inc +9 -0
  35. data/ext/cached/ruby-1.8.6/internal/node/node_type_descrip.c +90 -90
  36. data/ext/cached/ruby-1.8.6/internal/node/nodeinfo.c +1909 -1909
  37. data/ext/cached/ruby-1.8.6/internal/vm/iseq/iseq_load.inc +9 -0
  38. data/ext/cached/ruby-1.8.7/internal/node/node_type_descrip.c +90 -90
  39. data/ext/cached/ruby-1.8.7/internal/node/nodeinfo.c +1909 -1909
  40. data/ext/cached/ruby-1.8.7/internal/vm/iseq/iseq_load.inc +9 -0
  41. data/ext/cached/ruby-1.9.0/internal/node/node_type_descrip.c +85 -85
  42. data/ext/cached/ruby-1.9.0/internal/node/nodeinfo.c +1800 -1800
  43. data/ext/cached/ruby-1.9.0/internal/vm/iseq/iseq_load.inc +13 -0
  44. data/ext/cached/ruby-1.9.0/internal/yarv-headers/transdb.h +51 -51
  45. data/ext/cached/ruby-1.9.1/internal/node/node_type_descrip.c +85 -85
  46. data/ext/cached/ruby-1.9.1/internal/node/nodeinfo.c +1800 -1800
  47. data/ext/cached/ruby-1.9.1/internal/vm/instruction/insns_info.h +1 -2
  48. data/ext/cached/ruby-1.9.1/internal/vm/iseq/iseq_load.inc +356 -0
  49. data/ext/cached/ruby-1.9.1/internal/yarv-headers/eval_intern.h +15 -9
  50. data/ext/cached/ruby-1.9.1/internal/yarv-headers/id.h +45 -66
  51. data/ext/cached/ruby-1.9.1/internal/yarv-headers/iseq.h +12 -3
  52. data/ext/cached/ruby-1.9.1/internal/yarv-headers/node.h +2 -2
  53. data/ext/cached/ruby-1.9.1/internal/yarv-headers/parse.h +23 -138
  54. data/ext/cached/ruby-1.9.1/internal/yarv-headers/revision.h +1 -1
  55. data/ext/cached/ruby-1.9.1/internal/yarv-headers/transcode_data.h +9 -2
  56. data/ext/cached/ruby-1.9.1/internal/yarv-headers/transdb.h +62 -0
  57. data/ext/cached/ruby-1.9.1/internal/yarv-headers/version.h +17 -23
  58. data/ext/cached/ruby-1.9.1/internal/yarv-headers/vm_core.h +20 -29
  59. data/ext/cached/ruby-1.9.1/internal/yarv-headers/vm_exec.h +4 -7
  60. data/ext/cached/ruby-1.9.1/internal/yarv-headers/vm_insnhelper.h +6 -5
  61. data/ext/internal/module/cfp.h +13 -0
  62. data/ext/internal/module/extconf.rb +2 -2
  63. data/ext/internal/module/module.c +3 -8
  64. data/ext/internal/node/nodes.rb +2 -1
  65. data/ext/internal/vm/iseq/iseq.c +2 -3
  66. data/ext/internal/vm/iseq/iseq_load.inc.rpp +61 -0
  67. data/ext/internal/yarv-headers/debug.h +36 -0
  68. data/ext/internal/yarv-headers/dln.h +41 -0
  69. data/ext/internal/yarv-headers/encdb.h +147 -0
  70. data/ext/internal/yarv-headers/eval_intern.h +215 -0
  71. data/ext/internal/yarv-headers/gc.h +75 -0
  72. data/ext/internal/yarv-headers/id.h +163 -0
  73. data/ext/internal/yarv-headers/iseq.h +103 -0
  74. data/ext/internal/yarv-headers/node.h +516 -0
  75. data/ext/internal/yarv-headers/parse.h +188 -0
  76. data/ext/internal/yarv-headers/regenc.h +207 -0
  77. data/ext/internal/yarv-headers/regint.h +842 -0
  78. data/ext/internal/yarv-headers/regparse.h +351 -0
  79. data/ext/internal/yarv-headers/revision.h +1 -0
  80. data/ext/internal/yarv-headers/thread_pthread.h +24 -0
  81. data/ext/internal/yarv-headers/thread_win32.h +33 -0
  82. data/ext/internal/yarv-headers/transcode_data.h +106 -0
  83. data/ext/internal/yarv-headers/transdb.h +147 -0
  84. data/ext/internal/yarv-headers/version.h +54 -0
  85. data/ext/internal/yarv-headers/vm_core.h +646 -0
  86. data/ext/internal/yarv-headers/vm_exec.h +184 -0
  87. data/ext/internal/yarv-headers/vm_insnhelper.h +195 -0
  88. data/ext/internal/yarv-headers/vm_opts.h +51 -0
  89. data/publish_rdoc.rb +4 -0
  90. metadata +52 -2
@@ -0,0 +1,13 @@
1
+ #ifndef ruby_internal_iseq_load__inc_
2
+ #define ruby_internal_iseq_load__inc_
3
+
4
+ #include "internal/yarv-headers/gc.h"
5
+ #include "internal/yarv-headers/iseq.h"
6
+
7
+
8
+ /* Defined but not declared by ruby */
9
+ VALUE iseq_load(VALUE self, VALUE data, VALUE parent, VALUE opt);
10
+
11
+
12
+ #endif
13
+
@@ -1,67 +1,67 @@
1
- rb_declare_transcoder("", "amp_escape", "escape");
2
- rb_declare_transcoder("", "xml_text_escape", "escape");
3
- rb_declare_transcoder("", "xml_attr_content_escape", "escape");
4
- rb_declare_transcoder("", "xml_attr_quote", "escape");
5
- rb_declare_transcoder("ISO-2022-JP", "stateless-ISO-2022-JP", "iso2022");
6
- rb_declare_transcoder("stateless-ISO-2022-JP", "ISO-2022-JP", "iso2022");
7
- rb_declare_transcoder("stateless-ISO-2022-JP", "EUC-JP", "iso2022");
8
- rb_declare_transcoder("EUC-JP", "stateless-ISO-2022-JP", "iso2022");
9
- rb_declare_transcoder("EUC-JP", "Shift_JIS", "japanese");
10
- rb_declare_transcoder("Shift_JIS", "EUC-JP", "japanese");
1
+ rb_declare_transcoder("UTF-8", "ISO-8859-9", "single_byte");
2
+ rb_declare_transcoder("UTF-8", "UTF-32BE", "utf_16_32");
3
+ rb_declare_transcoder("UTF-16LE", "UTF-8", "utf_16_32");
4
+ rb_declare_transcoder("ASCII-8BIT", "UTF-8", "single_byte");
11
5
  rb_declare_transcoder("EUC-JP", "UTF-8", "japanese_euc");
12
- rb_declare_transcoder("eucJP-ms", "UTF-8", "japanese_euc");
13
- rb_declare_transcoder("CP51932", "UTF-8", "japanese_euc");
6
+ rb_declare_transcoder("UTF-8", "ISO-8859-13", "single_byte");
7
+ rb_declare_transcoder("ISO-8859-9", "UTF-8", "single_byte");
8
+ rb_declare_transcoder("UTF-8", "ISO-8859-14", "single_byte");
14
9
  rb_declare_transcoder("UTF-8", "EUC-JP", "japanese_euc");
15
- rb_declare_transcoder("UTF-8", "eucJP-ms", "japanese_euc");
16
- rb_declare_transcoder("UTF-8", "CP51932", "japanese_euc");
17
- rb_declare_transcoder("Shift_JIS", "UTF-8", "japanese_sjis");
18
- rb_declare_transcoder("Windows-31J", "UTF-8", "japanese_sjis");
19
- rb_declare_transcoder("UTF-8", "Shift_JIS", "japanese_sjis");
20
- rb_declare_transcoder("UTF-8", "Windows-31J", "japanese_sjis");
21
- rb_declare_transcoder("UTF-8", "EUC-KR", "korean");
10
+ rb_declare_transcoder("UTF-8", "UTF-16LE", "utf_16_32");
11
+ rb_declare_transcoder("EUC-JP", "stateless-ISO-2022-JP", "iso2022");
12
+ rb_declare_transcoder("UTF-8", "ISO-8859-15", "single_byte");
13
+ rb_declare_transcoder("UTF-8", "US-ASCII", "single_byte");
14
+ rb_declare_transcoder("ISO-8859-15", "UTF-8", "single_byte");
15
+ rb_declare_transcoder("UTF-32LE", "UTF-8", "utf_16_32");
16
+ rb_declare_transcoder("ISO-8859-4", "UTF-8", "single_byte");
17
+ rb_declare_transcoder("US-ASCII", "UTF-8", "single_byte");
22
18
  rb_declare_transcoder("EUC-KR", "UTF-8", "korean");
23
- rb_declare_transcoder("UTF-8", "CP949", "korean");
24
- rb_declare_transcoder("CP949", "UTF-8", "korean");
25
- rb_declare_transcoder("", "universal_newline", "newline");
26
- rb_declare_transcoder("", "crlf_newline", "newline");
19
+ rb_declare_transcoder("ISO-8859-11", "UTF-8", "single_byte");
27
20
  rb_declare_transcoder("", "cr_newline", "newline");
28
- rb_declare_transcoder("US-ASCII", "UTF-8", "single_byte");
29
- rb_declare_transcoder("UTF-8", "US-ASCII", "single_byte");
30
- rb_declare_transcoder("ASCII-8BIT", "UTF-8", "single_byte");
21
+ rb_declare_transcoder("ISO-8859-10", "UTF-8", "single_byte");
22
+ rb_declare_transcoder("stateless-ISO-2022-JP", "ISO-2022-JP", "iso2022");
23
+ rb_declare_transcoder("", "crlf_newline", "newline");
31
24
  rb_declare_transcoder("UTF-8", "ASCII-8BIT", "single_byte");
25
+ rb_declare_transcoder("UTF-8", "UTF-16BE", "utf_16_32");
26
+ rb_declare_transcoder("UTF-8", "Shift_JIS", "japanese_sjis");
27
+ rb_declare_transcoder("ISO-8859-6", "UTF-8", "single_byte");
28
+ rb_declare_transcoder("CP949", "UTF-8", "korean");
32
29
  rb_declare_transcoder("ISO-8859-1", "UTF-8", "single_byte");
30
+ rb_declare_transcoder("ISO-8859-5", "UTF-8", "single_byte");
31
+ rb_declare_transcoder("", "xml_attr_content_escape", "escape");
32
+ rb_declare_transcoder("Shift_JIS", "EUC-JP", "japanese");
33
33
  rb_declare_transcoder("UTF-8", "ISO-8859-1", "single_byte");
34
- rb_declare_transcoder("ISO-8859-2", "UTF-8", "single_byte");
34
+ rb_declare_transcoder("", "universal_newline", "newline");
35
+ rb_declare_transcoder("UTF-8", "Windows-31J", "japanese_sjis");
35
36
  rb_declare_transcoder("UTF-8", "ISO-8859-2", "single_byte");
36
- rb_declare_transcoder("ISO-8859-3", "UTF-8", "single_byte");
37
+ rb_declare_transcoder("ISO-2022-JP", "stateless-ISO-2022-JP", "iso2022");
38
+ rb_declare_transcoder("eucJP-ms", "UTF-8", "japanese_euc");
39
+ rb_declare_transcoder("", "xml_attr_quote", "escape");
40
+ rb_declare_transcoder("UTF-16BE", "UTF-8", "utf_16_32");
41
+ rb_declare_transcoder("UTF-8", "EUC-KR", "korean");
37
42
  rb_declare_transcoder("UTF-8", "ISO-8859-3", "single_byte");
38
- rb_declare_transcoder("ISO-8859-4", "UTF-8", "single_byte");
43
+ rb_declare_transcoder("UTF-8", "UTF-32LE", "utf_16_32");
44
+ rb_declare_transcoder("stateless-ISO-2022-JP", "EUC-JP", "iso2022");
45
+ rb_declare_transcoder("Shift_JIS", "UTF-8", "japanese_sjis");
39
46
  rb_declare_transcoder("UTF-8", "ISO-8859-4", "single_byte");
40
- rb_declare_transcoder("ISO-8859-5", "UTF-8", "single_byte");
47
+ rb_declare_transcoder("", "amp_escape", "escape");
41
48
  rb_declare_transcoder("UTF-8", "ISO-8859-5", "single_byte");
42
- rb_declare_transcoder("ISO-8859-6", "UTF-8", "single_byte");
49
+ rb_declare_transcoder("ISO-8859-8", "UTF-8", "single_byte");
50
+ rb_declare_transcoder("CP51932", "UTF-8", "japanese_euc");
51
+ rb_declare_transcoder("UTF-8", "eucJP-ms", "japanese_euc");
43
52
  rb_declare_transcoder("UTF-8", "ISO-8859-6", "single_byte");
44
53
  rb_declare_transcoder("ISO-8859-7", "UTF-8", "single_byte");
54
+ rb_declare_transcoder("Windows-31J", "UTF-8", "japanese_sjis");
55
+ rb_declare_transcoder("ISO-8859-14", "UTF-8", "single_byte");
56
+ rb_declare_transcoder("EUC-JP", "Shift_JIS", "japanese");
57
+ rb_declare_transcoder("ISO-8859-3", "UTF-8", "single_byte");
58
+ rb_declare_transcoder("UTF-32BE", "UTF-8", "utf_16_32");
59
+ rb_declare_transcoder("UTF-8", "CP51932", "japanese_euc");
45
60
  rb_declare_transcoder("UTF-8", "ISO-8859-7", "single_byte");
46
- rb_declare_transcoder("ISO-8859-8", "UTF-8", "single_byte");
47
- rb_declare_transcoder("UTF-8", "ISO-8859-8", "single_byte");
48
- rb_declare_transcoder("ISO-8859-9", "UTF-8", "single_byte");
49
- rb_declare_transcoder("UTF-8", "ISO-8859-9", "single_byte");
50
- rb_declare_transcoder("ISO-8859-10", "UTF-8", "single_byte");
61
+ rb_declare_transcoder("ISO-8859-13", "UTF-8", "single_byte");
51
62
  rb_declare_transcoder("UTF-8", "ISO-8859-10", "single_byte");
52
- rb_declare_transcoder("ISO-8859-11", "UTF-8", "single_byte");
63
+ rb_declare_transcoder("ISO-8859-2", "UTF-8", "single_byte");
64
+ rb_declare_transcoder("UTF-8", "CP949", "korean");
65
+ rb_declare_transcoder("", "xml_text_escape", "escape");
66
+ rb_declare_transcoder("UTF-8", "ISO-8859-8", "single_byte");
53
67
  rb_declare_transcoder("UTF-8", "ISO-8859-11", "single_byte");
54
- rb_declare_transcoder("ISO-8859-13", "UTF-8", "single_byte");
55
- rb_declare_transcoder("UTF-8", "ISO-8859-13", "single_byte");
56
- rb_declare_transcoder("ISO-8859-14", "UTF-8", "single_byte");
57
- rb_declare_transcoder("UTF-8", "ISO-8859-14", "single_byte");
58
- rb_declare_transcoder("ISO-8859-15", "UTF-8", "single_byte");
59
- rb_declare_transcoder("UTF-8", "ISO-8859-15", "single_byte");
60
- rb_declare_transcoder("UTF-16BE", "UTF-8", "utf_16_32");
61
- rb_declare_transcoder("UTF-8", "UTF-16BE", "utf_16_32");
62
- rb_declare_transcoder("UTF-16LE", "UTF-8", "utf_16_32");
63
- rb_declare_transcoder("UTF-8", "UTF-16LE", "utf_16_32");
64
- rb_declare_transcoder("UTF-32BE", "UTF-8", "utf_16_32");
65
- rb_declare_transcoder("UTF-8", "UTF-32BE", "utf_16_32");
66
- rb_declare_transcoder("UTF-32LE", "UTF-8", "utf_16_32");
67
- rb_declare_transcoder("UTF-8", "UTF-32LE", "utf_16_32");
@@ -2,108 +2,108 @@
2
2
  #include "version.h"
3
3
 
4
4
  Node_Type_Descrip node_type_descrips_unsorted[] = {
5
- { NODE_DASGN_CURR, NEN_VALUE, NEN_VID, NEN_NONE, "DASGN_CURR" },
6
- { NODE_UNTIL, NEN_BODY, NEN_COND, NEN_STATE, "UNTIL" },
7
- { NODE_BACK_REF, NEN_NTH, NEN_CNT, NEN_NONE, "BACK_REF" },
5
+ { NODE_ALIAS, NEN_1ST, NEN_2ND, NEN_NONE, "ALIAS" },
6
+ #ifdef HAVE_NODE_ALLOCA
7
+ { NODE_ALLOCA, NEN_CFNC, NEN_VALUE, NEN_CNT, "ALLOCA" },
8
+ #endif
9
+ { NODE_AND, NEN_1ST, NEN_2ND, NEN_NONE, "AND" },
8
10
  { NODE_ARGS, NEN_REST, NEN_OPT, NEN_CNT, "ARGS" },
9
- { NODE_OP_ASGN_AND, NEN_VALUE, NEN_RECV, NEN_NONE, "OP_ASGN_AND" },
10
- { NODE_RETURN, NEN_STTS, NEN_NONE, NEN_NONE, "RETURN" },
11
- { NODE_RESCUE, NEN_HEAD, NEN_ELSE, NEN_RESQ, "RESCUE" },
12
- { NODE_LIT, NEN_LIT, NEN_NONE, NEN_NONE, "LIT" },
13
- { NODE_SELF, NEN_NONE, NEN_NONE, NEN_NONE, "SELF" },
14
- { NODE_IFUNC, NEN_CFNC, NEN_TVAL, NEN_STATE, "IFUNC" },
15
- { NODE_ZSUPER, NEN_NONE, NEN_NONE, NEN_NONE, "ZSUPER" },
16
- { NODE_WHILE, NEN_BODY, NEN_COND, NEN_STATE, "WHILE" },
17
- { NODE_BLOCK, NEN_HEAD, NEN_NEXT, NEN_NONE, "BLOCK" },
18
- { NODE_FBODY, NEN_BODY, NEN_CNT, NEN_OID, "FBODY" },
19
- { NODE_METHOD, NEN_BODY, NEN_CLSS, NEN_NOEX, "METHOD" },
20
- { NODE_FCALL, NEN_ARGS, NEN_MID, NEN_NONE, "FCALL" },
21
- { NODE_DREGX_ONCE, NEN_LIT, NEN_CFLAG, NEN_NEXT, "DREGX_ONCE" },
11
+ { NODE_ARGSCAT, NEN_HEAD, NEN_BODY, NEN_NONE, "ARGSCAT" },
22
12
  { NODE_ARGSPUSH, NEN_HEAD, NEN_BODY, NEN_NONE, "ARGSPUSH" },
23
- { NODE_OPT_N, NEN_BODY, NEN_NONE, NEN_NONE, "OPT_N" },
24
- { NODE_OP_ASGN2_ARG, NEN_VID, NEN_AID, NEN_MID, "OP_ASGN2_ARG" },
25
- { NODE_COLON2, NEN_HEAD, NEN_MID, NEN_NONE, "COLON2" },
26
- { NODE_COLON3, NEN_MID, NEN_NONE, NEN_NONE, "COLON3" },
27
- { NODE_ITER, NEN_BODY, NEN_ITER, NEN_VAR, "ITER" },
28
- { NODE_SUPER, NEN_ARGS, NEN_NONE, NEN_NONE, "SUPER" },
29
- { NODE_FALSE, NEN_NONE, NEN_NONE, NEN_NONE, "FALSE" },
30
- { NODE_CALL, NEN_ARGS, NEN_MID, NEN_RECV, "CALL" },
31
- { NODE_OP_ASGN_OR, NEN_AID, NEN_VALUE, NEN_RECV, "OP_ASGN_OR" },
32
- { NODE_TRUE, NEN_NONE, NEN_NONE, NEN_NONE, "TRUE" },
33
- { NODE_MASGN, NEN_ARGS, NEN_HEAD, NEN_VALUE, "MASGN" },
34
- { NODE_EVSTR, NEN_BODY, NEN_NONE, NEN_NONE, "EVSTR" },
35
- { NODE_MATCH, NEN_LIT, NEN_VALUE, NEN_NONE, "MATCH" },
36
- { NODE_ENSURE, NEN_HEAD, NEN_ENSR, NEN_NONE, "ENSURE" },
37
- { NODE_CDECL, NEN_VALUE, NEN_VID, NEN_NONE, "CDECL" },
38
- { NODE_DXSTR, NEN_LIT, NEN_NEXT, NEN_NONE, "DXSTR" },
39
- { NODE_VCALL, NEN_MID, NEN_NONE, NEN_NONE, "VCALL" },
40
- { NODE_ZARRAY, NEN_NONE, NEN_NONE, NEN_NONE, "ZARRAY" },
13
+ { NODE_ARRAY, NEN_HEAD, NEN_ALEN, NEN_NEXT, "ARRAY" },
14
+ { NODE_ATTRASGN, NEN_ARGS, NEN_MID, NEN_RECV, "ATTRASGN" },
15
+ { NODE_ATTRSET, NEN_VID, NEN_NONE, NEN_NONE, "ATTRSET" },
16
+ { NODE_BACK_REF, NEN_NTH, NEN_CNT, NEN_NONE, "BACK_REF" },
17
+ { NODE_BEGIN, NEN_BODY, NEN_NONE, NEN_NONE, "BEGIN" },
18
+ { NODE_BLOCK, NEN_HEAD, NEN_NEXT, NEN_NONE, "BLOCK" },
41
19
  { NODE_BLOCK_ARG, NEN_CNT, NEN_NONE, NEN_NONE, "BLOCK_ARG" },
42
- { NODE_AND, NEN_1ST, NEN_2ND, NEN_NONE, "AND" },
43
- { NODE_SCLASS, NEN_BODY, NEN_RECV, NEN_NONE, "SCLASS" },
44
- { NODE_DEFINED, NEN_HEAD, NEN_NONE, NEN_NONE, "DEFINED" },
45
- { NODE_VALIAS, NEN_1ST, NEN_2ND, NEN_NONE, "VALIAS" },
46
- { NODE_REDO, NEN_NONE, NEN_NONE, NEN_NONE, "REDO" },
47
20
  { NODE_BLOCK_PASS, NEN_BODY, NEN_ITER, NEN_NONE, "BLOCK_PASS" },
48
- { NODE_DREGX, NEN_LIT, NEN_CFLAG, NEN_NEXT, "DREGX" },
49
- { NODE_DEFN, NEN_MID, NEN_DEFN, NEN_NOEX, "DEFN" },
50
- { NODE_SCOPE, NEN_TBL, NEN_RVAL, NEN_NEXT, "SCOPE" },
51
- { NODE_DSYM, NEN_LIT, NEN_NEXT, NEN_NONE, "DSYM" },
52
21
  { NODE_BMETHOD, NEN_CVAL, NEN_NONE, NEN_NONE, "BMETHOD" },
53
- { NODE_IF, NEN_COND, NEN_BODY, NEN_ELSE, "IF" },
54
- { NODE_WHEN, NEN_HEAD, NEN_BODY, NEN_NEXT, "WHEN" },
55
- { NODE_ARGSCAT, NEN_HEAD, NEN_BODY, NEN_NONE, "ARGSCAT" },
56
- { NODE_HASH, NEN_HEAD, NEN_NONE, NEN_NONE, "HASH" },
57
- #ifdef HAVE_NODE_ALLOCA
58
- { NODE_ALLOCA, NEN_CFNC, NEN_VALUE, NEN_CNT, "ALLOCA" },
59
- #endif
60
- { NODE_OP_ASGN1, NEN_ARGS, NEN_MID, NEN_RECV, "OP_ASGN1" },
22
+ { NODE_BREAK, NEN_STTS, NEN_NONE, NEN_NONE, "BREAK" },
23
+ { NODE_CALL, NEN_ARGS, NEN_MID, NEN_RECV, "CALL" },
61
24
  { NODE_CASE, NEN_HEAD, NEN_BODY, NEN_NEXT, "CASE" },
25
+ { NODE_CDECL, NEN_VALUE, NEN_VID, NEN_NONE, "CDECL" },
62
26
  { NODE_CFUNC, NEN_CFNC, NEN_ARGC, NEN_NONE, "CFUNC" },
63
- { NODE_OP_ASGN2, NEN_VALUE, NEN_NEXT, NEN_RECV, "OP_ASGN2" },
64
- { NODE_DEFS, NEN_MID, NEN_DEFN, NEN_RECV, "DEFS" },
65
- { NODE_LASGN, NEN_VALUE, NEN_VID, NEN_CNT, "LASGN" },
66
- { NODE_POSTEXE, NEN_NONE, NEN_NONE, NEN_NONE, "POSTEXE" },
67
- { NODE_STR, NEN_LIT, NEN_NONE, NEN_NONE, "STR" },
68
- { NODE_ATTRSET, NEN_VID, NEN_NONE, NEN_NONE, "ATTRSET" },
69
- { NODE_UNDEF, NEN_BODY, NEN_NONE, NEN_NONE, "UNDEF" },
70
- { NODE_MEMO, NEN_NONE, NEN_NONE, NEN_NONE, "MEMO" },
71
- { NODE_TO_ARY, NEN_HEAD, NEN_NONE, NEN_NONE, "TO_ARY" },
72
- { NODE_XSTR, NEN_LIT, NEN_NONE, NEN_NONE, "XSTR" },
73
- { NODE_RESBODY, NEN_HEAD, NEN_ARGS, NEN_BODY, "RESBODY" },
74
- { NODE_ALIAS, NEN_1ST, NEN_2ND, NEN_NONE, "ALIAS" },
75
- { NODE_ARRAY, NEN_HEAD, NEN_ALEN, NEN_NEXT, "ARRAY" },
76
- { NODE_NEXT, NEN_STTS, NEN_NONE, NEN_NONE, "NEXT" },
77
- { NODE_GASGN, NEN_VALUE, NEN_VID, NEN_ENTRY, "GASGN" },
27
+ { NODE_CLASS, NEN_CPATH, NEN_BODY, NEN_SUPER, "CLASS" },
28
+ { NODE_COLON2, NEN_HEAD, NEN_MID, NEN_NONE, "COLON2" },
29
+ { NODE_COLON3, NEN_MID, NEN_NONE, NEN_NONE, "COLON3" },
30
+ { NODE_CONST, NEN_VID, NEN_NONE, NEN_NONE, "CONST" },
31
+ { NODE_CVAR, NEN_VID, NEN_NONE, NEN_NONE, "CVAR" },
32
+ { NODE_CVASGN, NEN_VALUE, NEN_VID, NEN_NONE, "CVASGN" },
78
33
  { NODE_CVDECL, NEN_VALUE, NEN_VID, NEN_NONE, "CVDECL" },
79
- { NODE_ATTRASGN, NEN_ARGS, NEN_MID, NEN_RECV, "ATTRASGN" },
80
- { NODE_BREAK, NEN_STTS, NEN_NONE, NEN_NONE, "BREAK" },
81
- { NODE_NTH_REF, NEN_NTH, NEN_CNT, NEN_NONE, "NTH_REF" },
34
+ { NODE_DASGN, NEN_VALUE, NEN_VID, NEN_NONE, "DASGN" },
35
+ { NODE_DASGN_CURR, NEN_VALUE, NEN_VID, NEN_NONE, "DASGN_CURR" },
36
+ { NODE_DEFINED, NEN_HEAD, NEN_NONE, NEN_NONE, "DEFINED" },
37
+ { NODE_DEFN, NEN_DEFN, NEN_MID, NEN_NOEX, "DEFN" },
38
+ { NODE_DEFS, NEN_DEFN, NEN_MID, NEN_RECV, "DEFS" },
82
39
  { NODE_DOT2, NEN_BEG, NEN_END, NEN_STATE, "DOT2" },
83
- { NODE_GVAR, NEN_VID, NEN_ENTRY, NEN_NONE, "GVAR" },
84
40
  { NODE_DOT3, NEN_BEG, NEN_END, NEN_STATE, "DOT3" },
85
- { NODE_CVASGN, NEN_VALUE, NEN_VID, NEN_NONE, "CVASGN" },
86
- { NODE_SPLAT, NEN_HEAD, NEN_NONE, NEN_NONE, "SPLAT" },
87
- { NODE_MODULE, NEN_CPATH, NEN_BODY, NEN_NONE, "MODULE" },
88
- { NODE_FOR, NEN_BODY, NEN_ITER, NEN_VAR, "FOR" },
89
- { NODE_DVAR, NEN_VID, NEN_NONE, NEN_NONE, "DVAR" },
41
+ { NODE_DREGX, NEN_LIT, NEN_CFLAG, NEN_NEXT, "DREGX" },
42
+ { NODE_DREGX_ONCE, NEN_LIT, NEN_CFLAG, NEN_NEXT, "DREGX_ONCE" },
90
43
  { NODE_DSTR, NEN_LIT, NEN_NEXT, NEN_NONE, "DSTR" },
91
- { NODE_RETRY, NEN_NONE, NEN_NONE, NEN_NONE, "RETRY" },
92
- { NODE_CLASS, NEN_CPATH, NEN_BODY, NEN_SUPER, "CLASS" },
93
- { NODE_DASGN, NEN_VALUE, NEN_VID, NEN_NONE, "DASGN" },
94
- { NODE_NIL, NEN_NONE, NEN_NONE, NEN_NONE, "NIL" },
44
+ { NODE_DSYM, NEN_LIT, NEN_NEXT, NEN_NONE, "DSYM" },
45
+ { NODE_DVAR, NEN_VID, NEN_NONE, NEN_NONE, "DVAR" },
46
+ { NODE_DXSTR, NEN_LIT, NEN_NEXT, NEN_NONE, "DXSTR" },
47
+ { NODE_ENSURE, NEN_HEAD, NEN_ENSR, NEN_NONE, "ENSURE" },
48
+ { NODE_EVSTR, NEN_BODY, NEN_NONE, NEN_NONE, "EVSTR" },
49
+ { NODE_FALSE, NEN_NONE, NEN_NONE, NEN_NONE, "FALSE" },
50
+ { NODE_FBODY, NEN_BODY, NEN_CNT, NEN_OID, "FBODY" },
51
+ { NODE_FCALL, NEN_ARGS, NEN_MID, NEN_NONE, "FCALL" },
52
+ { NODE_FLIP2, NEN_BEG, NEN_END, NEN_CNT, "FLIP2" },
53
+ { NODE_FLIP3, NEN_BEG, NEN_END, NEN_CNT, "FLIP3" },
54
+ { NODE_FOR, NEN_BODY, NEN_ITER, NEN_VAR, "FOR" },
55
+ { NODE_GASGN, NEN_VALUE, NEN_VID, NEN_ENTRY, "GASGN" },
56
+ { NODE_GVAR, NEN_VID, NEN_ENTRY, NEN_NONE, "GVAR" },
57
+ { NODE_HASH, NEN_HEAD, NEN_NONE, NEN_NONE, "HASH" },
58
+ { NODE_IASGN, NEN_VALUE, NEN_VID, NEN_NONE, "IASGN" },
59
+ { NODE_IF, NEN_COND, NEN_BODY, NEN_ELSE, "IF" },
60
+ { NODE_IFUNC, NEN_CFNC, NEN_TVAL, NEN_STATE, "IFUNC" },
61
+ { NODE_ITER, NEN_BODY, NEN_ITER, NEN_VAR, "ITER" },
95
62
  { NODE_IVAR, NEN_VID, NEN_NONE, NEN_NONE, "IVAR" },
63
+ { NODE_LASGN, NEN_VALUE, NEN_VID, NEN_CNT, "LASGN" },
64
+ { NODE_LIT, NEN_LIT, NEN_NONE, NEN_NONE, "LIT" },
96
65
  { NODE_LVAR, NEN_VID, NEN_CNT, NEN_NONE, "LVAR" },
66
+ { NODE_MASGN, NEN_ARGS, NEN_HEAD, NEN_VALUE, "MASGN" },
67
+ { NODE_MATCH, NEN_LIT, NEN_VALUE, NEN_NONE, "MATCH" },
97
68
  { NODE_MATCH2, NEN_VALUE, NEN_RECV, NEN_NONE, "MATCH2" },
98
- { NODE_FLIP2, NEN_BEG, NEN_END, NEN_CNT, "FLIP2" },
99
- { NODE_CONST, NEN_VID, NEN_NONE, NEN_NONE, "CONST" },
100
69
  { NODE_MATCH3, NEN_VALUE, NEN_RECV, NEN_NONE, "MATCH3" },
101
- { NODE_IASGN, NEN_VALUE, NEN_VID, NEN_NONE, "IASGN" },
102
- { NODE_FLIP3, NEN_BEG, NEN_END, NEN_CNT, "FLIP3" },
70
+ { NODE_MEMO, NEN_NONE, NEN_NONE, NEN_NONE, "MEMO" },
71
+ { NODE_METHOD, NEN_BODY, NEN_CLSS, NEN_NOEX, "METHOD" },
72
+ { NODE_MODULE, NEN_CPATH, NEN_BODY, NEN_NONE, "MODULE" },
73
+ { NODE_NEXT, NEN_STTS, NEN_NONE, NEN_NONE, "NEXT" },
74
+ { NODE_NIL, NEN_NONE, NEN_NONE, NEN_NONE, "NIL" },
75
+ { NODE_NTH_REF, NEN_NTH, NEN_CNT, NEN_NONE, "NTH_REF" },
76
+ { NODE_OPT_N, NEN_BODY, NEN_NONE, NEN_NONE, "OPT_N" },
77
+ { NODE_OP_ASGN1, NEN_ARGS, NEN_MID, NEN_RECV, "OP_ASGN1" },
78
+ { NODE_OP_ASGN2, NEN_VALUE, NEN_NEXT, NEN_RECV, "OP_ASGN2" },
79
+ { NODE_OP_ASGN2_ARG, NEN_VID, NEN_AID, NEN_MID, "OP_ASGN2_ARG" },
80
+ { NODE_OP_ASGN_AND, NEN_VALUE, NEN_RECV, NEN_NONE, "OP_ASGN_AND" },
81
+ { NODE_OP_ASGN_OR, NEN_AID, NEN_VALUE, NEN_RECV, "OP_ASGN_OR" },
103
82
  { NODE_OR, NEN_1ST, NEN_2ND, NEN_NONE, "OR" },
104
- { NODE_CVAR, NEN_VID, NEN_NONE, NEN_NONE, "CVAR" },
83
+ { NODE_POSTEXE, NEN_NONE, NEN_NONE, NEN_NONE, "POSTEXE" },
84
+ { NODE_REDO, NEN_NONE, NEN_NONE, NEN_NONE, "REDO" },
85
+ { NODE_RESBODY, NEN_HEAD, NEN_ARGS, NEN_BODY, "RESBODY" },
86
+ { NODE_RESCUE, NEN_HEAD, NEN_ELSE, NEN_RESQ, "RESCUE" },
87
+ { NODE_RETRY, NEN_NONE, NEN_NONE, NEN_NONE, "RETRY" },
88
+ { NODE_RETURN, NEN_STTS, NEN_NONE, NEN_NONE, "RETURN" },
89
+ { NODE_SCLASS, NEN_BODY, NEN_RECV, NEN_NONE, "SCLASS" },
90
+ { NODE_SCOPE, NEN_TBL, NEN_RVAL, NEN_NEXT, "SCOPE" },
91
+ { NODE_SELF, NEN_NONE, NEN_NONE, NEN_NONE, "SELF" },
92
+ { NODE_SPLAT, NEN_HEAD, NEN_NONE, NEN_NONE, "SPLAT" },
93
+ { NODE_STR, NEN_LIT, NEN_NONE, NEN_NONE, "STR" },
94
+ { NODE_SUPER, NEN_ARGS, NEN_NONE, NEN_NONE, "SUPER" },
95
+ { NODE_TO_ARY, NEN_HEAD, NEN_NONE, NEN_NONE, "TO_ARY" },
96
+ { NODE_TRUE, NEN_NONE, NEN_NONE, NEN_NONE, "TRUE" },
97
+ { NODE_UNDEF, NEN_BODY, NEN_NONE, NEN_NONE, "UNDEF" },
98
+ { NODE_UNTIL, NEN_BODY, NEN_COND, NEN_STATE, "UNTIL" },
99
+ { NODE_VALIAS, NEN_1ST, NEN_2ND, NEN_NONE, "VALIAS" },
100
+ { NODE_VCALL, NEN_MID, NEN_NONE, NEN_NONE, "VCALL" },
101
+ { NODE_WHEN, NEN_HEAD, NEN_BODY, NEN_NEXT, "WHEN" },
102
+ { NODE_WHILE, NEN_BODY, NEN_COND, NEN_STATE, "WHILE" },
103
+ { NODE_XSTR, NEN_LIT, NEN_NONE, NEN_NONE, "XSTR" },
105
104
  { NODE_YIELD, NEN_HEAD, NEN_STATE, NEN_NONE, "YIELD" },
106
- { NODE_BEGIN, NEN_BODY, NEN_NONE, NEN_NONE, "BEGIN" },
105
+ { NODE_ZARRAY, NEN_NONE, NEN_NONE, NEN_NONE, "ZARRAY" },
106
+ { NODE_ZSUPER, NEN_NONE, NEN_NONE, NEN_NONE, "ZSUPER" },
107
107
  { NODE_LAST, NEN_NONE, NEN_NONE, NEN_NONE, "LAST" },
108
108
  };
109
109