Ruby 2.1.5p273(2014-11-13revision48405)

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

eventids2.c
Go to the documentation of this file.
1 #define tIGNORED_NL (tLAST_TOKEN + 1)
2 #define tCOMMENT (tLAST_TOKEN + 2)
3 #define tEMBDOC_BEG (tLAST_TOKEN + 3)
4 #define tEMBDOC (tLAST_TOKEN + 4)
5 #define tEMBDOC_END (tLAST_TOKEN + 5)
6 #define tSP (tLAST_TOKEN + 6)
7 #define tHEREDOC_BEG (tLAST_TOKEN + 7)
8 #define tHEREDOC_END (tLAST_TOKEN + 8)
9 #define k__END__ (tLAST_TOKEN + 9)
10
11 static ID ripper_id_backref;
12 static ID ripper_id_backtick;
13 static ID ripper_id_comma;
14 static ID ripper_id_const;
15 static ID ripper_id_cvar;
16 static ID ripper_id_embexpr_beg;
17 static ID ripper_id_embexpr_end;
18 static ID ripper_id_embvar;
19 static ID ripper_id_float;
20 static ID ripper_id_gvar;
21 static ID ripper_id_ident;
22 static ID ripper_id_imaginary;
23 static ID ripper_id_int;
24 static ID ripper_id_ivar;
25 static ID ripper_id_kw;
26 static ID ripper_id_lbrace;
27 static ID ripper_id_lbracket;
28 static ID ripper_id_lparen;
29 static ID ripper_id_nl;
30 static ID ripper_id_op;
31 static ID ripper_id_period;
32 static ID ripper_id_rbrace;
33 static ID ripper_id_rbracket;
34 static ID ripper_id_rparen;
35 static ID ripper_id_semicolon;
36 static ID ripper_id_symbeg;
37 static ID ripper_id_tstring_beg;
38 static ID ripper_id_tstring_content;
39 static ID ripper_id_tstring_end;
40 static ID ripper_id_words_beg;
41 static ID ripper_id_qwords_beg;
42 static ID ripper_id_qsymbols_beg;
43 static ID ripper_id_symbols_beg;
44 static ID ripper_id_words_sep;
45 static ID ripper_id_rational;
46 static ID ripper_id_regexp_beg;
47 static ID ripper_id_regexp_end;
48 static ID ripper_id_label;
49 static ID ripper_id_tlambda;
50 static ID ripper_id_tlambeg;
51
52 static ID ripper_id_ignored_nl;
53 static ID ripper_id_comment;
54 static ID ripper_id_embdoc_beg;
55 static ID ripper_id_embdoc;
56 static ID ripper_id_embdoc_end;
57 static ID ripper_id_sp;
58 static ID ripper_id_heredoc_beg;
59 static ID ripper_id_heredoc_end;
60 static ID ripper_id___end__;
61 static ID ripper_id_CHAR;
62
63 #include "eventids2table.c"
64
65 static void
66 ripper_init_eventids2(void)
67 {
68 ripper_id_backref = rb_intern_const("on_backref");
69 ripper_id_backtick = rb_intern_const("on_backtick");
70 ripper_id_comma = rb_intern_const("on_comma");
71 ripper_id_const = rb_intern_const("on_const");
72 ripper_id_cvar = rb_intern_const("on_cvar");
73 ripper_id_embexpr_beg = rb_intern_const("on_embexpr_beg");
74 ripper_id_embexpr_end = rb_intern_const("on_embexpr_end");
75 ripper_id_embvar = rb_intern_const("on_embvar");
76 ripper_id_float = rb_intern_const("on_float");
77 ripper_id_gvar = rb_intern_const("on_gvar");
78 ripper_id_ident = rb_intern_const("on_ident");
79 ripper_id_imaginary = rb_intern_const("on_imaginary");
80 ripper_id_int = rb_intern_const("on_int");
81 ripper_id_ivar = rb_intern_const("on_ivar");
82 ripper_id_kw = rb_intern_const("on_kw");
83 ripper_id_lbrace = rb_intern_const("on_lbrace");
84 ripper_id_lbracket = rb_intern_const("on_lbracket");
85 ripper_id_lparen = rb_intern_const("on_lparen");
86 ripper_id_nl = rb_intern_const("on_nl");
87 ripper_id_op = rb_intern_const("on_op");
88 ripper_id_period = rb_intern_const("on_period");
89 ripper_id_rbrace = rb_intern_const("on_rbrace");
90 ripper_id_rbracket = rb_intern_const("on_rbracket");
91 ripper_id_rparen = rb_intern_const("on_rparen");
92 ripper_id_semicolon = rb_intern_const("on_semicolon");
93 ripper_id_symbeg = rb_intern_const("on_symbeg");
94 ripper_id_tstring_beg = rb_intern_const("on_tstring_beg");
95 ripper_id_tstring_content = rb_intern_const("on_tstring_content");
96 ripper_id_tstring_end = rb_intern_const("on_tstring_end");
97 ripper_id_words_beg = rb_intern_const("on_words_beg");
98 ripper_id_qwords_beg = rb_intern_const("on_qwords_beg");
99 ripper_id_qsymbols_beg = rb_intern_const("on_qsymbols_beg");
100 ripper_id_symbols_beg = rb_intern_const("on_symbols_beg");
101 ripper_id_words_sep = rb_intern_const("on_words_sep");
102 ripper_id_rational = rb_intern_const("on_rational");
103 ripper_id_regexp_beg = rb_intern_const("on_regexp_beg");
104 ripper_id_regexp_end = rb_intern_const("on_regexp_end");
105 ripper_id_label = rb_intern_const("on_label");
106 ripper_id_tlambda = rb_intern_const("on_tlambda");
107 ripper_id_tlambeg = rb_intern_const("on_tlambeg");
108
109 ripper_id_ignored_nl = rb_intern_const("on_ignored_nl");
110 ripper_id_comment = rb_intern_const("on_comment");
111 ripper_id_embdoc_beg = rb_intern_const("on_embdoc_beg");
112 ripper_id_embdoc = rb_intern_const("on_embdoc");
113 ripper_id_embdoc_end = rb_intern_const("on_embdoc_end");
114 ripper_id_sp = rb_intern_const("on_sp");
115 ripper_id_heredoc_beg = rb_intern_const("on_heredoc_beg");
116 ripper_id_heredoc_end = rb_intern_const("on_heredoc_end");
117 ripper_id___end__ = rb_intern_const("on___end__");
118 ripper_id_CHAR = rb_intern_const("on_CHAR");
119 }
120
121 static const struct token_assoc {
122 int token;
123 ID *id;
124 } token_to_eventid[] = {
125 {' ', &ripper_id_words_sep},
126 {'!', &ripper_id_op},
127 {'%', &ripper_id_op},
128 {'&', &ripper_id_op},
129 {'*', &ripper_id_op},
130 {'+', &ripper_id_op},
131 {'-', &ripper_id_op},
132 {'/', &ripper_id_op},
133 {'<', &ripper_id_op},
134 {'=', &ripper_id_op},
135 {'>', &ripper_id_op},
136 {'?', &ripper_id_op},
137 {'^', &ripper_id_op},
138 {'|', &ripper_id_op},
139 {'~', &ripper_id_op},
140 {':', &ripper_id_op},
141 {',', &ripper_id_comma},
142 {'.', &ripper_id_period},
143 {';', &ripper_id_semicolon},
144 {'`', &ripper_id_backtick},
145 {'\n', &ripper_id_nl},
146 {keyword_alias, &ripper_id_kw},
147 {keyword_and, &ripper_id_kw},
148 {keyword_begin, &ripper_id_kw},
149 {keyword_break, &ripper_id_kw},
150 {keyword_case, &ripper_id_kw},
151 {keyword_class, &ripper_id_kw},
152 {keyword_def, &ripper_id_kw},
153 {keyword_defined, &ripper_id_kw},
154 {keyword_do, &ripper_id_kw},
155 {keyword_do_block, &ripper_id_kw},
156 {keyword_do_cond, &ripper_id_kw},
157 {keyword_else, &ripper_id_kw},
158 {keyword_elsif, &ripper_id_kw},
159 {keyword_end, &ripper_id_kw},
160 {keyword_ensure, &ripper_id_kw},
161 {keyword_false, &ripper_id_kw},
162 {keyword_for, &ripper_id_kw},
163 {keyword_if, &ripper_id_kw},
164 {modifier_if, &ripper_id_kw},
165 {keyword_in, &ripper_id_kw},
166 {keyword_module, &ripper_id_kw},
167 {keyword_next, &ripper_id_kw},
168 {keyword_nil, &ripper_id_kw},
169 {keyword_not, &ripper_id_kw},
170 {keyword_or, &ripper_id_kw},
171 {keyword_redo, &ripper_id_kw},
172 {keyword_rescue, &ripper_id_kw},
173 {modifier_rescue, &ripper_id_kw},
174 {keyword_retry, &ripper_id_kw},
175 {keyword_return, &ripper_id_kw},
176 {keyword_self, &ripper_id_kw},
177 {keyword_super, &ripper_id_kw},
178 {keyword_then, &ripper_id_kw},
179 {keyword_true, &ripper_id_kw},
180 {keyword_undef, &ripper_id_kw},
181 {keyword_unless, &ripper_id_kw},
182 {modifier_unless, &ripper_id_kw},
183 {keyword_until, &ripper_id_kw},
184 {modifier_until, &ripper_id_kw},
185 {keyword_when, &ripper_id_kw},
186 {keyword_while, &ripper_id_kw},
187 {modifier_while, &ripper_id_kw},
188 {keyword_yield, &ripper_id_kw},
189 {keyword__FILE__, &ripper_id_kw},
190 {keyword__LINE__, &ripper_id_kw},
191 {keyword__ENCODING__, &ripper_id_kw},
192 {keyword_BEGIN, &ripper_id_kw},
193 {keyword_END, &ripper_id_kw},
194 {keyword_do_LAMBDA, &ripper_id_kw},
195 {tAMPER, &ripper_id_op},
196 {tANDOP, &ripper_id_op},
197 {tAREF, &ripper_id_op},
198 {tASET, &ripper_id_op},
199 {tASSOC, &ripper_id_op},
200 {tBACK_REF, &ripper_id_backref},
201 {tCHAR, &ripper_id_CHAR},
202 {tCMP, &ripper_id_op},
203 {tCOLON2, &ripper_id_op},
204 {tCOLON3, &ripper_id_op},
205 {tCONSTANT, &ripper_id_const},
206 {tCVAR, &ripper_id_cvar},
207 {tDOT2, &ripper_id_op},
208 {tDOT3, &ripper_id_op},
209 {tEQ, &ripper_id_op},
210 {tEQQ, &ripper_id_op},
211 {tFID, &ripper_id_ident},
212 {tFLOAT, &ripper_id_float},
213 {tGEQ, &ripper_id_op},
214 {tGVAR, &ripper_id_gvar},
215 {tIDENTIFIER, &ripper_id_ident},
216 {tIMAGINARY, &ripper_id_imaginary},
217 {tINTEGER, &ripper_id_int},
218 {tIVAR, &ripper_id_ivar},
219 {tLBRACE, &ripper_id_lbrace},
220 {tLBRACE_ARG, &ripper_id_lbrace},
221 {'{', &ripper_id_lbrace},
222 {'}', &ripper_id_rbrace},
223 {tLBRACK, &ripper_id_lbracket},
224 {'[', &ripper_id_lbracket},
225 {']', &ripper_id_rbracket},
226 {tLEQ, &ripper_id_op},
227 {tLPAREN, &ripper_id_lparen},
228 {tLPAREN_ARG, &ripper_id_lparen},
229 {'(', &ripper_id_lparen},
230 {')', &ripper_id_rparen},
231 {tLSHFT, &ripper_id_op},
232 {tMATCH, &ripper_id_op},
233 {tNEQ, &ripper_id_op},
234 {tNMATCH, &ripper_id_op},
235 {tNTH_REF, &ripper_id_backref},
236 {tOP_ASGN, &ripper_id_op},
237 {tOROP, &ripper_id_op},
238 {tPOW, &ripper_id_op},
239 {tQWORDS_BEG, &ripper_id_qwords_beg},
240 {tQSYMBOLS_BEG, &ripper_id_qsymbols_beg},
241 {tSYMBOLS_BEG, &ripper_id_symbols_beg},
242 {tRATIONAL, &ripper_id_rational},
243 {tREGEXP_BEG, &ripper_id_regexp_beg},
244 {tREGEXP_END, &ripper_id_regexp_end},
245 {tRPAREN, &ripper_id_rparen},
246 {tRSHFT, &ripper_id_op},
247 {tSTAR, &ripper_id_op},
248 {tDSTAR, &ripper_id_op},
249 {tSTRING_BEG, &ripper_id_tstring_beg},
250 {tSTRING_CONTENT, &ripper_id_tstring_content},
251 {tSTRING_DBEG, &ripper_id_embexpr_beg},
252 {tSTRING_DEND, &ripper_id_embexpr_end},
253 {tSTRING_DVAR, &ripper_id_embvar},
254 {tSTRING_END, &ripper_id_tstring_end},
255 {tSYMBEG, &ripper_id_symbeg},
256 {tUMINUS, &ripper_id_op},
257 {tUMINUS_NUM, &ripper_id_op},
258 {tUPLUS, &ripper_id_op},
259 {tWORDS_BEG, &ripper_id_words_beg},
260 {tXSTRING_BEG, &ripper_id_backtick},
261 {tLABEL, &ripper_id_label},
262 {tLAMBDA, &ripper_id_tlambda},
263 {tLAMBEG, &ripper_id_tlambeg},
264
265 /* ripper specific tokens */
266 {tIGNORED_NL, &ripper_id_ignored_nl},
267 {tCOMMENT, &ripper_id_comment},
268 {tEMBDOC_BEG, &ripper_id_embdoc_beg},
269 {tEMBDOC, &ripper_id_embdoc},
270 {tEMBDOC_END, &ripper_id_embdoc_end},
271 {tSP, &ripper_id_sp},
272 {tHEREDOC_BEG, &ripper_id_heredoc_beg},
273 {tHEREDOC_END, &ripper_id_heredoc_end},
274 {k__END__, &ripper_id___end__},
275 {0, NULL}
276 };
277
278 static ID
279 ripper_token2eventid(int tok)
280 {
281 const struct token_assoc *a;
282
283 for (a = token_to_eventid; a->id != NULL; a++) {
284 if (a->token == tok)
285 return *a->id;
286 }
287 if (tok < 256) {
288 return ripper_id_CHAR;
289 }
290 rb_raise(rb_eRuntimeError, "[Ripper FATAL] unknown token %d", tok);
291
292 UNREACHABLE;
293 }
ripper_id_embvar
static ID ripper_id_embvar
Definition: eventids2.c:18
tSTRING_CONTENT
Definition: parse.c:842
ripper_id_embexpr_end
static ID ripper_id_embexpr_end
Definition: eventids2.c:17
ripper_token2eventid
static ID ripper_token2eventid(int tok)
Definition: eventids2.c:279
ripper_id_symbols_beg
static ID ripper_id_symbols_beg
Definition: eventids2.c:43
ripper_id_comment
static ID ripper_id_comment
Definition: eventids2.c:53
modifier_if
Definition: parse.c:819
keyword_module
Definition: parse.c:783
tRPAREN
Definition: parse.c:872
tSYMBEG
Definition: parse.c:880
tHEREDOC_BEG
#define tHEREDOC_BEG
Definition: eventids2.c:7
keyword_super
Definition: parse.c:811
keyword_true
Definition: parse.c:814
keyword_redo
Definition: parse.c:802
tEMBDOC_BEG
#define tEMBDOC_BEG
Definition: eventids2.c:3
keyword_if
Definition: parse.c:790
keyword_END
Definition: parse.c:827
tSTRING_DVAR
Definition: parse.c:890
keyword_begin
Definition: parse.c:786
tLSHFT
Definition: parse.c:864
keyword_yield
Definition: parse.c:810
tPOW
Definition: parse.c:849
tDSTAR
Definition: parse.c:877
token_assoc::id
ID * id
Definition: eventids2.c:123
ripper_id_comma
static ID ripper_id_comma
Definition: eventids2.c:13
keyword_case
Definition: parse.c:795
ripper_id_embdoc_end
static ID ripper_id_embdoc_end
Definition: eventids2.c:56
UNREACHABLE
#define UNREACHABLE
Definition: ruby.h:42
keyword_and
Definition: parse.c:816
ripper_id_rbrace
static ID ripper_id_rbrace
Definition: eventids2.c:32
tLPAREN
Definition: parse.c:870
ripper_id_cvar
static ID ripper_id_cvar
Definition: eventids2.c:15
keyword_BEGIN
Definition: parse.c:826
tok
#define tok()
Definition: ripper.c:12254
tOP_ASGN
Definition: parse.c:868
rb_raise
void rb_raise(VALUE exc, const char *fmt,...)
Definition: error.c:1857
tCMP
Definition: parse.c:850
tUMINUS_NUM
Definition: parse.c:894
tQWORDS_BEG
Definition: parse.c:885
ripper_id_ident
static ID ripper_id_ident
Definition: eventids2.c:21
ripper_id_embdoc
static ID ripper_id_embdoc
Definition: eventids2.c:55
tQSYMBOLS_BEG
Definition: parse.c:887
keyword_def
Definition: parse.c:784
ripper_id_regexp_end
static ID ripper_id_regexp_end
Definition: eventids2.c:47
keyword_end
Definition: parse.c:789
tLAMBEG
Definition: parse.c:892
keyword_when
Definition: parse.c:796
ripper_id_embdoc_beg
static ID ripper_id_embdoc_beg
Definition: eventids2.c:54
ripper_id___end__
static ID ripper_id___end__
Definition: eventids2.c:60
modifier_until
Definition: parse.c:822
token_assoc::token
int token
Definition: eventids2.c:122
ripper_id_sp
static ID ripper_id_sp
Definition: eventids2.c:57
tCONSTANT
Definition: parse.c:835
tLPAREN_ARG
Definition: parse.c:871
tASSOC
Definition: parse.c:869
tGVAR
Definition: parse.c:833
keyword_retry
Definition: parse.c:803
ripper_id_kw
static ID ripper_id_kw
Definition: eventids2.c:25
ripper_id_backtick
static ID ripper_id_backtick
Definition: eventids2.c:12
ripper_id_tlambda
static ID ripper_id_tlambda
Definition: eventids2.c:49
ripper_id_const
static ID ripper_id_const
Definition: eventids2.c:14
keyword_nil
Definition: parse.c:813
ripper_id_lparen
static ID ripper_id_lparen
Definition: eventids2.c:28
keyword_then
Definition: parse.c:792
ripper_id_int
static ID ripper_id_int
Definition: eventids2.c:23
ripper_id_regexp_beg
static ID ripper_id_regexp_beg
Definition: eventids2.c:46
ripper_id_heredoc_beg
static ID ripper_id_heredoc_beg
Definition: eventids2.c:58
tSYMBOLS_BEG
Definition: parse.c:886
tSTRING_DBEG
Definition: parse.c:888
ripper_id_semicolon
static ID ripper_id_semicolon
Definition: eventids2.c:35
tXSTRING_BEG
Definition: parse.c:882
keyword_else
Definition: parse.c:794
tCHAR
Definition: parse.c:843
rb_eRuntimeError
VALUE rb_eRuntimeError
Definition: error.c:547
keyword_class
Definition: parse.c:782
keyword_for
Definition: parse.c:799
ripper_id_nl
static ID ripper_id_nl
Definition: eventids2.c:29
ripper_id_heredoc_end
static ID ripper_id_heredoc_end
Definition: eventids2.c:59
modifier_unless
Definition: parse.c:820
ripper_id_tstring_content
static ID ripper_id_tstring_content
Definition: eventids2.c:38
k__END__
#define k__END__
Definition: eventids2.c:9
ripper_id_backref
static ID ripper_id_backref
Definition: eventids2.c:11
ripper_id_imaginary
static ID ripper_id_imaginary
Definition: eventids2.c:22
tFLOAT
Definition: parse.c:839
tLABEL
Definition: parse.c:837
tLBRACE
Definition: parse.c:874
tAREF
Definition: parse.c:862
tLAMBDA
Definition: parse.c:879
eventids2table.c
tLEQ
Definition: parse.c:855
keyword_elsif
Definition: parse.c:793
ripper_id_float
static ID ripper_id_float
Definition: eventids2.c:19
ripper_id_op
static ID ripper_id_op
Definition: eventids2.c:30
tREGEXP_END
Definition: parse.c:846
ripper_id_qsymbols_beg
static ID ripper_id_qsymbols_beg
Definition: eventids2.c:42
tWORDS_BEG
Definition: parse.c:884
tHEREDOC_END
#define tHEREDOC_END
Definition: eventids2.c:8
tINTEGER
Definition: parse.c:838
ripper_id_tlambeg
static ID ripper_id_tlambeg
Definition: eventids2.c:50
tANDOP
Definition: parse.c:856
ripper_id_words_beg
static ID ripper_id_words_beg
Definition: eventids2.c:40
ripper_id_rbracket
static ID ripper_id_rbracket
Definition: eventids2.c:33
ripper_id_tstring_beg
static ID ripper_id_tstring_beg
Definition: eventids2.c:37
tRATIONAL
Definition: parse.c:840
keyword_rescue
Definition: parse.c:787
modifier_rescue
Definition: parse.c:823
tIVAR
Definition: parse.c:834
tSTAR
Definition: parse.c:876
ID
unsigned long ID
Definition: ruby.h:89
keyword_not
Definition: parse.c:818
tBACK_REF
Definition: parse.c:845
tCOLON3
Definition: parse.c:867
ripper_id_words_sep
static ID ripper_id_words_sep
Definition: eventids2.c:44
ripper_init_eventids2
static void ripper_init_eventids2(void)
Definition: eventids2.c:66
ripper_id_CHAR
static ID ripper_id_CHAR
Definition: eventids2.c:61
tSTRING_BEG
Definition: parse.c:881
keyword_do
Definition: parse.c:805
keyword_in
Definition: parse.c:804
keyword__LINE__
Definition: parse.c:828
tSTRING_DEND
Definition: parse.c:889
ripper_id_ivar
static ID ripper_id_ivar
Definition: eventids2.c:24
tOROP
Definition: parse.c:857
keyword_undef
Definition: parse.c:785
keyword__FILE__
Definition: parse.c:829
tREGEXP_BEG
Definition: parse.c:883
keyword_break
Definition: parse.c:800
ripper_id_qwords_beg
static ID ripper_id_qwords_beg
Definition: eventids2.c:41
ripper_id_rational
static ID ripper_id_rational
Definition: eventids2.c:45
keyword_do_block
Definition: parse.c:807
tEQQ
Definition: parse.c:852
ripper_id_embexpr_beg
static ID ripper_id_embexpr_beg
Definition: eventids2.c:16
token_to_eventid
static const struct token_assoc token_to_eventid[]
keyword_until
Definition: parse.c:798
tSP
#define tSP
Definition: eventids2.c:6
ripper_id_period
static ID ripper_id_period
Definition: eventids2.c:31
tDOT2
Definition: parse.c:860
tIDENTIFIER
Definition: parse.c:831
keyword_false
Definition: parse.c:815
ripper_id_symbeg
static ID ripper_id_symbeg
Definition: eventids2.c:36
tGEQ
Definition: parse.c:854
ripper_id_lbracket
static ID ripper_id_lbracket
Definition: eventids2.c:27
tLBRACE_ARG
Definition: parse.c:875
tEMBDOC
#define tEMBDOC
Definition: eventids2.c:4
tLBRACK
Definition: parse.c:873
ripper_id_gvar
static ID ripper_id_gvar
Definition: eventids2.c:20
ripper_id_lbrace
static ID ripper_id_lbrace
Definition: eventids2.c:26
tEQ
Definition: parse.c:851
ripper_id_ignored_nl
static ID ripper_id_ignored_nl
Definition: eventids2.c:52
token_assoc
Definition: eventids2.c:121
keyword_do_LAMBDA
Definition: parse.c:808
tDOT3
Definition: parse.c:861
ripper_id_rparen
static ID ripper_id_rparen
Definition: eventids2.c:34
tASET
Definition: parse.c:863
keyword_alias
Definition: parse.c:824
rb_intern_const
#define rb_intern_const(str)
Definition: ruby.h:1442
keyword_self
Definition: parse.c:812
tAMPER
Definition: parse.c:878
tCOLON2
Definition: parse.c:866
keyword_while
Definition: parse.c:797
keyword_unless
Definition: parse.c:791
keyword_next
Definition: parse.c:801
tCOMMENT
#define tCOMMENT
Definition: eventids2.c:2
tUMINUS
Definition: parse.c:848
NULL
#define NULL
Definition: _sdbm.c:103
tIGNORED_NL
#define tIGNORED_NL
Definition: eventids2.c:1
keyword_or
Definition: parse.c:817
tUPLUS
Definition: parse.c:847
tMATCH
Definition: parse.c:858
tFID
Definition: parse.c:832
modifier_while
Definition: parse.c:821
tRSHFT
Definition: parse.c:865
keyword_return
Definition: parse.c:809
ripper_id_label
static ID ripper_id_label
Definition: eventids2.c:48
ripper_id_tstring_end
static ID ripper_id_tstring_end
Definition: eventids2.c:39
keyword_defined
Definition: parse.c:825
tSTRING_END
Definition: parse.c:891
keyword_ensure
Definition: parse.c:788
tIMAGINARY
Definition: parse.c:841
tEMBDOC_END
#define tEMBDOC_END
Definition: eventids2.c:5
keyword_do_cond
Definition: parse.c:806
tNMATCH
Definition: parse.c:859
tNTH_REF
Definition: parse.c:844
tCVAR
Definition: parse.c:836
keyword__ENCODING__
Definition: parse.c:830
tNEQ
Definition: parse.c:853