Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 500 lines (453 sloc) 15.187 kb
fedf4898 » matz
2000-05-01 2000-05-01
1 /**********************************************************************
3db12e8b » matz
1998-01-16 Initial revision
2
3 node.h -
4
5 $Author$
6 created at: Fri May 28 15:14:02 JST 1993
7
a25fbe3b » matz
2007-08-25 * encoding.c: provide basic features for M17N.
8 Copyright (C) 1993-2007 Yukihiro Matsumoto
3db12e8b » matz
1998-01-16 Initial revision
9
fedf4898 » matz
2000-05-01 2000-05-01
10 **********************************************************************/
3db12e8b » matz
1998-01-16 Initial revision
11
2b592580 » nobu
2007-06-10 * include/ruby: moved public headers.
12 #ifndef RUBY_NODE_H
13 #define RUBY_NODE_H 1
3db12e8b » matz
1998-01-16 Initial revision
14
0d684bea » matz
1999-10-29 19991029
15 #if defined(__cplusplus)
16 extern "C" {
2b592580 » nobu
2007-06-10 * include/ruby: moved public headers.
17 #if 0
18 } /* satisfy cc-mode */
19 #endif
0d684bea » matz
1999-10-29 19991029
20 #endif
21
3db12e8b » matz
1998-01-16 Initial revision
22 enum node_type {
23 NODE_SCOPE,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
24 #define NODE_SCOPE NODE_SCOPE
3db12e8b » matz
1998-01-16 Initial revision
25 NODE_BLOCK,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
26 #define NODE_BLOCK NODE_BLOCK
3db12e8b » matz
1998-01-16 Initial revision
27 NODE_IF,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
28 #define NODE_IF NODE_IF
3db12e8b » matz
1998-01-16 Initial revision
29 NODE_CASE,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
30 #define NODE_CASE NODE_CASE
3db12e8b » matz
1998-01-16 Initial revision
31 NODE_WHEN,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
32 #define NODE_WHEN NODE_WHEN
3db12e8b » matz
1998-01-16 Initial revision
33 NODE_OPT_N,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
34 #define NODE_OPT_N NODE_OPT_N
3db12e8b » matz
1998-01-16 Initial revision
35 NODE_WHILE,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
36 #define NODE_WHILE NODE_WHILE
3db12e8b » matz
1998-01-16 Initial revision
37 NODE_UNTIL,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
38 #define NODE_UNTIL NODE_UNTIL
3db12e8b » matz
1998-01-16 Initial revision
39 NODE_ITER,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
40 #define NODE_ITER NODE_ITER
3db12e8b » matz
1998-01-16 Initial revision
41 NODE_FOR,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
42 #define NODE_FOR NODE_FOR
7ea2cedd » matz
1998-01-16 This commit was generated by cvs2svn to compensate for changes in r11,
43 NODE_BREAK,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
44 #define NODE_BREAK NODE_BREAK
7ea2cedd » matz
1998-01-16 This commit was generated by cvs2svn to compensate for changes in r11,
45 NODE_NEXT,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
46 #define NODE_NEXT NODE_NEXT
7ea2cedd » matz
1998-01-16 This commit was generated by cvs2svn to compensate for changes in r11,
47 NODE_REDO,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
48 #define NODE_REDO NODE_REDO
7ea2cedd » matz
1998-01-16 This commit was generated by cvs2svn to compensate for changes in r11,
49 NODE_RETRY,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
50 #define NODE_RETRY NODE_RETRY
3db12e8b » matz
1998-01-16 Initial revision
51 NODE_BEGIN,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
52 #define NODE_BEGIN NODE_BEGIN
3db12e8b » matz
1998-01-16 Initial revision
53 NODE_RESCUE,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
54 #define NODE_RESCUE NODE_RESCUE
3db12e8b » matz
1998-01-16 Initial revision
55 NODE_RESBODY,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
56 #define NODE_RESBODY NODE_RESBODY
3db12e8b » matz
1998-01-16 Initial revision
57 NODE_ENSURE,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
58 #define NODE_ENSURE NODE_ENSURE
3db12e8b » matz
1998-01-16 Initial revision
59 NODE_AND,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
60 #define NODE_AND NODE_AND
3db12e8b » matz
1998-01-16 Initial revision
61 NODE_OR,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
62 #define NODE_OR NODE_OR
3db12e8b » matz
1998-01-16 Initial revision
63 NODE_MASGN,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
64 #define NODE_MASGN NODE_MASGN
3db12e8b » matz
1998-01-16 Initial revision
65 NODE_LASGN,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
66 #define NODE_LASGN NODE_LASGN
3db12e8b » matz
1998-01-16 Initial revision
67 NODE_DASGN,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
68 #define NODE_DASGN NODE_DASGN
e4b53b22 » matz
2000-02-01 2000-02-01
69 NODE_DASGN_CURR,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
70 #define NODE_DASGN_CURR NODE_DASGN_CURR
3db12e8b » matz
1998-01-16 Initial revision
71 NODE_GASGN,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
72 #define NODE_GASGN NODE_GASGN
3db12e8b » matz
1998-01-16 Initial revision
73 NODE_IASGN,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
74 #define NODE_IASGN NODE_IASGN
72f2d2a0 » matz
2007-02-04 * parse.y (rb_compose_ivar2): function to create a new ivar2
75 NODE_IASGN2,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
76 #define NODE_IASGN2 NODE_IASGN2
8e48dc16 » matz
1999-11-17 19991117
77 NODE_CDECL,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
78 #define NODE_CDECL NODE_CDECL
a122fce4 » matz
2000-11-21 matz
79 NODE_CVASGN,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
80 #define NODE_CVASGN NODE_CVASGN
688169fd » matz
2000-03-23 2000-03-23
81 NODE_CVDECL,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
82 #define NODE_CVDECL NODE_CVDECL
3db12e8b » matz
1998-01-16 Initial revision
83 NODE_OP_ASGN1,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
84 #define NODE_OP_ASGN1 NODE_OP_ASGN1
3db12e8b » matz
1998-01-16 Initial revision
85 NODE_OP_ASGN2,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
86 #define NODE_OP_ASGN2 NODE_OP_ASGN2
210367ec » matz
1999-01-20 This commit was generated by cvs2svn to compensate for changes in r372,
87 NODE_OP_ASGN_AND,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
88 #define NODE_OP_ASGN_AND NODE_OP_ASGN_AND
210367ec » matz
1999-01-20 This commit was generated by cvs2svn to compensate for changes in r372,
89 NODE_OP_ASGN_OR,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
90 #define NODE_OP_ASGN_OR NODE_OP_ASGN_OR
3db12e8b » matz
1998-01-16 Initial revision
91 NODE_CALL,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
92 #define NODE_CALL NODE_CALL
3db12e8b » matz
1998-01-16 Initial revision
93 NODE_FCALL,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
94 #define NODE_FCALL NODE_FCALL
3db12e8b » matz
1998-01-16 Initial revision
95 NODE_VCALL,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
96 #define NODE_VCALL NODE_VCALL
3db12e8b » matz
1998-01-16 Initial revision
97 NODE_SUPER,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
98 #define NODE_SUPER NODE_SUPER
3db12e8b » matz
1998-01-16 Initial revision
99 NODE_ZSUPER,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
100 #define NODE_ZSUPER NODE_ZSUPER
3db12e8b » matz
1998-01-16 Initial revision
101 NODE_ARRAY,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
102 #define NODE_ARRAY NODE_ARRAY
3db12e8b » matz
1998-01-16 Initial revision
103 NODE_ZARRAY,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
104 #define NODE_ZARRAY NODE_ZARRAY
1b0f90ca » matz
2004-05-07 * parse.y (string_content): turn off NODE_NEWLINE flag to avoid
105 NODE_VALUES,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
106 #define NODE_VALUES NODE_VALUES
3db12e8b » matz
1998-01-16 Initial revision
107 NODE_HASH,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
108 #define NODE_HASH NODE_HASH
3db12e8b » matz
1998-01-16 Initial revision
109 NODE_RETURN,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
110 #define NODE_RETURN NODE_RETURN
3db12e8b » matz
1998-01-16 Initial revision
111 NODE_YIELD,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
112 #define NODE_YIELD NODE_YIELD
3db12e8b » matz
1998-01-16 Initial revision
113 NODE_LVAR,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
114 #define NODE_LVAR NODE_LVAR
3db12e8b » matz
1998-01-16 Initial revision
115 NODE_DVAR,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
116 #define NODE_DVAR NODE_DVAR
3db12e8b » matz
1998-01-16 Initial revision
117 NODE_GVAR,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
118 #define NODE_GVAR NODE_GVAR
3db12e8b » matz
1998-01-16 Initial revision
119 NODE_IVAR,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
120 #define NODE_IVAR NODE_IVAR
688169fd » matz
2000-03-23 2000-03-23
121 NODE_CONST,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
122 #define NODE_CONST NODE_CONST
3db12e8b » matz
1998-01-16 Initial revision
123 NODE_CVAR,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
124 #define NODE_CVAR NODE_CVAR
3db12e8b » matz
1998-01-16 Initial revision
125 NODE_NTH_REF,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
126 #define NODE_NTH_REF NODE_NTH_REF
3db12e8b » matz
1998-01-16 Initial revision
127 NODE_BACK_REF,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
128 #define NODE_BACK_REF NODE_BACK_REF
3db12e8b » matz
1998-01-16 Initial revision
129 NODE_MATCH,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
130 #define NODE_MATCH NODE_MATCH
7ea2cedd » matz
1998-01-16 This commit was generated by cvs2svn to compensate for changes in r11,
131 NODE_MATCH2,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
132 #define NODE_MATCH2 NODE_MATCH2
7ea2cedd » matz
1998-01-16 This commit was generated by cvs2svn to compensate for changes in r11,
133 NODE_MATCH3,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
134 #define NODE_MATCH3 NODE_MATCH3
3db12e8b » matz
1998-01-16 Initial revision
135 NODE_LIT,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
136 #define NODE_LIT NODE_LIT
3db12e8b » matz
1998-01-16 Initial revision
137 NODE_STR,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
138 #define NODE_STR NODE_STR
3db12e8b » matz
1998-01-16 Initial revision
139 NODE_DSTR,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
140 #define NODE_DSTR NODE_DSTR
3db12e8b » matz
1998-01-16 Initial revision
141 NODE_XSTR,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
142 #define NODE_XSTR NODE_XSTR
3db12e8b » matz
1998-01-16 Initial revision
143 NODE_DXSTR,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
144 #define NODE_DXSTR NODE_DXSTR
3db12e8b » matz
1998-01-16 Initial revision
145 NODE_EVSTR,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
146 #define NODE_EVSTR NODE_EVSTR
3db12e8b » matz
1998-01-16 Initial revision
147 NODE_DREGX,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
148 #define NODE_DREGX NODE_DREGX
3db12e8b » matz
1998-01-16 Initial revision
149 NODE_DREGX_ONCE,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
150 #define NODE_DREGX_ONCE NODE_DREGX_ONCE
3db12e8b » matz
1998-01-16 Initial revision
151 NODE_ARGS,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
152 #define NODE_ARGS NODE_ARGS
0fe72040 » ko1
2007-02-24 * parse.y, node.h, compile.c: change node tree structure. a purpose
153 NODE_ARGS_AUX,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
154 #define NODE_ARGS_AUX NODE_ARGS_AUX
0fe72040 » ko1
2007-02-24 * parse.y, node.h, compile.c: change node tree structure. a purpose
155 NODE_OPT_ARG,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
156 #define NODE_OPT_ARG NODE_OPT_ARG
9b383bd6 » matz
2006-06-09 * sprintf.c (rb_str_format): allow %c to print one character
157 NODE_POSTARG,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
158 #define NODE_POSTARG NODE_POSTARG
210367ec » matz
1999-01-20 This commit was generated by cvs2svn to compensate for changes in r372,
159 NODE_ARGSCAT,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
160 #define NODE_ARGSCAT NODE_ARGSCAT
dde62bcd » matz
2000-01-17 2000-01-17
161 NODE_ARGSPUSH,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
162 #define NODE_ARGSPUSH NODE_ARGSPUSH
e9b5878c » matz
2003-03-26 * eval.c (avalue_splat): new function to do unary * (splat)
163 NODE_SPLAT,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
164 #define NODE_SPLAT NODE_SPLAT
8a4abe47 » matz
2003-10-06 * parse.y (stmt): rhs of multiple assignment should not be
165 NODE_TO_ARY,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
166 #define NODE_TO_ARY NODE_TO_ARY
210367ec » matz
1999-01-20 This commit was generated by cvs2svn to compensate for changes in r372,
167 NODE_BLOCK_ARG,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
168 #define NODE_BLOCK_ARG NODE_BLOCK_ARG
210367ec » matz
1999-01-20 This commit was generated by cvs2svn to compensate for changes in r372,
169 NODE_BLOCK_PASS,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
170 #define NODE_BLOCK_PASS NODE_BLOCK_PASS
3db12e8b » matz
1998-01-16 Initial revision
171 NODE_DEFN,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
172 #define NODE_DEFN NODE_DEFN
3db12e8b » matz
1998-01-16 Initial revision
173 NODE_DEFS,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
174 #define NODE_DEFS NODE_DEFS
3db12e8b » matz
1998-01-16 Initial revision
175 NODE_ALIAS,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
176 #define NODE_ALIAS NODE_ALIAS
3db12e8b » matz
1998-01-16 Initial revision
177 NODE_VALIAS,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
178 #define NODE_VALIAS NODE_VALIAS
3db12e8b » matz
1998-01-16 Initial revision
179 NODE_UNDEF,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
180 #define NODE_UNDEF NODE_UNDEF
3db12e8b » matz
1998-01-16 Initial revision
181 NODE_CLASS,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
182 #define NODE_CLASS NODE_CLASS
3db12e8b » matz
1998-01-16 Initial revision
183 NODE_MODULE,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
184 #define NODE_MODULE NODE_MODULE
3db12e8b » matz
1998-01-16 Initial revision
185 NODE_SCLASS,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
186 #define NODE_SCLASS NODE_SCLASS
3db12e8b » matz
1998-01-16 Initial revision
187 NODE_COLON2,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
188 #define NODE_COLON2 NODE_COLON2
210367ec » matz
1999-01-20 This commit was generated by cvs2svn to compensate for changes in r372,
189 NODE_COLON3,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
190 #define NODE_COLON3 NODE_COLON3
3db12e8b » matz
1998-01-16 Initial revision
191 NODE_DOT2,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
192 #define NODE_DOT2 NODE_DOT2
3db12e8b » matz
1998-01-16 Initial revision
193 NODE_DOT3,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
194 #define NODE_DOT3 NODE_DOT3
3db12e8b » matz
1998-01-16 Initial revision
195 NODE_FLIP2,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
196 #define NODE_FLIP2 NODE_FLIP2
3db12e8b » matz
1998-01-16 Initial revision
197 NODE_FLIP3,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
198 #define NODE_FLIP3 NODE_FLIP3
3db12e8b » matz
1998-01-16 Initial revision
199 NODE_SELF,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
200 #define NODE_SELF NODE_SELF
3db12e8b » matz
1998-01-16 Initial revision
201 NODE_NIL,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
202 #define NODE_NIL NODE_NIL
7ea2cedd » matz
1998-01-16 This commit was generated by cvs2svn to compensate for changes in r11,
203 NODE_TRUE,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
204 #define NODE_TRUE NODE_TRUE
7ea2cedd » matz
1998-01-16 This commit was generated by cvs2svn to compensate for changes in r11,
205 NODE_FALSE,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
206 #define NODE_FALSE NODE_FALSE
225cd9f1 » matz
2004-01-22 * parse.y (opt_rescue): use NODE_ERRINFO() instead of
207 NODE_ERRINFO,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
208 #define NODE_ERRINFO NODE_ERRINFO
3db12e8b » matz
1998-01-16 Initial revision
209 NODE_DEFINED,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
210 #define NODE_DEFINED NODE_DEFINED
7ea2cedd » matz
1998-01-16 This commit was generated by cvs2svn to compensate for changes in r11,
211 NODE_POSTEXE,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
212 #define NODE_POSTEXE NODE_POSTEXE
210367ec » matz
1999-01-20 This commit was generated by cvs2svn to compensate for changes in r372,
213 NODE_ALLOCA,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
214 #define NODE_ALLOCA NODE_ALLOCA
03581d58 » matz
2000-12-05 matz
215 NODE_BMETHOD,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
216 #define NODE_BMETHOD NODE_BMETHOD
dde62bcd » matz
2000-01-17 2000-01-17
217 NODE_MEMO,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
218 #define NODE_MEMO NODE_MEMO
87beea44 » matz
2001-01-09 * enum.c (enum_inject): new method.
219 NODE_IFUNC,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
220 #define NODE_IFUNC NODE_IFUNC
d4f2f6a7 » nobu
2002-10-23 * eval.c (rb_eval): added NODE_DSYM, symbol literal with
221 NODE_DSYM,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
222 #define NODE_DSYM NODE_DSYM
86db6564 » nobu
2002-12-17 * node.h (NODE_ATTRASGN): new node, assignment to attribute.
223 NODE_ATTRASGN,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
224 #define NODE_ATTRASGN NODE_ATTRASGN
136b284b » matz
2004-09-22 * parse.y: remove global variables ruby_eval_tree and
225 NODE_PRELUDE,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
226 #define NODE_PRELUDE NODE_PRELUDE
6c0cc67b » nobu
2005-03-02 * eval.c (rb_eval): [EXPERIMENTAL] NODE_LAMBDA implemented.
227 NODE_LAMBDA,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
228 #define NODE_LAMBDA NODE_LAMBDA
a3e1b1ce » ko1
2006-12-31 * Merge YARV
229 NODE_OPTBLOCK,
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
230 #define NODE_OPTBLOCK NODE_OPTBLOCK
fedf4898 » matz
2000-05-01 2000-05-01
231 NODE_LAST
e8b0aa4c » nobu
2007-07-05 * include/ruby/{node,ruby}.h, ruby.c: added enum constants for gdb
232 #define NODE_LAST NODE_LAST
3db12e8b » matz
1998-01-16 Initial revision
233 };
234
235 typedef struct RNode {
698fe540 » nobu
2010-12-15 * node.h (RNode): match the type of flags to RBasic, and renamed
236 VALUE flags;
237 VALUE nd_reserved; /* ex nd_file */
3db12e8b » matz
1998-01-16 Initial revision
238 union {
239 struct RNode *node;
240 ID id;
241 VALUE value;
fd06a2a7 » matz
2001-05-02 * eval.c (block_pass): should not downgrade safe level.
242 VALUE (*cfunc)(ANYARGS);
3db12e8b » matz
1998-01-16 Initial revision
243 ID *tbl;
244 } u1;
245 union {
246 struct RNode *node;
247 ID id;
d0588e98 » knu
2002-12-31 * node.h (struct RNode): Change argc from int to long. Otherwize
248 long argc;
3db12e8b » matz
1998-01-16 Initial revision
249 VALUE value;
250 } u2;
251 union {
252 struct RNode *node;
253 ID id;
8b1de0b1 » matz
2000-05-24 2000-05-24
254 long state;
94664d6d » ko1
2009-07-16 * node.h, vm_core.h, variable.c: rename global_entry to rb_global_entry.
255 struct rb_global_entry *entry;
8b1de0b1 » matz
2000-05-24 2000-05-24
256 long cnt;
3db12e8b » matz
1998-01-16 Initial revision
257 VALUE value;
258 } u3;
259 } NODE;
260
261 #define RNODE(obj) (R_CAST(RNode)(obj))
262
588d8702 » matz
2008-02-18 * include/ruby/node.h (NODE_FL_NEWLINE): renamed from NODE_NEWLINE
263 /* 0..4:T_TYPES, 5:FL_MARK, 6:reserved, 7:NODE_FL_NEWLINE */
264 #define NODE_FL_NEWLINE (((VALUE)1)<<7)
7dbfe896 » shugo
2009-12-03 * compile.c (compile_cpath, iseq_compile_each): reverted
265 #define NODE_FL_CREF_PUSHED_BY_EVAL NODE_FL_NEWLINE
3db12e8b » matz
1998-01-16 Initial revision
266
a6e5b6d6 » akr
2007-10-07 * include/ruby/node.h: make node flags as VALUE type.
267 #define NODE_TYPESHIFT 8
268 #define NODE_TYPEMASK (((VALUE)0x7f)<<NODE_TYPESHIFT)
288ceaee » matz
2004-11-17 * re.c (rb_reg_initialize_m): should raise exception instead of
269
270 #define nd_type(n) ((int) (((RNODE(n))->flags & NODE_TYPEMASK)>>NODE_TYPESHIFT))
018837b8 » matz
2004-10-27 * node.h (NODE_TYPESHIFT): allow 4 more bits for line numbers.
271 #define nd_set_type(n,t) \
6bc19376 » akr
2011-01-20 * node.h: parenthesize macro arguments.
272 RNODE(n)->flags=((RNODE(n)->flags&~NODE_TYPEMASK)|((((unsigned long)(t))<<NODE_TYPESHIFT)&NODE_TYPEMASK))
002517ab » matz
2004-01-21 * parse.y (newline_node): do not use NODE_NEWLINE node anymore,
273
a6e5b6d6 » akr
2007-10-07 * include/ruby/node.h: make node flags as VALUE type.
274 #define NODE_LSHIFT (NODE_TYPESHIFT+7)
275 #define NODE_LMASK (((SIGNED_VALUE)1<<(sizeof(VALUE)*CHAR_BIT-NODE_LSHIFT))-1)
4f041daf » nobu
2009-09-14 * debug.c, parse.y: fixed types.
276 #define nd_line(n) (int)(RNODE(n)->flags>>NODE_LSHIFT)
3db12e8b » matz
1998-01-16 Initial revision
277 #define nd_set_line(n,l) \
210367ec » matz
1999-01-20 This commit was generated by cvs2svn to compensate for changes in r372,
278 RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
3db12e8b » matz
1998-01-16 Initial revision
279
280 #define nd_head u1.node
281 #define nd_alen u2.argc
282 #define nd_next u3.node
283
284 #define nd_cond u1.node
285 #define nd_body u2.node
286 #define nd_else u3.node
287
288 #define nd_orig u3.value
289
290 #define nd_resq u2.node
291 #define nd_ensr u3.node
292
293 #define nd_1st u1.node
294 #define nd_2nd u2.node
295
296 #define nd_stts u1.node
297
298 #define nd_entry u3.entry
299 #define nd_vid u1.id
300 #define nd_cflag u2.id
301 #define nd_cval u3.value
302
a3e1b1ce » ko1
2006-12-31 * Merge YARV
303 #define nd_oid u1.id
3db12e8b » matz
1998-01-16 Initial revision
304 #define nd_cnt u3.cnt
305 #define nd_tbl u1.tbl
306
307 #define nd_var u1.node
308 #define nd_iter u3.node
309
310 #define nd_value u2.node
311 #define nd_aid u3.id
312
313 #define nd_lit u1.value
314
0fe72040 » ko1
2007-02-24 * parse.y, node.h, compile.c: change node tree structure. a purpose
315 #define nd_frml u2.argc
316 #define nd_rest u1.id
3db12e8b » matz
1998-01-16 Initial revision
317 #define nd_opt u1.node
0fe72040 » ko1
2007-02-24 * parse.y, node.h, compile.c: change node tree structure. a purpose
318 #define nd_pid u1.id
319 #define nd_plen u2.argc
3db12e8b » matz
1998-01-16 Initial revision
320
321 #define nd_recv u1.node
322 #define nd_mid u2.id
323 #define nd_args u3.node
324
a3e1b1ce » ko1
2006-12-31 * Merge YARV
325 #define nd_noex u3.id
3db12e8b » matz
1998-01-16 Initial revision
326 #define nd_defn u3.node
327
328 #define nd_cfnc u1.cfunc
329 #define nd_argc u2.argc
330
884efe7c » nobu
2003-02-19 * node.h (nd_cpath): nested class/module declaration.
331 #define nd_cpath u1.node
7ea2cedd » matz
1998-01-16 This commit was generated by cvs2svn to compensate for changes in r11,
332 #define nd_super u3.node
3db12e8b » matz
1998-01-16 Initial revision
333
334 #define nd_modl u1.id
335 #define nd_clss u1.value
336
337 #define nd_beg u1.node
338 #define nd_end u2.node
339 #define nd_state u3.state
210367ec » matz
1999-01-20 This commit was generated by cvs2svn to compensate for changes in r372,
340 #define nd_rval u2.value
3db12e8b » matz
1998-01-16 Initial revision
341
342 #define nd_nth u2.argc
343
344 #define nd_tag u1.id
345 #define nd_tval u2.value
346
a3e1b1ce » ko1
2006-12-31 * Merge YARV
347 #define nd_visi u2.argc
348
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
349 #define NEW_NODE(t,a0,a1,a2) rb_node_newnode((t),(VALUE)(a0),(VALUE)(a1),(VALUE)(a2))
350
bb7a2d40 » ko1
2007-03-21 * compile.c, parse.y, eval.c, intern.h, iseq.c, lex.c, node.h,
351 #define NEW_DEFN(i,a,d,p) NEW_NODE(NODE_DEFN,0,i,NEW_SCOPE(a,d))
352 #define NEW_DEFS(r,i,a,d) NEW_NODE(NODE_DEFS,r,i,NEW_SCOPE(a,d))
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
353 #define NEW_IFUNC(f,c) NEW_NODE(NODE_IFUNC,f,c,0)
bb7a2d40 » ko1
2007-03-21 * compile.c, parse.y, eval.c, intern.h, iseq.c, lex.c, node.h,
354 #define NEW_SCOPE(a,b) NEW_NODE(NODE_SCOPE,local_tbl(),b,a)
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
355 #define NEW_BLOCK(a) NEW_NODE(NODE_BLOCK,a,0,0)
356 #define NEW_IF(c,t,e) NEW_NODE(NODE_IF,c,t,e)
210367ec » matz
1999-01-20 This commit was generated by cvs2svn to compensate for changes in r372,
357 #define NEW_UNLESS(c,t,e) NEW_IF(c,e,t)
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
358 #define NEW_CASE(h,b) NEW_NODE(NODE_CASE,h,b,0)
359 #define NEW_WHEN(c,t,e) NEW_NODE(NODE_WHEN,c,t,e)
360 #define NEW_OPT_N(b) NEW_NODE(NODE_OPT_N,0,b,0)
361 #define NEW_WHILE(c,b,n) NEW_NODE(NODE_WHILE,c,b,n)
362 #define NEW_UNTIL(c,b,n) NEW_NODE(NODE_UNTIL,c,b,n)
363 #define NEW_FOR(v,i,b) NEW_NODE(NODE_FOR,v,b,i)
bb7a2d40 » ko1
2007-03-21 * compile.c, parse.y, eval.c, intern.h, iseq.c, lex.c, node.h,
364 #define NEW_ITER(a,b) NEW_NODE(NODE_ITER,0,NEW_SCOPE(a,b),0)
365 #define NEW_LAMBDA(a) NEW_NODE(NODE_LAMBDA,a,0,0)
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
366 #define NEW_BREAK(s) NEW_NODE(NODE_BREAK,s,0,0)
367 #define NEW_NEXT(s) NEW_NODE(NODE_NEXT,s,0,0)
368 #define NEW_REDO() NEW_NODE(NODE_REDO,0,0,0)
369 #define NEW_RETRY() NEW_NODE(NODE_RETRY,0,0,0)
370 #define NEW_BEGIN(b) NEW_NODE(NODE_BEGIN,0,b,0)
371 #define NEW_RESCUE(b,res,e) NEW_NODE(NODE_RESCUE,b,res,e)
372 #define NEW_RESBODY(a,ex,n) NEW_NODE(NODE_RESBODY,n,ex,a)
373 #define NEW_ENSURE(b,en) NEW_NODE(NODE_ENSURE,b,0,en)
374 #define NEW_RETURN(s) NEW_NODE(NODE_RETURN,s,0,0)
375 #define NEW_YIELD(a,s) NEW_NODE(NODE_YIELD,a,0,s)
3db12e8b » matz
1998-01-16 Initial revision
376 #define NEW_LIST(a) NEW_ARRAY(a)
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
377 #define NEW_ARRAY(a) NEW_NODE(NODE_ARRAY,a,1,0)
378 #define NEW_ZARRAY() NEW_NODE(NODE_ZARRAY,0,0,0)
379 #define NEW_HASH(a) NEW_NODE(NODE_HASH,a,0,0)
380 #define NEW_MASGN(l,r) NEW_NODE(NODE_MASGN,l,0,r)
381 #define NEW_GASGN(v,val) NEW_NODE(NODE_GASGN,v,val,rb_global_entry(v))
bb7a2d40 » ko1
2007-03-21 * compile.c, parse.y, eval.c, intern.h, iseq.c, lex.c, node.h,
382 #define NEW_LASGN(v,val) NEW_NODE(NODE_LASGN,v,val,0)
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
383 #define NEW_DASGN(v,val) NEW_NODE(NODE_DASGN,v,val,0)
384 #define NEW_DASGN_CURR(v,val) NEW_NODE(NODE_DASGN_CURR,v,val,0)
385 #define NEW_IASGN(v,val) NEW_NODE(NODE_IASGN,v,val,0)
72f2d2a0 » matz
2007-02-04 * parse.y (rb_compose_ivar2): function to create a new ivar2
386 #define NEW_IASGN2(v,val) NEW_NODE(NODE_IASGN2,v,val,0)
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
387 #define NEW_CDECL(v,val,path) NEW_NODE(NODE_CDECL,v,val,path)
388 #define NEW_CVASGN(v,val) NEW_NODE(NODE_CVASGN,v,val,0)
389 #define NEW_CVDECL(v,val) NEW_NODE(NODE_CVDECL,v,val,0)
390 #define NEW_OP_ASGN1(p,id,a) NEW_NODE(NODE_OP_ASGN1,p,id,a)
391 #define NEW_OP_ASGN2(r,i,o,val) NEW_NODE(NODE_OP_ASGN2,r,val,NEW_OP_ASGN22(i,o))
392 #define NEW_OP_ASGN22(i,o) NEW_NODE(NODE_OP_ASGN2,i,o,rb_id_attrset(i))
393 #define NEW_OP_ASGN_OR(i,val) NEW_NODE(NODE_OP_ASGN_OR,i,val,0)
394 #define NEW_OP_ASGN_AND(i,val) NEW_NODE(NODE_OP_ASGN_AND,i,val,0)
395 #define NEW_GVAR(v) NEW_NODE(NODE_GVAR,v,0,rb_global_entry(v))
bb7a2d40 » ko1
2007-03-21 * compile.c, parse.y, eval.c, intern.h, iseq.c, lex.c, node.h,
396 #define NEW_LVAR(v) NEW_NODE(NODE_LVAR,v,0,0)
3e7c55fb » nobu
2004-10-02 * parse.y (local_vars): moved to struct parser_params.
397 #define NEW_DVAR(v) NEW_NODE(NODE_DVAR,v,0,0)
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
398 #define NEW_IVAR(v) NEW_NODE(NODE_IVAR,v,0,0)
399 #define NEW_CONST(v) NEW_NODE(NODE_CONST,v,0,0)
400 #define NEW_CVAR(v) NEW_NODE(NODE_CVAR,v,0,0)
bb7a2d40 » ko1
2007-03-21 * compile.c, parse.y, eval.c, intern.h, iseq.c, lex.c, node.h,
401 #define NEW_NTH_REF(n) NEW_NODE(NODE_NTH_REF,0,n,0)
402 #define NEW_BACK_REF(n) NEW_NODE(NODE_BACK_REF,0,n,0)
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
403 #define NEW_MATCH(c) NEW_NODE(NODE_MATCH,c,0,0)
404 #define NEW_MATCH2(n1,n2) NEW_NODE(NODE_MATCH2,n1,n2,0)
405 #define NEW_MATCH3(r,n2) NEW_NODE(NODE_MATCH3,r,n2,0)
406 #define NEW_LIT(l) NEW_NODE(NODE_LIT,l,0,0)
407 #define NEW_STR(s) NEW_NODE(NODE_STR,s,0,0)
06ec0390 » nobu
2004-05-18 * node.h (NEW_DSTR): adjust list length.
408 #define NEW_DSTR(s) NEW_NODE(NODE_DSTR,s,1,0)
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
409 #define NEW_XSTR(s) NEW_NODE(NODE_XSTR,s,0,0)
410 #define NEW_DXSTR(s) NEW_NODE(NODE_DXSTR,s,0,0)
411 #define NEW_DSYM(s) NEW_NODE(NODE_DSYM,s,0,0)
412 #define NEW_EVSTR(n) NEW_NODE(NODE_EVSTR,0,(n),0)
413 #define NEW_CALL(r,m,a) NEW_NODE(NODE_CALL,r,m,a)
414 #define NEW_FCALL(m,a) NEW_NODE(NODE_FCALL,0,m,a)
415 #define NEW_VCALL(m) NEW_NODE(NODE_VCALL,0,m,0)
416 #define NEW_SUPER(a) NEW_NODE(NODE_SUPER,0,0,a)
417 #define NEW_ZSUPER() NEW_NODE(NODE_ZSUPER,0,0,0)
0fe72040 » ko1
2007-02-24 * parse.y, node.h, compile.c: change node tree structure. a purpose
418 #define NEW_ARGS(m,o) NEW_NODE(NODE_ARGS,o,m,0)
419 #define NEW_ARGS_AUX(r,b) NEW_NODE(NODE_ARGS_AUX,r,b,0)
420 #define NEW_OPT_ARG(i,v) NEW_NODE(NODE_OPT_ARG,i,v,0)
421 #define NEW_POSTARG(i,v) NEW_NODE(NODE_POSTARG,i,v,0)
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
422 #define NEW_ARGSCAT(a,b) NEW_NODE(NODE_ARGSCAT,a,b,0)
423 #define NEW_ARGSPUSH(a,b) NEW_NODE(NODE_ARGSPUSH,a,b,0)
424 #define NEW_SPLAT(a) NEW_NODE(NODE_SPLAT,a,0,0)
8a4abe47 » matz
2003-10-06 * parse.y (stmt): rhs of multiple assignment should not be
425 #define NEW_TO_ARY(a) NEW_NODE(NODE_TO_ARY,a,0,0)
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
426 #define NEW_BLOCK_ARG(v) NEW_NODE(NODE_BLOCK_ARG,v,0,local_cnt(v))
427 #define NEW_BLOCK_PASS(b) NEW_NODE(NODE_BLOCK_PASS,0,b,0)
3e9e2bd4 » matz
2004-10-30 * eval.c (rb_eval): NODE_XSTR should pass copy of literal string.
428 #define NEW_ALIAS(n,o) NEW_NODE(NODE_ALIAS,n,o,0)
429 #define NEW_VALIAS(n,o) NEW_NODE(NODE_VALIAS,n,o,0)
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
430 #define NEW_UNDEF(i) NEW_NODE(NODE_UNDEF,0,i,0)
bb7a2d40 » ko1
2007-03-21 * compile.c, parse.y, eval.c, intern.h, iseq.c, lex.c, node.h,
431 #define NEW_CLASS(n,b,s) NEW_NODE(NODE_CLASS,n,NEW_SCOPE(0,b),(s))
432 #define NEW_SCLASS(r,b) NEW_NODE(NODE_SCLASS,r,NEW_SCOPE(0,b),0)
433 #define NEW_MODULE(n,b) NEW_NODE(NODE_MODULE,n,NEW_SCOPE(0,b),0)
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
434 #define NEW_COLON2(c,i) NEW_NODE(NODE_COLON2,c,i,0)
435 #define NEW_COLON3(i) NEW_NODE(NODE_COLON3,0,i,0)
436 #define NEW_DOT2(b,e) NEW_NODE(NODE_DOT2,b,e,0)
437 #define NEW_DOT3(b,e) NEW_NODE(NODE_DOT3,b,e,0)
438 #define NEW_SELF() NEW_NODE(NODE_SELF,0,0,0)
439 #define NEW_NIL() NEW_NODE(NODE_NIL,0,0,0)
440 #define NEW_TRUE() NEW_NODE(NODE_TRUE,0,0,0)
441 #define NEW_FALSE() NEW_NODE(NODE_FALSE,0,0,0)
225cd9f1 » matz
2004-01-22 * parse.y (opt_rescue): use NODE_ERRINFO() instead of
442 #define NEW_ERRINFO() NEW_NODE(NODE_ERRINFO,0,0,0)
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
443 #define NEW_DEFINED(e) NEW_NODE(NODE_DEFINED,e,0,0)
7ea2cedd » matz
1998-01-16 This commit was generated by cvs2svn to compensate for changes in r11,
444 #define NEW_PREEXE(b) NEW_SCOPE(b)
5675cdbd » matz
2006-02-03 * eval.c: unify ruby_class (for method definition) and ruby_cbase
445 #define NEW_POSTEXE(b) NEW_NODE(NODE_POSTEXE,0,b,0)
9ae79bfc » matz
2003-07-04 * node.h (NEW_NODE): cast arguments to rb_node_newnode().
446 #define NEW_BMETHOD(b) NEW_NODE(NODE_BMETHOD,0,0,b)
447 #define NEW_ATTRASGN(r,m,a) NEW_NODE(NODE_ATTRASGN,r,m,a)
136b284b » matz
2004-09-22 * parse.y: remove global variables ruby_eval_tree and
448 #define NEW_PRELUDE(p,b) NEW_NODE(NODE_PRELUDE,p,b,0)
a3e1b1ce » ko1
2006-12-31 * Merge YARV
449 #define NEW_OPTBLOCK(a) NEW_NODE(NODE_OPTBLOCK,a,0,0)
3db12e8b » matz
1998-01-16 Initial revision
450
2b1f8574 » nobu
2010-08-11 * include/ruby/encoding.h (rb_char_to_option_kcode): used in
451 #if defined __GNUC__ && __GNUC__ >= 4
452 #pragma GCC visibility push(default)
453 #endif
454
08c1738c » ocean
2005-09-14 * bignum.c: changed `foo _((boo))' to `foo(boo)`. [ruby-dev:27056]
455 VALUE rb_parser_new(void);
456 VALUE rb_parser_end_seen_p(VALUE);
3cd040b6 » nobu
2007-10-16 * encoding.c (rb_primary_encoding): added Encoding.primary_encoding.
457 VALUE rb_parser_encoding(VALUE);
2b1f8574 » nobu
2010-08-11 * include/ruby/encoding.h (rb_char_to_option_kcode): used in
458 VALUE rb_parser_get_yydebug(VALUE);
459 VALUE rb_parser_set_yydebug(VALUE, VALUE);
032248d3 » nobu
2005-07-13 * parse.y: remove static variables. [ruby-dev:26530]
460
a3e1b1ce » ko1
2006-12-31 * Merge YARV
461 NODE *rb_parser_compile_cstr(volatile VALUE, const char*, const char*, int, int);
462 NODE *rb_parser_compile_string(volatile VALUE, const char*, VALUE, int);
463 NODE *rb_parser_compile_file(volatile VALUE, const char*, VALUE, int);
032248d3 » nobu
2005-07-13 * parse.y: remove static variables. [ruby-dev:26530]
464
08c1738c » ocean
2005-09-14 * bignum.c: changed `foo _((boo))' to `foo(boo)`. [ruby-dev:27056]
465 NODE *rb_compile_cstr(const char*, const char*, int, int);
466 NODE *rb_compile_string(const char*, VALUE, int);
467 NODE *rb_compile_file(const char*, VALUE, int);
7ea2cedd » matz
1998-01-16 This commit was generated by cvs2svn to compensate for changes in r11,
468
08c1738c » ocean
2005-09-14 * bignum.c: changed `foo _((boo))' to `foo(boo)`. [ruby-dev:27056]
469 NODE *rb_node_newnode(enum node_type,VALUE,VALUE,VALUE);
57b83a51 » authorNari
2009-05-13 * gc.c: add longlife garbage collection. [ruby-dev:38423]
470 NODE *rb_node_newnode_longlife(enum node_type,VALUE,VALUE,VALUE);
7ea2cedd » matz
1998-01-16 This commit was generated by cvs2svn to compensate for changes in r11,
471
94664d6d » ko1
2009-07-16 * node.h, vm_core.h, variable.c: rename global_entry to rb_global_entry.
472 struct rb_global_entry {
473 struct rb_global_variable *var;
474 ID id;
475 };
476
477 struct rb_global_entry *rb_global_entry(ID);
478 VALUE rb_gvar_get(struct rb_global_entry *);
479 VALUE rb_gvar_set(struct rb_global_entry *, VALUE);
480 VALUE rb_gvar_defined(struct rb_global_entry *);
2b1f8574 » nobu
2010-08-11 * include/ruby/encoding.h (rb_char_to_option_kcode): used in
481 const struct kwtable *rb_reserved_word(const char *, unsigned int);
482
3bf1afbd » nobu
2010-08-14 * include/ruby/intern.h (rb_make_backtrace, rb_make_exception):
483 struct parser_params;
484 void *rb_parser_malloc(struct parser_params *, size_t);
485 void *rb_parser_realloc(struct parser_params *, void *, size_t);
486 void *rb_parser_calloc(struct parser_params *, size_t, size_t);
487 void rb_parser_free(struct parser_params *, void *);
488
2b1f8574 » nobu
2010-08-11 * include/ruby/encoding.h (rb_char_to_option_kcode): used in
489 #if defined __GNUC__ && __GNUC__ >= 4
490 #pragma GCC visibility pop
491 #endif
94664d6d » ko1
2009-07-16 * node.h, vm_core.h, variable.c: rename global_entry to rb_global_entry.
492
0d684bea » matz
1999-10-29 19991029
493 #if defined(__cplusplus)
2b592580 » nobu
2007-06-10 * include/ruby: moved public headers.
494 #if 0
495 { /* satisfy cc-mode */
496 #endif
0d684bea » matz
1999-10-29 19991029
497 } /* extern "C" { */
498 #endif
499
2b592580 » nobu
2007-06-10 * include/ruby: moved public headers.
500 #endif /* RUBY_NODE_H */
Something went wrong with that request. Please try again.