9#line 2 "prism/templates/ext/prism/api_node.c.erb"
10#include "prism/extension.h"
12extern VALUE rb_cPrism;
13extern VALUE rb_cPrismNode;
14extern VALUE rb_cPrismSource;
15extern VALUE rb_cPrismToken;
16extern VALUE rb_cPrismLocation;
18static VALUE rb_cPrismAliasGlobalVariableNode;
19static VALUE rb_cPrismAliasMethodNode;
20static VALUE rb_cPrismAlternationPatternNode;
21static VALUE rb_cPrismAndNode;
22static VALUE rb_cPrismArgumentsNode;
23static VALUE rb_cPrismArrayNode;
24static VALUE rb_cPrismArrayPatternNode;
25static VALUE rb_cPrismAssocNode;
26static VALUE rb_cPrismAssocSplatNode;
27static VALUE rb_cPrismBackReferenceReadNode;
28static VALUE rb_cPrismBeginNode;
29static VALUE rb_cPrismBlockArgumentNode;
30static VALUE rb_cPrismBlockLocalVariableNode;
31static VALUE rb_cPrismBlockNode;
32static VALUE rb_cPrismBlockParameterNode;
33static VALUE rb_cPrismBlockParametersNode;
34static VALUE rb_cPrismBreakNode;
35static VALUE rb_cPrismCallAndWriteNode;
36static VALUE rb_cPrismCallNode;
37static VALUE rb_cPrismCallOperatorWriteNode;
38static VALUE rb_cPrismCallOrWriteNode;
39static VALUE rb_cPrismCallTargetNode;
40static VALUE rb_cPrismCapturePatternNode;
41static VALUE rb_cPrismCaseMatchNode;
42static VALUE rb_cPrismCaseNode;
43static VALUE rb_cPrismClassNode;
44static VALUE rb_cPrismClassVariableAndWriteNode;
45static VALUE rb_cPrismClassVariableOperatorWriteNode;
46static VALUE rb_cPrismClassVariableOrWriteNode;
47static VALUE rb_cPrismClassVariableReadNode;
48static VALUE rb_cPrismClassVariableTargetNode;
49static VALUE rb_cPrismClassVariableWriteNode;
50static VALUE rb_cPrismConstantAndWriteNode;
51static VALUE rb_cPrismConstantOperatorWriteNode;
52static VALUE rb_cPrismConstantOrWriteNode;
53static VALUE rb_cPrismConstantPathAndWriteNode;
54static VALUE rb_cPrismConstantPathNode;
55static VALUE rb_cPrismConstantPathOperatorWriteNode;
56static VALUE rb_cPrismConstantPathOrWriteNode;
57static VALUE rb_cPrismConstantPathTargetNode;
58static VALUE rb_cPrismConstantPathWriteNode;
59static VALUE rb_cPrismConstantReadNode;
60static VALUE rb_cPrismConstantTargetNode;
61static VALUE rb_cPrismConstantWriteNode;
62static VALUE rb_cPrismDefNode;
63static VALUE rb_cPrismDefinedNode;
64static VALUE rb_cPrismElseNode;
65static VALUE rb_cPrismEmbeddedStatementsNode;
66static VALUE rb_cPrismEmbeddedVariableNode;
67static VALUE rb_cPrismEnsureNode;
68static VALUE rb_cPrismFalseNode;
69static VALUE rb_cPrismFindPatternNode;
70static VALUE rb_cPrismFlipFlopNode;
71static VALUE rb_cPrismFloatNode;
72static VALUE rb_cPrismForNode;
73static VALUE rb_cPrismForwardingArgumentsNode;
74static VALUE rb_cPrismForwardingParameterNode;
75static VALUE rb_cPrismForwardingSuperNode;
76static VALUE rb_cPrismGlobalVariableAndWriteNode;
77static VALUE rb_cPrismGlobalVariableOperatorWriteNode;
78static VALUE rb_cPrismGlobalVariableOrWriteNode;
79static VALUE rb_cPrismGlobalVariableReadNode;
80static VALUE rb_cPrismGlobalVariableTargetNode;
81static VALUE rb_cPrismGlobalVariableWriteNode;
82static VALUE rb_cPrismHashNode;
83static VALUE rb_cPrismHashPatternNode;
84static VALUE rb_cPrismIfNode;
85static VALUE rb_cPrismImaginaryNode;
86static VALUE rb_cPrismImplicitNode;
87static VALUE rb_cPrismImplicitRestNode;
88static VALUE rb_cPrismInNode;
89static VALUE rb_cPrismIndexAndWriteNode;
90static VALUE rb_cPrismIndexOperatorWriteNode;
91static VALUE rb_cPrismIndexOrWriteNode;
92static VALUE rb_cPrismIndexTargetNode;
93static VALUE rb_cPrismInstanceVariableAndWriteNode;
94static VALUE rb_cPrismInstanceVariableOperatorWriteNode;
95static VALUE rb_cPrismInstanceVariableOrWriteNode;
96static VALUE rb_cPrismInstanceVariableReadNode;
97static VALUE rb_cPrismInstanceVariableTargetNode;
98static VALUE rb_cPrismInstanceVariableWriteNode;
99static VALUE rb_cPrismIntegerNode;
100static VALUE rb_cPrismInterpolatedMatchLastLineNode;
101static VALUE rb_cPrismInterpolatedRegularExpressionNode;
102static VALUE rb_cPrismInterpolatedStringNode;
103static VALUE rb_cPrismInterpolatedSymbolNode;
104static VALUE rb_cPrismInterpolatedXStringNode;
105static VALUE rb_cPrismItLocalVariableReadNode;
106static VALUE rb_cPrismItParametersNode;
107static VALUE rb_cPrismKeywordHashNode;
108static VALUE rb_cPrismKeywordRestParameterNode;
109static VALUE rb_cPrismLambdaNode;
110static VALUE rb_cPrismLocalVariableAndWriteNode;
111static VALUE rb_cPrismLocalVariableOperatorWriteNode;
112static VALUE rb_cPrismLocalVariableOrWriteNode;
113static VALUE rb_cPrismLocalVariableReadNode;
114static VALUE rb_cPrismLocalVariableTargetNode;
115static VALUE rb_cPrismLocalVariableWriteNode;
116static VALUE rb_cPrismMatchLastLineNode;
117static VALUE rb_cPrismMatchPredicateNode;
118static VALUE rb_cPrismMatchRequiredNode;
119static VALUE rb_cPrismMatchWriteNode;
120static VALUE rb_cPrismMissingNode;
121static VALUE rb_cPrismModuleNode;
122static VALUE rb_cPrismMultiTargetNode;
123static VALUE rb_cPrismMultiWriteNode;
124static VALUE rb_cPrismNextNode;
125static VALUE rb_cPrismNilNode;
126static VALUE rb_cPrismNoKeywordsParameterNode;
127static VALUE rb_cPrismNumberedParametersNode;
128static VALUE rb_cPrismNumberedReferenceReadNode;
129static VALUE rb_cPrismOptionalKeywordParameterNode;
130static VALUE rb_cPrismOptionalParameterNode;
131static VALUE rb_cPrismOrNode;
132static VALUE rb_cPrismParametersNode;
133static VALUE rb_cPrismParenthesesNode;
134static VALUE rb_cPrismPinnedExpressionNode;
135static VALUE rb_cPrismPinnedVariableNode;
136static VALUE rb_cPrismPostExecutionNode;
137static VALUE rb_cPrismPreExecutionNode;
138static VALUE rb_cPrismProgramNode;
139static VALUE rb_cPrismRangeNode;
140static VALUE rb_cPrismRationalNode;
141static VALUE rb_cPrismRedoNode;
142static VALUE rb_cPrismRegularExpressionNode;
143static VALUE rb_cPrismRequiredKeywordParameterNode;
144static VALUE rb_cPrismRequiredParameterNode;
145static VALUE rb_cPrismRescueModifierNode;
146static VALUE rb_cPrismRescueNode;
147static VALUE rb_cPrismRestParameterNode;
148static VALUE rb_cPrismRetryNode;
149static VALUE rb_cPrismReturnNode;
150static VALUE rb_cPrismSelfNode;
151static VALUE rb_cPrismShareableConstantNode;
152static VALUE rb_cPrismSingletonClassNode;
153static VALUE rb_cPrismSourceEncodingNode;
154static VALUE rb_cPrismSourceFileNode;
155static VALUE rb_cPrismSourceLineNode;
156static VALUE rb_cPrismSplatNode;
157static VALUE rb_cPrismStatementsNode;
158static VALUE rb_cPrismStringNode;
159static VALUE rb_cPrismSuperNode;
160static VALUE rb_cPrismSymbolNode;
161static VALUE rb_cPrismTrueNode;
162static VALUE rb_cPrismUndefNode;
163static VALUE rb_cPrismUnlessNode;
164static VALUE rb_cPrismUntilNode;
165static VALUE rb_cPrismWhenNode;
166static VALUE rb_cPrismWhileNode;
167static VALUE rb_cPrismXStringNode;
168static VALUE rb_cPrismYieldNode;
171pm_location_new(
const pm_parser_t *parser,
const uint8_t *start,
const uint8_t *end) {
172 uint64_t value = ((((uint64_t) (start - parser->
start)) << 32) | ((uint32_t) (end - start)));
179 VALUE location = pm_location_new(parser, token->start, token->end);
184 rb_enc_str_new((
const char *) token->start, token->end - token->start, encoding),
193 return rb_enc_str_new((
const char *) pm_string_source(
string), pm_string_length(
string), encoding);
199 if (integer->
values == NULL) {
203 unsigned char *bytes = (
unsigned char *) RSTRING_PTR(
string);
205 size_t offset = integer->
length * 8;
206 for (
size_t value_index = 0; value_index < integer->
length; value_index++) {
207 uint32_t value = integer->
values[value_index];
209 for (
int index = 0; index < 8; index++) {
210 int byte = (value >> (4 * index)) & 0xf;
211 bytes[--offset] =
byte < 10 ?
byte +
'0' :
byte - 10 +
'a';
219 result =
rb_funcall(result, rb_intern(
"-@"), 0);
228 VALUE source_string = rb_enc_str_new((
const char *) parser->
start, parser->
end - parser->
start, encoding);
249 node->visited =
false;
258 *stack = current->prev;
272 VALUE string = rb_enc_str_new((
const char *) constant->
start, constant->
length, encoding);
277 rb_set_errinfo(
Qnil);
280 rb_ary_push(constants, value);
284 pm_node_stack_push(&node_stack, node);
285 VALUE value_stack = rb_ary_new();
287 while (node_stack != NULL) {
288 if (!node_stack->visited) {
289 if (node_stack->visit == NULL) {
290 pm_node_stack_pop(&node_stack);
291 rb_ary_push(value_stack,
Qnil);
295 const pm_node_t *node = node_stack->visit;
296 node_stack->visited =
true;
299#line 146 "prism/templates/ext/prism/api_node.c.erb"
306#line 146 "prism/templates/ext/prism/api_node.c.erb"
313#line 146 "prism/templates/ext/prism/api_node.c.erb"
320#line 146 "prism/templates/ext/prism/api_node.c.erb"
327#line 146 "prism/templates/ext/prism/api_node.c.erb"
330 for (
size_t index = 0; index < cast->
arguments.
size; index++) {
335#line 146 "prism/templates/ext/prism/api_node.c.erb"
338 for (
size_t index = 0; index < cast->
elements.
size; index++) {
343#line 146 "prism/templates/ext/prism/api_node.c.erb"
347 for (
size_t index = 0; index < cast->
requireds.
size; index++) {
351 for (
size_t index = 0; index < cast->
posts.
size; index++) {
356#line 146 "prism/templates/ext/prism/api_node.c.erb"
359 pm_node_stack_push(&node_stack, (
pm_node_t *) cast->
key);
363#line 146 "prism/templates/ext/prism/api_node.c.erb"
369#line 146 "prism/templates/ext/prism/api_node.c.erb"
378#line 146 "prism/templates/ext/prism/api_node.c.erb"
384#line 146 "prism/templates/ext/prism/api_node.c.erb"
391#line 146 "prism/templates/ext/prism/api_node.c.erb"
395 for (
size_t index = 0; index < cast->
locals.
size; index++) {
400#line 146 "prism/templates/ext/prism/api_node.c.erb"
406#line 146 "prism/templates/ext/prism/api_node.c.erb"
413#line 146 "prism/templates/ext/prism/api_node.c.erb"
421#line 146 "prism/templates/ext/prism/api_node.c.erb"
428#line 146 "prism/templates/ext/prism/api_node.c.erb"
435#line 146 "prism/templates/ext/prism/api_node.c.erb"
441#line 146 "prism/templates/ext/prism/api_node.c.erb"
448#line 146 "prism/templates/ext/prism/api_node.c.erb"
458#line 146 "prism/templates/ext/prism/api_node.c.erb"
468#line 146 "prism/templates/ext/prism/api_node.c.erb"
476#line 146 "prism/templates/ext/prism/api_node.c.erb"
482#line 146 "prism/templates/ext/prism/api_node.c.erb"
488#line 146 "prism/templates/ext/prism/api_node.c.erb"
494#line 146 "prism/templates/ext/prism/api_node.c.erb"
500#line 146 "prism/templates/ext/prism/api_node.c.erb"
506#line 146 "prism/templates/ext/prism/api_node.c.erb"
512#line 146 "prism/templates/ext/prism/api_node.c.erb"
518#line 146 "prism/templates/ext/prism/api_node.c.erb"
525#line 146 "prism/templates/ext/prism/api_node.c.erb"
531#line 146 "prism/templates/ext/prism/api_node.c.erb"
538#line 146 "prism/templates/ext/prism/api_node.c.erb"
545#line 146 "prism/templates/ext/prism/api_node.c.erb"
551#line 146 "prism/templates/ext/prism/api_node.c.erb"
558#line 146 "prism/templates/ext/prism/api_node.c.erb"
564#line 146 "prism/templates/ext/prism/api_node.c.erb"
572#line 146 "prism/templates/ext/prism/api_node.c.erb"
578#line 146 "prism/templates/ext/prism/api_node.c.erb"
584#line 146 "prism/templates/ext/prism/api_node.c.erb"
590#line 146 "prism/templates/ext/prism/api_node.c.erb"
596#line 146 "prism/templates/ext/prism/api_node.c.erb"
602#line 146 "prism/templates/ext/prism/api_node.c.erb"
607 for (
size_t index = 0; index < cast->
requireds.
size; index++) {
613#line 146 "prism/templates/ext/prism/api_node.c.erb"
620#line 146 "prism/templates/ext/prism/api_node.c.erb"
628#line 146 "prism/templates/ext/prism/api_node.c.erb"
634#line 146 "prism/templates/ext/prism/api_node.c.erb"
640#line 146 "prism/templates/ext/prism/api_node.c.erb"
646#line 146 "prism/templates/ext/prism/api_node.c.erb"
652#line 146 "prism/templates/ext/prism/api_node.c.erb"
658#line 146 "prism/templates/ext/prism/api_node.c.erb"
661 for (
size_t index = 0; index < cast->
elements.
size; index++) {
666#line 146 "prism/templates/ext/prism/api_node.c.erb"
670 for (
size_t index = 0; index < cast->
elements.
size; index++) {
676#line 146 "prism/templates/ext/prism/api_node.c.erb"
684#line 146 "prism/templates/ext/prism/api_node.c.erb"
690#line 146 "prism/templates/ext/prism/api_node.c.erb"
696#line 146 "prism/templates/ext/prism/api_node.c.erb"
703#line 146 "prism/templates/ext/prism/api_node.c.erb"
712#line 146 "prism/templates/ext/prism/api_node.c.erb"
721#line 146 "prism/templates/ext/prism/api_node.c.erb"
730#line 146 "prism/templates/ext/prism/api_node.c.erb"
738#line 146 "prism/templates/ext/prism/api_node.c.erb"
744#line 146 "prism/templates/ext/prism/api_node.c.erb"
750#line 146 "prism/templates/ext/prism/api_node.c.erb"
756#line 146 "prism/templates/ext/prism/api_node.c.erb"
762#line 146 "prism/templates/ext/prism/api_node.c.erb"
765 for (
size_t index = 0; index < cast->
parts.
size; index++) {
770#line 146 "prism/templates/ext/prism/api_node.c.erb"
773 for (
size_t index = 0; index < cast->
parts.
size; index++) {
778#line 146 "prism/templates/ext/prism/api_node.c.erb"
781 for (
size_t index = 0; index < cast->
parts.
size; index++) {
786#line 146 "prism/templates/ext/prism/api_node.c.erb"
789 for (
size_t index = 0; index < cast->
parts.
size; index++) {
794#line 146 "prism/templates/ext/prism/api_node.c.erb"
797 for (
size_t index = 0; index < cast->
parts.
size; index++) {
802#line 146 "prism/templates/ext/prism/api_node.c.erb"
805 for (
size_t index = 0; index < cast->
elements.
size; index++) {
810#line 146 "prism/templates/ext/prism/api_node.c.erb"
817#line 146 "prism/templates/ext/prism/api_node.c.erb"
823#line 146 "prism/templates/ext/prism/api_node.c.erb"
829#line 146 "prism/templates/ext/prism/api_node.c.erb"
835#line 146 "prism/templates/ext/prism/api_node.c.erb"
841#line 146 "prism/templates/ext/prism/api_node.c.erb"
848#line 146 "prism/templates/ext/prism/api_node.c.erb"
855#line 146 "prism/templates/ext/prism/api_node.c.erb"
859 for (
size_t index = 0; index < cast->
targets.
size; index++) {
864#line 146 "prism/templates/ext/prism/api_node.c.erb"
871#line 146 "prism/templates/ext/prism/api_node.c.erb"
874 for (
size_t index = 0; index < cast->
lefts.
size; index++) {
878 for (
size_t index = 0; index < cast->
rights.
size; index++) {
883#line 146 "prism/templates/ext/prism/api_node.c.erb"
886 for (
size_t index = 0; index < cast->
lefts.
size; index++) {
890 for (
size_t index = 0; index < cast->
rights.
size; index++) {
896#line 146 "prism/templates/ext/prism/api_node.c.erb"
902#line 146 "prism/templates/ext/prism/api_node.c.erb"
908#line 146 "prism/templates/ext/prism/api_node.c.erb"
914#line 146 "prism/templates/ext/prism/api_node.c.erb"
921#line 146 "prism/templates/ext/prism/api_node.c.erb"
924 for (
size_t index = 0; index < cast->
requireds.
size; index++) {
927 for (
size_t index = 0; index < cast->
optionals.
size; index++) {
931 for (
size_t index = 0; index < cast->
posts.
size; index++) {
934 for (
size_t index = 0; index < cast->
keywords.
size; index++) {
941#line 146 "prism/templates/ext/prism/api_node.c.erb"
947#line 146 "prism/templates/ext/prism/api_node.c.erb"
953#line 146 "prism/templates/ext/prism/api_node.c.erb"
959#line 146 "prism/templates/ext/prism/api_node.c.erb"
965#line 146 "prism/templates/ext/prism/api_node.c.erb"
971#line 146 "prism/templates/ext/prism/api_node.c.erb"
977#line 146 "prism/templates/ext/prism/api_node.c.erb"
984#line 146 "prism/templates/ext/prism/api_node.c.erb"
991#line 146 "prism/templates/ext/prism/api_node.c.erb"
1002#line 146 "prism/templates/ext/prism/api_node.c.erb"
1008#line 146 "prism/templates/ext/prism/api_node.c.erb"
1014#line 146 "prism/templates/ext/prism/api_node.c.erb"
1021#line 146 "prism/templates/ext/prism/api_node.c.erb"
1027#line 146 "prism/templates/ext/prism/api_node.c.erb"
1030 for (
size_t index = 0; index < cast->
body.
size; index++) {
1035#line 146 "prism/templates/ext/prism/api_node.c.erb"
1042#line 146 "prism/templates/ext/prism/api_node.c.erb"
1045 for (
size_t index = 0; index < cast->
names.
size; index++) {
1050#line 146 "prism/templates/ext/prism/api_node.c.erb"
1058#line 146 "prism/templates/ext/prism/api_node.c.erb"
1065#line 146 "prism/templates/ext/prism/api_node.c.erb"
1074#line 146 "prism/templates/ext/prism/api_node.c.erb"
1081#line 146 "prism/templates/ext/prism/api_node.c.erb"
1090#line 166 "prism/templates/ext/prism/api_node.c.erb"
1092 const pm_node_t *node = pm_node_stack_pop(&node_stack);
1095#line 172 "prism/templates/ext/prism/api_node.c.erb"
1113#line 195 "prism/templates/ext/prism/api_node.c.erb"
1114 argv[4] = rb_ary_pop(value_stack);
1117#line 195 "prism/templates/ext/prism/api_node.c.erb"
1118 argv[5] = rb_ary_pop(value_stack);
1121#line 220 "prism/templates/ext/prism/api_node.c.erb"
1127#line 172 "prism/templates/ext/prism/api_node.c.erb"
1145#line 195 "prism/templates/ext/prism/api_node.c.erb"
1146 argv[4] = rb_ary_pop(value_stack);
1149#line 195 "prism/templates/ext/prism/api_node.c.erb"
1150 argv[5] = rb_ary_pop(value_stack);
1153#line 220 "prism/templates/ext/prism/api_node.c.erb"
1159#line 172 "prism/templates/ext/prism/api_node.c.erb"
1177#line 195 "prism/templates/ext/prism/api_node.c.erb"
1178 argv[4] = rb_ary_pop(value_stack);
1181#line 195 "prism/templates/ext/prism/api_node.c.erb"
1182 argv[5] = rb_ary_pop(value_stack);
1185#line 220 "prism/templates/ext/prism/api_node.c.erb"
1191#line 172 "prism/templates/ext/prism/api_node.c.erb"
1209#line 195 "prism/templates/ext/prism/api_node.c.erb"
1210 argv[4] = rb_ary_pop(value_stack);
1213#line 195 "prism/templates/ext/prism/api_node.c.erb"
1214 argv[5] = rb_ary_pop(value_stack);
1217#line 220 "prism/templates/ext/prism/api_node.c.erb"
1223#line 172 "prism/templates/ext/prism/api_node.c.erb"
1241#line 198 "prism/templates/ext/prism/api_node.c.erb"
1243 for (
size_t index = 0; index < cast->
arguments.
size; index++) {
1244 rb_ary_push(argv[4], rb_ary_pop(value_stack));
1250#line 172 "prism/templates/ext/prism/api_node.c.erb"
1268#line 198 "prism/templates/ext/prism/api_node.c.erb"
1270 for (
size_t index = 0; index < cast->
elements.
size; index++) {
1271 rb_ary_push(argv[4], rb_ary_pop(value_stack));
1275#line 223 "prism/templates/ext/prism/api_node.c.erb"
1279#line 223 "prism/templates/ext/prism/api_node.c.erb"
1285#line 172 "prism/templates/ext/prism/api_node.c.erb"
1303#line 195 "prism/templates/ext/prism/api_node.c.erb"
1304 argv[4] = rb_ary_pop(value_stack);
1307#line 198 "prism/templates/ext/prism/api_node.c.erb"
1309 for (
size_t index = 0; index < cast->
requireds.
size; index++) {
1310 rb_ary_push(argv[5], rb_ary_pop(value_stack));
1314#line 195 "prism/templates/ext/prism/api_node.c.erb"
1315 argv[6] = rb_ary_pop(value_stack);
1318#line 198 "prism/templates/ext/prism/api_node.c.erb"
1319 argv[7] = rb_ary_new_capa(cast->
posts.
size);
1320 for (
size_t index = 0; index < cast->
posts.
size; index++) {
1321 rb_ary_push(argv[7], rb_ary_pop(value_stack));
1325#line 223 "prism/templates/ext/prism/api_node.c.erb"
1329#line 223 "prism/templates/ext/prism/api_node.c.erb"
1335#line 172 "prism/templates/ext/prism/api_node.c.erb"
1353#line 195 "prism/templates/ext/prism/api_node.c.erb"
1354 argv[4] = rb_ary_pop(value_stack);
1357#line 195 "prism/templates/ext/prism/api_node.c.erb"
1358 argv[5] = rb_ary_pop(value_stack);
1361#line 223 "prism/templates/ext/prism/api_node.c.erb"
1367#line 172 "prism/templates/ext/prism/api_node.c.erb"
1385#line 195 "prism/templates/ext/prism/api_node.c.erb"
1386 argv[4] = rb_ary_pop(value_stack);
1389#line 220 "prism/templates/ext/prism/api_node.c.erb"
1395#line 172 "prism/templates/ext/prism/api_node.c.erb"
1413#line 207 "prism/templates/ext/prism/api_node.c.erb"
1414 assert(cast->
name != 0);
1420#line 172 "prism/templates/ext/prism/api_node.c.erb"
1438#line 223 "prism/templates/ext/prism/api_node.c.erb"
1442#line 195 "prism/templates/ext/prism/api_node.c.erb"
1443 argv[5] = rb_ary_pop(value_stack);
1446#line 195 "prism/templates/ext/prism/api_node.c.erb"
1447 argv[6] = rb_ary_pop(value_stack);
1450#line 195 "prism/templates/ext/prism/api_node.c.erb"
1451 argv[7] = rb_ary_pop(value_stack);
1454#line 195 "prism/templates/ext/prism/api_node.c.erb"
1455 argv[8] = rb_ary_pop(value_stack);
1458#line 223 "prism/templates/ext/prism/api_node.c.erb"
1464#line 172 "prism/templates/ext/prism/api_node.c.erb"
1482#line 195 "prism/templates/ext/prism/api_node.c.erb"
1483 argv[4] = rb_ary_pop(value_stack);
1486#line 220 "prism/templates/ext/prism/api_node.c.erb"
1492#line 172 "prism/templates/ext/prism/api_node.c.erb"
1510#line 207 "prism/templates/ext/prism/api_node.c.erb"
1511 assert(cast->
name != 0);
1517#line 172 "prism/templates/ext/prism/api_node.c.erb"
1535#line 213 "prism/templates/ext/prism/api_node.c.erb"
1536 argv[4] = rb_ary_new_capa(cast->
locals.
size);
1537 for (
size_t index = 0; index < cast->
locals.
size; index++) {
1543#line 195 "prism/templates/ext/prism/api_node.c.erb"
1544 argv[5] = rb_ary_pop(value_stack);
1547#line 195 "prism/templates/ext/prism/api_node.c.erb"
1548 argv[6] = rb_ary_pop(value_stack);
1551#line 220 "prism/templates/ext/prism/api_node.c.erb"
1555#line 220 "prism/templates/ext/prism/api_node.c.erb"
1561#line 172 "prism/templates/ext/prism/api_node.c.erb"
1582#line 223 "prism/templates/ext/prism/api_node.c.erb"
1586#line 220 "prism/templates/ext/prism/api_node.c.erb"
1592#line 172 "prism/templates/ext/prism/api_node.c.erb"
1610#line 195 "prism/templates/ext/prism/api_node.c.erb"
1611 argv[4] = rb_ary_pop(value_stack);
1614#line 198 "prism/templates/ext/prism/api_node.c.erb"
1615 argv[5] = rb_ary_new_capa(cast->
locals.
size);
1616 for (
size_t index = 0; index < cast->
locals.
size; index++) {
1617 rb_ary_push(argv[5], rb_ary_pop(value_stack));
1621#line 223 "prism/templates/ext/prism/api_node.c.erb"
1625#line 223 "prism/templates/ext/prism/api_node.c.erb"
1631#line 172 "prism/templates/ext/prism/api_node.c.erb"
1649#line 195 "prism/templates/ext/prism/api_node.c.erb"
1650 argv[4] = rb_ary_pop(value_stack);
1653#line 220 "prism/templates/ext/prism/api_node.c.erb"
1659#line 172 "prism/templates/ext/prism/api_node.c.erb"
1677#line 195 "prism/templates/ext/prism/api_node.c.erb"
1678 argv[4] = rb_ary_pop(value_stack);
1681#line 223 "prism/templates/ext/prism/api_node.c.erb"
1685#line 223 "prism/templates/ext/prism/api_node.c.erb"
1689#line 207 "prism/templates/ext/prism/api_node.c.erb"
1694#line 207 "prism/templates/ext/prism/api_node.c.erb"
1699#line 220 "prism/templates/ext/prism/api_node.c.erb"
1703#line 195 "prism/templates/ext/prism/api_node.c.erb"
1704 argv[10] = rb_ary_pop(value_stack);
1709#line 172 "prism/templates/ext/prism/api_node.c.erb"
1727#line 195 "prism/templates/ext/prism/api_node.c.erb"
1728 argv[4] = rb_ary_pop(value_stack);
1731#line 223 "prism/templates/ext/prism/api_node.c.erb"
1735#line 207 "prism/templates/ext/prism/api_node.c.erb"
1736 assert(cast->
name != 0);
1740#line 223 "prism/templates/ext/prism/api_node.c.erb"
1744#line 223 "prism/templates/ext/prism/api_node.c.erb"
1748#line 195 "prism/templates/ext/prism/api_node.c.erb"
1749 argv[9] = rb_ary_pop(value_stack);
1752#line 223 "prism/templates/ext/prism/api_node.c.erb"
1756#line 195 "prism/templates/ext/prism/api_node.c.erb"
1757 argv[11] = rb_ary_pop(value_stack);
1762#line 172 "prism/templates/ext/prism/api_node.c.erb"
1780#line 195 "prism/templates/ext/prism/api_node.c.erb"
1781 argv[4] = rb_ary_pop(value_stack);
1784#line 223 "prism/templates/ext/prism/api_node.c.erb"
1788#line 223 "prism/templates/ext/prism/api_node.c.erb"
1792#line 207 "prism/templates/ext/prism/api_node.c.erb"
1797#line 207 "prism/templates/ext/prism/api_node.c.erb"
1802#line 207 "prism/templates/ext/prism/api_node.c.erb"
1807#line 220 "prism/templates/ext/prism/api_node.c.erb"
1811#line 195 "prism/templates/ext/prism/api_node.c.erb"
1812 argv[11] = rb_ary_pop(value_stack);
1817#line 172 "prism/templates/ext/prism/api_node.c.erb"
1835#line 195 "prism/templates/ext/prism/api_node.c.erb"
1836 argv[4] = rb_ary_pop(value_stack);
1839#line 223 "prism/templates/ext/prism/api_node.c.erb"
1843#line 223 "prism/templates/ext/prism/api_node.c.erb"
1847#line 207 "prism/templates/ext/prism/api_node.c.erb"
1852#line 207 "prism/templates/ext/prism/api_node.c.erb"
1857#line 220 "prism/templates/ext/prism/api_node.c.erb"
1861#line 195 "prism/templates/ext/prism/api_node.c.erb"
1862 argv[10] = rb_ary_pop(value_stack);
1867#line 172 "prism/templates/ext/prism/api_node.c.erb"
1885#line 195 "prism/templates/ext/prism/api_node.c.erb"
1886 argv[4] = rb_ary_pop(value_stack);
1889#line 220 "prism/templates/ext/prism/api_node.c.erb"
1893#line 207 "prism/templates/ext/prism/api_node.c.erb"
1894 assert(cast->
name != 0);
1898#line 220 "prism/templates/ext/prism/api_node.c.erb"
1904#line 172 "prism/templates/ext/prism/api_node.c.erb"
1922#line 195 "prism/templates/ext/prism/api_node.c.erb"
1923 argv[4] = rb_ary_pop(value_stack);
1926#line 195 "prism/templates/ext/prism/api_node.c.erb"
1927 argv[5] = rb_ary_pop(value_stack);
1930#line 220 "prism/templates/ext/prism/api_node.c.erb"
1936#line 172 "prism/templates/ext/prism/api_node.c.erb"
1954#line 195 "prism/templates/ext/prism/api_node.c.erb"
1955 argv[4] = rb_ary_pop(value_stack);
1958#line 198 "prism/templates/ext/prism/api_node.c.erb"
1961 rb_ary_push(argv[5], rb_ary_pop(value_stack));
1965#line 195 "prism/templates/ext/prism/api_node.c.erb"
1966 argv[6] = rb_ary_pop(value_stack);
1969#line 220 "prism/templates/ext/prism/api_node.c.erb"
1973#line 220 "prism/templates/ext/prism/api_node.c.erb"
1979#line 172 "prism/templates/ext/prism/api_node.c.erb"
1997#line 195 "prism/templates/ext/prism/api_node.c.erb"
1998 argv[4] = rb_ary_pop(value_stack);
2001#line 198 "prism/templates/ext/prism/api_node.c.erb"
2004 rb_ary_push(argv[5], rb_ary_pop(value_stack));
2008#line 195 "prism/templates/ext/prism/api_node.c.erb"
2009 argv[6] = rb_ary_pop(value_stack);
2012#line 220 "prism/templates/ext/prism/api_node.c.erb"
2016#line 220 "prism/templates/ext/prism/api_node.c.erb"
2022#line 172 "prism/templates/ext/prism/api_node.c.erb"
2040#line 213 "prism/templates/ext/prism/api_node.c.erb"
2041 argv[4] = rb_ary_new_capa(cast->
locals.
size);
2042 for (
size_t index = 0; index < cast->
locals.
size; index++) {
2048#line 220 "prism/templates/ext/prism/api_node.c.erb"
2052#line 195 "prism/templates/ext/prism/api_node.c.erb"
2053 argv[6] = rb_ary_pop(value_stack);
2056#line 223 "prism/templates/ext/prism/api_node.c.erb"
2060#line 195 "prism/templates/ext/prism/api_node.c.erb"
2061 argv[8] = rb_ary_pop(value_stack);
2064#line 195 "prism/templates/ext/prism/api_node.c.erb"
2065 argv[9] = rb_ary_pop(value_stack);
2068#line 220 "prism/templates/ext/prism/api_node.c.erb"
2072#line 207 "prism/templates/ext/prism/api_node.c.erb"
2073 assert(cast->
name != 0);
2079#line 172 "prism/templates/ext/prism/api_node.c.erb"
2097#line 207 "prism/templates/ext/prism/api_node.c.erb"
2098 assert(cast->
name != 0);
2102#line 220 "prism/templates/ext/prism/api_node.c.erb"
2106#line 220 "prism/templates/ext/prism/api_node.c.erb"
2110#line 195 "prism/templates/ext/prism/api_node.c.erb"
2111 argv[7] = rb_ary_pop(value_stack);
2116#line 172 "prism/templates/ext/prism/api_node.c.erb"
2134#line 207 "prism/templates/ext/prism/api_node.c.erb"
2135 assert(cast->
name != 0);
2139#line 220 "prism/templates/ext/prism/api_node.c.erb"
2143#line 220 "prism/templates/ext/prism/api_node.c.erb"
2147#line 195 "prism/templates/ext/prism/api_node.c.erb"
2148 argv[7] = rb_ary_pop(value_stack);
2151#line 207 "prism/templates/ext/prism/api_node.c.erb"
2158#line 172 "prism/templates/ext/prism/api_node.c.erb"
2176#line 207 "prism/templates/ext/prism/api_node.c.erb"
2177 assert(cast->
name != 0);
2181#line 220 "prism/templates/ext/prism/api_node.c.erb"
2185#line 220 "prism/templates/ext/prism/api_node.c.erb"
2189#line 195 "prism/templates/ext/prism/api_node.c.erb"
2190 argv[7] = rb_ary_pop(value_stack);
2195#line 172 "prism/templates/ext/prism/api_node.c.erb"
2213#line 207 "prism/templates/ext/prism/api_node.c.erb"
2214 assert(cast->
name != 0);
2220#line 172 "prism/templates/ext/prism/api_node.c.erb"
2238#line 207 "prism/templates/ext/prism/api_node.c.erb"
2239 assert(cast->
name != 0);
2245#line 172 "prism/templates/ext/prism/api_node.c.erb"
2263#line 207 "prism/templates/ext/prism/api_node.c.erb"
2264 assert(cast->
name != 0);
2268#line 220 "prism/templates/ext/prism/api_node.c.erb"
2272#line 195 "prism/templates/ext/prism/api_node.c.erb"
2273 argv[6] = rb_ary_pop(value_stack);
2276#line 220 "prism/templates/ext/prism/api_node.c.erb"
2282#line 172 "prism/templates/ext/prism/api_node.c.erb"
2300#line 207 "prism/templates/ext/prism/api_node.c.erb"
2301 assert(cast->
name != 0);
2305#line 220 "prism/templates/ext/prism/api_node.c.erb"
2309#line 220 "prism/templates/ext/prism/api_node.c.erb"
2313#line 195 "prism/templates/ext/prism/api_node.c.erb"
2314 argv[7] = rb_ary_pop(value_stack);
2319#line 172 "prism/templates/ext/prism/api_node.c.erb"
2337#line 207 "prism/templates/ext/prism/api_node.c.erb"
2338 assert(cast->
name != 0);
2342#line 220 "prism/templates/ext/prism/api_node.c.erb"
2346#line 220 "prism/templates/ext/prism/api_node.c.erb"
2350#line 195 "prism/templates/ext/prism/api_node.c.erb"
2351 argv[7] = rb_ary_pop(value_stack);
2354#line 207 "prism/templates/ext/prism/api_node.c.erb"
2361#line 172 "prism/templates/ext/prism/api_node.c.erb"
2379#line 207 "prism/templates/ext/prism/api_node.c.erb"
2380 assert(cast->
name != 0);
2384#line 220 "prism/templates/ext/prism/api_node.c.erb"
2388#line 220 "prism/templates/ext/prism/api_node.c.erb"
2392#line 195 "prism/templates/ext/prism/api_node.c.erb"
2393 argv[7] = rb_ary_pop(value_stack);
2398#line 172 "prism/templates/ext/prism/api_node.c.erb"
2416#line 195 "prism/templates/ext/prism/api_node.c.erb"
2417 argv[4] = rb_ary_pop(value_stack);
2420#line 220 "prism/templates/ext/prism/api_node.c.erb"
2424#line 195 "prism/templates/ext/prism/api_node.c.erb"
2425 argv[6] = rb_ary_pop(value_stack);
2430#line 172 "prism/templates/ext/prism/api_node.c.erb"
2448#line 195 "prism/templates/ext/prism/api_node.c.erb"
2449 argv[4] = rb_ary_pop(value_stack);
2455#line 220 "prism/templates/ext/prism/api_node.c.erb"
2459#line 220 "prism/templates/ext/prism/api_node.c.erb"
2465#line 172 "prism/templates/ext/prism/api_node.c.erb"
2483#line 195 "prism/templates/ext/prism/api_node.c.erb"
2484 argv[4] = rb_ary_pop(value_stack);
2487#line 220 "prism/templates/ext/prism/api_node.c.erb"
2491#line 195 "prism/templates/ext/prism/api_node.c.erb"
2492 argv[6] = rb_ary_pop(value_stack);
2495#line 207 "prism/templates/ext/prism/api_node.c.erb"
2502#line 172 "prism/templates/ext/prism/api_node.c.erb"
2520#line 195 "prism/templates/ext/prism/api_node.c.erb"
2521 argv[4] = rb_ary_pop(value_stack);
2524#line 220 "prism/templates/ext/prism/api_node.c.erb"
2528#line 195 "prism/templates/ext/prism/api_node.c.erb"
2529 argv[6] = rb_ary_pop(value_stack);
2534#line 172 "prism/templates/ext/prism/api_node.c.erb"
2552#line 195 "prism/templates/ext/prism/api_node.c.erb"
2553 argv[4] = rb_ary_pop(value_stack);
2559#line 220 "prism/templates/ext/prism/api_node.c.erb"
2563#line 220 "prism/templates/ext/prism/api_node.c.erb"
2569#line 172 "prism/templates/ext/prism/api_node.c.erb"
2587#line 195 "prism/templates/ext/prism/api_node.c.erb"
2588 argv[4] = rb_ary_pop(value_stack);
2591#line 220 "prism/templates/ext/prism/api_node.c.erb"
2595#line 195 "prism/templates/ext/prism/api_node.c.erb"
2596 argv[6] = rb_ary_pop(value_stack);
2601#line 172 "prism/templates/ext/prism/api_node.c.erb"
2619#line 207 "prism/templates/ext/prism/api_node.c.erb"
2620 assert(cast->
name != 0);
2626#line 172 "prism/templates/ext/prism/api_node.c.erb"
2644#line 207 "prism/templates/ext/prism/api_node.c.erb"
2645 assert(cast->
name != 0);
2651#line 172 "prism/templates/ext/prism/api_node.c.erb"
2669#line 207 "prism/templates/ext/prism/api_node.c.erb"
2670 assert(cast->
name != 0);
2674#line 220 "prism/templates/ext/prism/api_node.c.erb"
2678#line 195 "prism/templates/ext/prism/api_node.c.erb"
2679 argv[6] = rb_ary_pop(value_stack);
2682#line 220 "prism/templates/ext/prism/api_node.c.erb"
2688#line 172 "prism/templates/ext/prism/api_node.c.erb"
2706#line 207 "prism/templates/ext/prism/api_node.c.erb"
2707 assert(cast->
name != 0);
2711#line 220 "prism/templates/ext/prism/api_node.c.erb"
2715#line 195 "prism/templates/ext/prism/api_node.c.erb"
2716 argv[6] = rb_ary_pop(value_stack);
2719#line 195 "prism/templates/ext/prism/api_node.c.erb"
2720 argv[7] = rb_ary_pop(value_stack);
2723#line 195 "prism/templates/ext/prism/api_node.c.erb"
2724 argv[8] = rb_ary_pop(value_stack);
2727#line 213 "prism/templates/ext/prism/api_node.c.erb"
2728 argv[9] = rb_ary_new_capa(cast->
locals.
size);
2729 for (
size_t index = 0; index < cast->
locals.
size; index++) {
2735#line 220 "prism/templates/ext/prism/api_node.c.erb"
2739#line 223 "prism/templates/ext/prism/api_node.c.erb"
2743#line 223 "prism/templates/ext/prism/api_node.c.erb"
2747#line 223 "prism/templates/ext/prism/api_node.c.erb"
2751#line 223 "prism/templates/ext/prism/api_node.c.erb"
2755#line 223 "prism/templates/ext/prism/api_node.c.erb"
2761#line 172 "prism/templates/ext/prism/api_node.c.erb"
2779#line 223 "prism/templates/ext/prism/api_node.c.erb"
2783#line 195 "prism/templates/ext/prism/api_node.c.erb"
2784 argv[5] = rb_ary_pop(value_stack);
2787#line 223 "prism/templates/ext/prism/api_node.c.erb"
2791#line 220 "prism/templates/ext/prism/api_node.c.erb"
2797#line 172 "prism/templates/ext/prism/api_node.c.erb"
2815#line 220 "prism/templates/ext/prism/api_node.c.erb"
2819#line 195 "prism/templates/ext/prism/api_node.c.erb"
2820 argv[5] = rb_ary_pop(value_stack);
2823#line 223 "prism/templates/ext/prism/api_node.c.erb"
2829#line 172 "prism/templates/ext/prism/api_node.c.erb"
2847#line 220 "prism/templates/ext/prism/api_node.c.erb"
2851#line 195 "prism/templates/ext/prism/api_node.c.erb"
2852 argv[5] = rb_ary_pop(value_stack);
2855#line 220 "prism/templates/ext/prism/api_node.c.erb"
2861#line 172 "prism/templates/ext/prism/api_node.c.erb"
2879#line 220 "prism/templates/ext/prism/api_node.c.erb"
2883#line 195 "prism/templates/ext/prism/api_node.c.erb"
2884 argv[5] = rb_ary_pop(value_stack);
2889#line 172 "prism/templates/ext/prism/api_node.c.erb"
2907#line 220 "prism/templates/ext/prism/api_node.c.erb"
2911#line 195 "prism/templates/ext/prism/api_node.c.erb"
2912 argv[5] = rb_ary_pop(value_stack);
2915#line 220 "prism/templates/ext/prism/api_node.c.erb"
2921#line 172 "prism/templates/ext/prism/api_node.c.erb"
2940#line 172 "prism/templates/ext/prism/api_node.c.erb"
2958#line 195 "prism/templates/ext/prism/api_node.c.erb"
2959 argv[4] = rb_ary_pop(value_stack);
2962#line 195 "prism/templates/ext/prism/api_node.c.erb"
2963 argv[5] = rb_ary_pop(value_stack);
2966#line 198 "prism/templates/ext/prism/api_node.c.erb"
2968 for (
size_t index = 0; index < cast->
requireds.
size; index++) {
2969 rb_ary_push(argv[6], rb_ary_pop(value_stack));
2973#line 195 "prism/templates/ext/prism/api_node.c.erb"
2974 argv[7] = rb_ary_pop(value_stack);
2977#line 223 "prism/templates/ext/prism/api_node.c.erb"
2981#line 223 "prism/templates/ext/prism/api_node.c.erb"
2987#line 172 "prism/templates/ext/prism/api_node.c.erb"
3005#line 195 "prism/templates/ext/prism/api_node.c.erb"
3006 argv[4] = rb_ary_pop(value_stack);
3009#line 195 "prism/templates/ext/prism/api_node.c.erb"
3010 argv[5] = rb_ary_pop(value_stack);
3013#line 220 "prism/templates/ext/prism/api_node.c.erb"
3019#line 172 "prism/templates/ext/prism/api_node.c.erb"
3037#line 235 "prism/templates/ext/prism/api_node.c.erb"
3043#line 172 "prism/templates/ext/prism/api_node.c.erb"
3061#line 195 "prism/templates/ext/prism/api_node.c.erb"
3062 argv[4] = rb_ary_pop(value_stack);
3065#line 195 "prism/templates/ext/prism/api_node.c.erb"
3066 argv[5] = rb_ary_pop(value_stack);
3069#line 195 "prism/templates/ext/prism/api_node.c.erb"
3070 argv[6] = rb_ary_pop(value_stack);
3073#line 220 "prism/templates/ext/prism/api_node.c.erb"
3077#line 220 "prism/templates/ext/prism/api_node.c.erb"
3081#line 223 "prism/templates/ext/prism/api_node.c.erb"
3085#line 220 "prism/templates/ext/prism/api_node.c.erb"
3091#line 172 "prism/templates/ext/prism/api_node.c.erb"
3110#line 172 "prism/templates/ext/prism/api_node.c.erb"
3129#line 172 "prism/templates/ext/prism/api_node.c.erb"
3146#line 195 "prism/templates/ext/prism/api_node.c.erb"
3147 argv[4] = rb_ary_pop(value_stack);
3152#line 172 "prism/templates/ext/prism/api_node.c.erb"
3170#line 207 "prism/templates/ext/prism/api_node.c.erb"
3171 assert(cast->
name != 0);
3175#line 220 "prism/templates/ext/prism/api_node.c.erb"
3179#line 220 "prism/templates/ext/prism/api_node.c.erb"
3183#line 195 "prism/templates/ext/prism/api_node.c.erb"
3184 argv[7] = rb_ary_pop(value_stack);
3189#line 172 "prism/templates/ext/prism/api_node.c.erb"
3207#line 207 "prism/templates/ext/prism/api_node.c.erb"
3208 assert(cast->
name != 0);
3212#line 220 "prism/templates/ext/prism/api_node.c.erb"
3216#line 220 "prism/templates/ext/prism/api_node.c.erb"
3220#line 195 "prism/templates/ext/prism/api_node.c.erb"
3221 argv[7] = rb_ary_pop(value_stack);
3224#line 207 "prism/templates/ext/prism/api_node.c.erb"
3231#line 172 "prism/templates/ext/prism/api_node.c.erb"
3249#line 207 "prism/templates/ext/prism/api_node.c.erb"
3250 assert(cast->
name != 0);
3254#line 220 "prism/templates/ext/prism/api_node.c.erb"
3258#line 220 "prism/templates/ext/prism/api_node.c.erb"
3262#line 195 "prism/templates/ext/prism/api_node.c.erb"
3263 argv[7] = rb_ary_pop(value_stack);
3268#line 172 "prism/templates/ext/prism/api_node.c.erb"
3286#line 207 "prism/templates/ext/prism/api_node.c.erb"
3287 assert(cast->
name != 0);
3293#line 172 "prism/templates/ext/prism/api_node.c.erb"
3311#line 207 "prism/templates/ext/prism/api_node.c.erb"
3312 assert(cast->
name != 0);
3318#line 172 "prism/templates/ext/prism/api_node.c.erb"
3336#line 207 "prism/templates/ext/prism/api_node.c.erb"
3337 assert(cast->
name != 0);
3341#line 220 "prism/templates/ext/prism/api_node.c.erb"
3345#line 195 "prism/templates/ext/prism/api_node.c.erb"
3346 argv[6] = rb_ary_pop(value_stack);
3349#line 220 "prism/templates/ext/prism/api_node.c.erb"
3355#line 172 "prism/templates/ext/prism/api_node.c.erb"
3373#line 220 "prism/templates/ext/prism/api_node.c.erb"
3377#line 198 "prism/templates/ext/prism/api_node.c.erb"
3379 for (
size_t index = 0; index < cast->
elements.
size; index++) {
3380 rb_ary_push(argv[5], rb_ary_pop(value_stack));
3384#line 220 "prism/templates/ext/prism/api_node.c.erb"
3390#line 172 "prism/templates/ext/prism/api_node.c.erb"
3408#line 195 "prism/templates/ext/prism/api_node.c.erb"
3409 argv[4] = rb_ary_pop(value_stack);
3412#line 198 "prism/templates/ext/prism/api_node.c.erb"
3414 for (
size_t index = 0; index < cast->
elements.
size; index++) {
3415 rb_ary_push(argv[5], rb_ary_pop(value_stack));
3419#line 195 "prism/templates/ext/prism/api_node.c.erb"
3420 argv[6] = rb_ary_pop(value_stack);
3423#line 223 "prism/templates/ext/prism/api_node.c.erb"
3427#line 223 "prism/templates/ext/prism/api_node.c.erb"
3433#line 172 "prism/templates/ext/prism/api_node.c.erb"
3451#line 223 "prism/templates/ext/prism/api_node.c.erb"
3455#line 195 "prism/templates/ext/prism/api_node.c.erb"
3456 argv[5] = rb_ary_pop(value_stack);
3459#line 223 "prism/templates/ext/prism/api_node.c.erb"
3463#line 195 "prism/templates/ext/prism/api_node.c.erb"
3464 argv[7] = rb_ary_pop(value_stack);
3467#line 195 "prism/templates/ext/prism/api_node.c.erb"
3468 argv[8] = rb_ary_pop(value_stack);
3471#line 223 "prism/templates/ext/prism/api_node.c.erb"
3477#line 172 "prism/templates/ext/prism/api_node.c.erb"
3494#line 195 "prism/templates/ext/prism/api_node.c.erb"
3495 argv[4] = rb_ary_pop(value_stack);
3500#line 172 "prism/templates/ext/prism/api_node.c.erb"
3517#line 195 "prism/templates/ext/prism/api_node.c.erb"
3518 argv[4] = rb_ary_pop(value_stack);
3523#line 172 "prism/templates/ext/prism/api_node.c.erb"
3542#line 172 "prism/templates/ext/prism/api_node.c.erb"
3560#line 195 "prism/templates/ext/prism/api_node.c.erb"
3561 argv[4] = rb_ary_pop(value_stack);
3564#line 195 "prism/templates/ext/prism/api_node.c.erb"
3565 argv[5] = rb_ary_pop(value_stack);
3568#line 220 "prism/templates/ext/prism/api_node.c.erb"
3572#line 223 "prism/templates/ext/prism/api_node.c.erb"
3578#line 172 "prism/templates/ext/prism/api_node.c.erb"
3596#line 195 "prism/templates/ext/prism/api_node.c.erb"
3597 argv[4] = rb_ary_pop(value_stack);
3600#line 223 "prism/templates/ext/prism/api_node.c.erb"
3604#line 220 "prism/templates/ext/prism/api_node.c.erb"
3608#line 195 "prism/templates/ext/prism/api_node.c.erb"
3609 argv[7] = rb_ary_pop(value_stack);
3612#line 220 "prism/templates/ext/prism/api_node.c.erb"
3616#line 195 "prism/templates/ext/prism/api_node.c.erb"
3617 argv[9] = rb_ary_pop(value_stack);
3620#line 220 "prism/templates/ext/prism/api_node.c.erb"
3624#line 195 "prism/templates/ext/prism/api_node.c.erb"
3625 argv[11] = rb_ary_pop(value_stack);
3630#line 172 "prism/templates/ext/prism/api_node.c.erb"
3648#line 195 "prism/templates/ext/prism/api_node.c.erb"
3649 argv[4] = rb_ary_pop(value_stack);
3652#line 223 "prism/templates/ext/prism/api_node.c.erb"
3656#line 220 "prism/templates/ext/prism/api_node.c.erb"
3660#line 195 "prism/templates/ext/prism/api_node.c.erb"
3661 argv[7] = rb_ary_pop(value_stack);
3664#line 220 "prism/templates/ext/prism/api_node.c.erb"
3668#line 195 "prism/templates/ext/prism/api_node.c.erb"
3669 argv[9] = rb_ary_pop(value_stack);
3672#line 207 "prism/templates/ext/prism/api_node.c.erb"
3677#line 220 "prism/templates/ext/prism/api_node.c.erb"
3681#line 195 "prism/templates/ext/prism/api_node.c.erb"
3682 argv[12] = rb_ary_pop(value_stack);
3687#line 172 "prism/templates/ext/prism/api_node.c.erb"
3705#line 195 "prism/templates/ext/prism/api_node.c.erb"
3706 argv[4] = rb_ary_pop(value_stack);
3709#line 223 "prism/templates/ext/prism/api_node.c.erb"
3713#line 220 "prism/templates/ext/prism/api_node.c.erb"
3717#line 195 "prism/templates/ext/prism/api_node.c.erb"
3718 argv[7] = rb_ary_pop(value_stack);
3721#line 220 "prism/templates/ext/prism/api_node.c.erb"
3725#line 195 "prism/templates/ext/prism/api_node.c.erb"
3726 argv[9] = rb_ary_pop(value_stack);
3729#line 220 "prism/templates/ext/prism/api_node.c.erb"
3733#line 195 "prism/templates/ext/prism/api_node.c.erb"
3734 argv[11] = rb_ary_pop(value_stack);
3739#line 172 "prism/templates/ext/prism/api_node.c.erb"
3757#line 195 "prism/templates/ext/prism/api_node.c.erb"
3758 argv[4] = rb_ary_pop(value_stack);
3761#line 220 "prism/templates/ext/prism/api_node.c.erb"
3765#line 195 "prism/templates/ext/prism/api_node.c.erb"
3766 argv[6] = rb_ary_pop(value_stack);
3769#line 220 "prism/templates/ext/prism/api_node.c.erb"
3773#line 195 "prism/templates/ext/prism/api_node.c.erb"
3774 argv[8] = rb_ary_pop(value_stack);
3779#line 172 "prism/templates/ext/prism/api_node.c.erb"
3797#line 207 "prism/templates/ext/prism/api_node.c.erb"
3798 assert(cast->
name != 0);
3802#line 220 "prism/templates/ext/prism/api_node.c.erb"
3806#line 220 "prism/templates/ext/prism/api_node.c.erb"
3810#line 195 "prism/templates/ext/prism/api_node.c.erb"
3811 argv[7] = rb_ary_pop(value_stack);
3816#line 172 "prism/templates/ext/prism/api_node.c.erb"
3834#line 207 "prism/templates/ext/prism/api_node.c.erb"
3835 assert(cast->
name != 0);
3839#line 220 "prism/templates/ext/prism/api_node.c.erb"
3843#line 220 "prism/templates/ext/prism/api_node.c.erb"
3847#line 195 "prism/templates/ext/prism/api_node.c.erb"
3848 argv[7] = rb_ary_pop(value_stack);
3851#line 207 "prism/templates/ext/prism/api_node.c.erb"
3855 rb_ary_push(value_stack,
rb_class_new_instance(9, argv, rb_cPrismInstanceVariableOperatorWriteNode));
3858#line 172 "prism/templates/ext/prism/api_node.c.erb"
3876#line 207 "prism/templates/ext/prism/api_node.c.erb"
3877 assert(cast->
name != 0);
3881#line 220 "prism/templates/ext/prism/api_node.c.erb"
3885#line 220 "prism/templates/ext/prism/api_node.c.erb"
3889#line 195 "prism/templates/ext/prism/api_node.c.erb"
3890 argv[7] = rb_ary_pop(value_stack);
3895#line 172 "prism/templates/ext/prism/api_node.c.erb"
3913#line 207 "prism/templates/ext/prism/api_node.c.erb"
3914 assert(cast->
name != 0);
3920#line 172 "prism/templates/ext/prism/api_node.c.erb"
3938#line 207 "prism/templates/ext/prism/api_node.c.erb"
3939 assert(cast->
name != 0);
3945#line 172 "prism/templates/ext/prism/api_node.c.erb"
3963#line 207 "prism/templates/ext/prism/api_node.c.erb"
3964 assert(cast->
name != 0);
3968#line 220 "prism/templates/ext/prism/api_node.c.erb"
3972#line 195 "prism/templates/ext/prism/api_node.c.erb"
3973 argv[6] = rb_ary_pop(value_stack);
3976#line 220 "prism/templates/ext/prism/api_node.c.erb"
3982#line 172 "prism/templates/ext/prism/api_node.c.erb"
4000#line 232 "prism/templates/ext/prism/api_node.c.erb"
4001 argv[4] = pm_integer_new(&cast->
value);
4006#line 172 "prism/templates/ext/prism/api_node.c.erb"
4024#line 220 "prism/templates/ext/prism/api_node.c.erb"
4028#line 198 "prism/templates/ext/prism/api_node.c.erb"
4029 argv[5] = rb_ary_new_capa(cast->
parts.
size);
4030 for (
size_t index = 0; index < cast->
parts.
size; index++) {
4031 rb_ary_push(argv[5], rb_ary_pop(value_stack));
4035#line 220 "prism/templates/ext/prism/api_node.c.erb"
4041#line 172 "prism/templates/ext/prism/api_node.c.erb"
4059#line 220 "prism/templates/ext/prism/api_node.c.erb"
4063#line 198 "prism/templates/ext/prism/api_node.c.erb"
4064 argv[5] = rb_ary_new_capa(cast->
parts.
size);
4065 for (
size_t index = 0; index < cast->
parts.
size; index++) {
4066 rb_ary_push(argv[5], rb_ary_pop(value_stack));
4070#line 220 "prism/templates/ext/prism/api_node.c.erb"
4073 rb_ary_push(value_stack,
rb_class_new_instance(7, argv, rb_cPrismInterpolatedRegularExpressionNode));
4076#line 172 "prism/templates/ext/prism/api_node.c.erb"
4094#line 223 "prism/templates/ext/prism/api_node.c.erb"
4098#line 198 "prism/templates/ext/prism/api_node.c.erb"
4099 argv[5] = rb_ary_new_capa(cast->
parts.
size);
4100 for (
size_t index = 0; index < cast->
parts.
size; index++) {
4101 rb_ary_push(argv[5], rb_ary_pop(value_stack));
4105#line 223 "prism/templates/ext/prism/api_node.c.erb"
4111#line 172 "prism/templates/ext/prism/api_node.c.erb"
4129#line 223 "prism/templates/ext/prism/api_node.c.erb"
4133#line 198 "prism/templates/ext/prism/api_node.c.erb"
4134 argv[5] = rb_ary_new_capa(cast->
parts.
size);
4135 for (
size_t index = 0; index < cast->
parts.
size; index++) {
4136 rb_ary_push(argv[5], rb_ary_pop(value_stack));
4140#line 223 "prism/templates/ext/prism/api_node.c.erb"
4146#line 172 "prism/templates/ext/prism/api_node.c.erb"
4164#line 220 "prism/templates/ext/prism/api_node.c.erb"
4168#line 198 "prism/templates/ext/prism/api_node.c.erb"
4169 argv[5] = rb_ary_new_capa(cast->
parts.
size);
4170 for (
size_t index = 0; index < cast->
parts.
size; index++) {
4171 rb_ary_push(argv[5], rb_ary_pop(value_stack));
4175#line 220 "prism/templates/ext/prism/api_node.c.erb"
4181#line 172 "prism/templates/ext/prism/api_node.c.erb"
4200#line 172 "prism/templates/ext/prism/api_node.c.erb"
4219#line 172 "prism/templates/ext/prism/api_node.c.erb"
4237#line 198 "prism/templates/ext/prism/api_node.c.erb"
4239 for (
size_t index = 0; index < cast->
elements.
size; index++) {
4240 rb_ary_push(argv[4], rb_ary_pop(value_stack));
4246#line 172 "prism/templates/ext/prism/api_node.c.erb"
4267#line 223 "prism/templates/ext/prism/api_node.c.erb"
4271#line 220 "prism/templates/ext/prism/api_node.c.erb"
4277#line 172 "prism/templates/ext/prism/api_node.c.erb"
4295#line 213 "prism/templates/ext/prism/api_node.c.erb"
4296 argv[4] = rb_ary_new_capa(cast->
locals.
size);
4297 for (
size_t index = 0; index < cast->
locals.
size; index++) {
4303#line 220 "prism/templates/ext/prism/api_node.c.erb"
4307#line 220 "prism/templates/ext/prism/api_node.c.erb"
4311#line 220 "prism/templates/ext/prism/api_node.c.erb"
4315#line 195 "prism/templates/ext/prism/api_node.c.erb"
4316 argv[8] = rb_ary_pop(value_stack);
4319#line 195 "prism/templates/ext/prism/api_node.c.erb"
4320 argv[9] = rb_ary_pop(value_stack);
4325#line 172 "prism/templates/ext/prism/api_node.c.erb"
4343#line 220 "prism/templates/ext/prism/api_node.c.erb"
4347#line 220 "prism/templates/ext/prism/api_node.c.erb"
4351#line 195 "prism/templates/ext/prism/api_node.c.erb"
4352 argv[6] = rb_ary_pop(value_stack);
4355#line 207 "prism/templates/ext/prism/api_node.c.erb"
4356 assert(cast->
name != 0);
4360#line 229 "prism/templates/ext/prism/api_node.c.erb"
4366#line 172 "prism/templates/ext/prism/api_node.c.erb"
4384#line 220 "prism/templates/ext/prism/api_node.c.erb"
4388#line 220 "prism/templates/ext/prism/api_node.c.erb"
4392#line 195 "prism/templates/ext/prism/api_node.c.erb"
4393 argv[6] = rb_ary_pop(value_stack);
4396#line 207 "prism/templates/ext/prism/api_node.c.erb"
4397 assert(cast->
name != 0);
4401#line 207 "prism/templates/ext/prism/api_node.c.erb"
4406#line 229 "prism/templates/ext/prism/api_node.c.erb"
4412#line 172 "prism/templates/ext/prism/api_node.c.erb"
4430#line 220 "prism/templates/ext/prism/api_node.c.erb"
4434#line 220 "prism/templates/ext/prism/api_node.c.erb"
4438#line 195 "prism/templates/ext/prism/api_node.c.erb"
4439 argv[6] = rb_ary_pop(value_stack);
4442#line 207 "prism/templates/ext/prism/api_node.c.erb"
4443 assert(cast->
name != 0);
4447#line 229 "prism/templates/ext/prism/api_node.c.erb"
4453#line 172 "prism/templates/ext/prism/api_node.c.erb"
4471#line 207 "prism/templates/ext/prism/api_node.c.erb"
4472 assert(cast->
name != 0);
4476#line 229 "prism/templates/ext/prism/api_node.c.erb"
4482#line 172 "prism/templates/ext/prism/api_node.c.erb"
4500#line 207 "prism/templates/ext/prism/api_node.c.erb"
4501 assert(cast->
name != 0);
4505#line 229 "prism/templates/ext/prism/api_node.c.erb"
4511#line 172 "prism/templates/ext/prism/api_node.c.erb"
4529#line 207 "prism/templates/ext/prism/api_node.c.erb"
4530 assert(cast->
name != 0);
4534#line 229 "prism/templates/ext/prism/api_node.c.erb"
4538#line 220 "prism/templates/ext/prism/api_node.c.erb"
4542#line 195 "prism/templates/ext/prism/api_node.c.erb"
4543 argv[7] = rb_ary_pop(value_stack);
4546#line 220 "prism/templates/ext/prism/api_node.c.erb"
4552#line 172 "prism/templates/ext/prism/api_node.c.erb"
4570#line 220 "prism/templates/ext/prism/api_node.c.erb"
4574#line 220 "prism/templates/ext/prism/api_node.c.erb"
4578#line 220 "prism/templates/ext/prism/api_node.c.erb"
4582#line 204 "prism/templates/ext/prism/api_node.c.erb"
4583 argv[7] = pm_string_new(&cast->
unescaped, encoding);
4588#line 172 "prism/templates/ext/prism/api_node.c.erb"
4606#line 195 "prism/templates/ext/prism/api_node.c.erb"
4607 argv[4] = rb_ary_pop(value_stack);
4610#line 195 "prism/templates/ext/prism/api_node.c.erb"
4611 argv[5] = rb_ary_pop(value_stack);
4614#line 220 "prism/templates/ext/prism/api_node.c.erb"
4620#line 172 "prism/templates/ext/prism/api_node.c.erb"
4638#line 195 "prism/templates/ext/prism/api_node.c.erb"
4639 argv[4] = rb_ary_pop(value_stack);
4642#line 195 "prism/templates/ext/prism/api_node.c.erb"
4643 argv[5] = rb_ary_pop(value_stack);
4646#line 220 "prism/templates/ext/prism/api_node.c.erb"
4652#line 172 "prism/templates/ext/prism/api_node.c.erb"
4670#line 195 "prism/templates/ext/prism/api_node.c.erb"
4671 argv[4] = rb_ary_pop(value_stack);
4674#line 198 "prism/templates/ext/prism/api_node.c.erb"
4676 for (
size_t index = 0; index < cast->
targets.
size; index++) {
4677 rb_ary_push(argv[5], rb_ary_pop(value_stack));
4683#line 172 "prism/templates/ext/prism/api_node.c.erb"
4702#line 172 "prism/templates/ext/prism/api_node.c.erb"
4720#line 213 "prism/templates/ext/prism/api_node.c.erb"
4721 argv[4] = rb_ary_new_capa(cast->
locals.
size);
4722 for (
size_t index = 0; index < cast->
locals.
size; index++) {
4728#line 220 "prism/templates/ext/prism/api_node.c.erb"
4732#line 195 "prism/templates/ext/prism/api_node.c.erb"
4733 argv[6] = rb_ary_pop(value_stack);
4736#line 195 "prism/templates/ext/prism/api_node.c.erb"
4737 argv[7] = rb_ary_pop(value_stack);
4740#line 220 "prism/templates/ext/prism/api_node.c.erb"
4744#line 207 "prism/templates/ext/prism/api_node.c.erb"
4745 assert(cast->
name != 0);
4751#line 172 "prism/templates/ext/prism/api_node.c.erb"
4769#line 198 "prism/templates/ext/prism/api_node.c.erb"
4770 argv[4] = rb_ary_new_capa(cast->
lefts.
size);
4771 for (
size_t index = 0; index < cast->
lefts.
size; index++) {
4772 rb_ary_push(argv[4], rb_ary_pop(value_stack));
4776#line 195 "prism/templates/ext/prism/api_node.c.erb"
4777 argv[5] = rb_ary_pop(value_stack);
4780#line 198 "prism/templates/ext/prism/api_node.c.erb"
4781 argv[6] = rb_ary_new_capa(cast->
rights.
size);
4782 for (
size_t index = 0; index < cast->
rights.
size; index++) {
4783 rb_ary_push(argv[6], rb_ary_pop(value_stack));
4787#line 223 "prism/templates/ext/prism/api_node.c.erb"
4791#line 223 "prism/templates/ext/prism/api_node.c.erb"
4797#line 172 "prism/templates/ext/prism/api_node.c.erb"
4815#line 198 "prism/templates/ext/prism/api_node.c.erb"
4816 argv[4] = rb_ary_new_capa(cast->
lefts.
size);
4817 for (
size_t index = 0; index < cast->
lefts.
size; index++) {
4818 rb_ary_push(argv[4], rb_ary_pop(value_stack));
4822#line 195 "prism/templates/ext/prism/api_node.c.erb"
4823 argv[5] = rb_ary_pop(value_stack);
4826#line 198 "prism/templates/ext/prism/api_node.c.erb"
4827 argv[6] = rb_ary_new_capa(cast->
rights.
size);
4828 for (
size_t index = 0; index < cast->
rights.
size; index++) {
4829 rb_ary_push(argv[6], rb_ary_pop(value_stack));
4833#line 223 "prism/templates/ext/prism/api_node.c.erb"
4837#line 223 "prism/templates/ext/prism/api_node.c.erb"
4841#line 220 "prism/templates/ext/prism/api_node.c.erb"
4845#line 195 "prism/templates/ext/prism/api_node.c.erb"
4846 argv[10] = rb_ary_pop(value_stack);
4851#line 172 "prism/templates/ext/prism/api_node.c.erb"
4869#line 195 "prism/templates/ext/prism/api_node.c.erb"
4870 argv[4] = rb_ary_pop(value_stack);
4873#line 220 "prism/templates/ext/prism/api_node.c.erb"
4879#line 172 "prism/templates/ext/prism/api_node.c.erb"
4898#line 172 "prism/templates/ext/prism/api_node.c.erb"
4916#line 220 "prism/templates/ext/prism/api_node.c.erb"
4920#line 220 "prism/templates/ext/prism/api_node.c.erb"
4926#line 172 "prism/templates/ext/prism/api_node.c.erb"
4944#line 226 "prism/templates/ext/prism/api_node.c.erb"
4950#line 172 "prism/templates/ext/prism/api_node.c.erb"
4968#line 229 "prism/templates/ext/prism/api_node.c.erb"
4974#line 172 "prism/templates/ext/prism/api_node.c.erb"
4992#line 207 "prism/templates/ext/prism/api_node.c.erb"
4993 assert(cast->
name != 0);
4997#line 220 "prism/templates/ext/prism/api_node.c.erb"
5001#line 195 "prism/templates/ext/prism/api_node.c.erb"
5002 argv[6] = rb_ary_pop(value_stack);
5007#line 172 "prism/templates/ext/prism/api_node.c.erb"
5025#line 207 "prism/templates/ext/prism/api_node.c.erb"
5026 assert(cast->
name != 0);
5030#line 220 "prism/templates/ext/prism/api_node.c.erb"
5034#line 220 "prism/templates/ext/prism/api_node.c.erb"
5038#line 195 "prism/templates/ext/prism/api_node.c.erb"
5039 argv[7] = rb_ary_pop(value_stack);
5044#line 172 "prism/templates/ext/prism/api_node.c.erb"
5062#line 195 "prism/templates/ext/prism/api_node.c.erb"
5063 argv[4] = rb_ary_pop(value_stack);
5066#line 195 "prism/templates/ext/prism/api_node.c.erb"
5067 argv[5] = rb_ary_pop(value_stack);
5070#line 220 "prism/templates/ext/prism/api_node.c.erb"
5076#line 172 "prism/templates/ext/prism/api_node.c.erb"
5094#line 198 "prism/templates/ext/prism/api_node.c.erb"
5096 for (
size_t index = 0; index < cast->
requireds.
size; index++) {
5097 rb_ary_push(argv[4], rb_ary_pop(value_stack));
5101#line 198 "prism/templates/ext/prism/api_node.c.erb"
5103 for (
size_t index = 0; index < cast->
optionals.
size; index++) {
5104 rb_ary_push(argv[5], rb_ary_pop(value_stack));
5108#line 195 "prism/templates/ext/prism/api_node.c.erb"
5109 argv[6] = rb_ary_pop(value_stack);
5112#line 198 "prism/templates/ext/prism/api_node.c.erb"
5113 argv[7] = rb_ary_new_capa(cast->
posts.
size);
5114 for (
size_t index = 0; index < cast->
posts.
size; index++) {
5115 rb_ary_push(argv[7], rb_ary_pop(value_stack));
5119#line 198 "prism/templates/ext/prism/api_node.c.erb"
5121 for (
size_t index = 0; index < cast->
keywords.
size; index++) {
5122 rb_ary_push(argv[8], rb_ary_pop(value_stack));
5126#line 195 "prism/templates/ext/prism/api_node.c.erb"
5127 argv[9] = rb_ary_pop(value_stack);
5130#line 195 "prism/templates/ext/prism/api_node.c.erb"
5131 argv[10] = rb_ary_pop(value_stack);
5136#line 172 "prism/templates/ext/prism/api_node.c.erb"
5154#line 195 "prism/templates/ext/prism/api_node.c.erb"
5155 argv[4] = rb_ary_pop(value_stack);
5158#line 220 "prism/templates/ext/prism/api_node.c.erb"
5162#line 220 "prism/templates/ext/prism/api_node.c.erb"
5168#line 172 "prism/templates/ext/prism/api_node.c.erb"
5186#line 195 "prism/templates/ext/prism/api_node.c.erb"
5187 argv[4] = rb_ary_pop(value_stack);
5190#line 220 "prism/templates/ext/prism/api_node.c.erb"
5194#line 220 "prism/templates/ext/prism/api_node.c.erb"
5198#line 220 "prism/templates/ext/prism/api_node.c.erb"
5204#line 172 "prism/templates/ext/prism/api_node.c.erb"
5222#line 195 "prism/templates/ext/prism/api_node.c.erb"
5223 argv[4] = rb_ary_pop(value_stack);
5226#line 220 "prism/templates/ext/prism/api_node.c.erb"
5232#line 172 "prism/templates/ext/prism/api_node.c.erb"
5250#line 195 "prism/templates/ext/prism/api_node.c.erb"
5251 argv[4] = rb_ary_pop(value_stack);
5254#line 220 "prism/templates/ext/prism/api_node.c.erb"
5258#line 220 "prism/templates/ext/prism/api_node.c.erb"
5262#line 220 "prism/templates/ext/prism/api_node.c.erb"
5268#line 172 "prism/templates/ext/prism/api_node.c.erb"
5286#line 195 "prism/templates/ext/prism/api_node.c.erb"
5287 argv[4] = rb_ary_pop(value_stack);
5290#line 220 "prism/templates/ext/prism/api_node.c.erb"
5294#line 220 "prism/templates/ext/prism/api_node.c.erb"
5298#line 220 "prism/templates/ext/prism/api_node.c.erb"
5304#line 172 "prism/templates/ext/prism/api_node.c.erb"
5322#line 213 "prism/templates/ext/prism/api_node.c.erb"
5323 argv[4] = rb_ary_new_capa(cast->
locals.
size);
5324 for (
size_t index = 0; index < cast->
locals.
size; index++) {
5330#line 195 "prism/templates/ext/prism/api_node.c.erb"
5331 argv[5] = rb_ary_pop(value_stack);
5336#line 172 "prism/templates/ext/prism/api_node.c.erb"
5354#line 195 "prism/templates/ext/prism/api_node.c.erb"
5355 argv[4] = rb_ary_pop(value_stack);
5358#line 195 "prism/templates/ext/prism/api_node.c.erb"
5359 argv[5] = rb_ary_pop(value_stack);
5362#line 220 "prism/templates/ext/prism/api_node.c.erb"
5368#line 172 "prism/templates/ext/prism/api_node.c.erb"
5386#line 232 "prism/templates/ext/prism/api_node.c.erb"
5387 argv[4] = pm_integer_new(&cast->
numerator);
5390#line 232 "prism/templates/ext/prism/api_node.c.erb"
5396#line 172 "prism/templates/ext/prism/api_node.c.erb"
5415#line 172 "prism/templates/ext/prism/api_node.c.erb"
5433#line 220 "prism/templates/ext/prism/api_node.c.erb"
5437#line 220 "prism/templates/ext/prism/api_node.c.erb"
5441#line 220 "prism/templates/ext/prism/api_node.c.erb"
5445#line 204 "prism/templates/ext/prism/api_node.c.erb"
5446 argv[7] = pm_string_new(&cast->
unescaped, encoding);
5451#line 172 "prism/templates/ext/prism/api_node.c.erb"
5469#line 207 "prism/templates/ext/prism/api_node.c.erb"
5470 assert(cast->
name != 0);
5474#line 220 "prism/templates/ext/prism/api_node.c.erb"
5480#line 172 "prism/templates/ext/prism/api_node.c.erb"
5498#line 207 "prism/templates/ext/prism/api_node.c.erb"
5499 assert(cast->
name != 0);
5505#line 172 "prism/templates/ext/prism/api_node.c.erb"
5523#line 195 "prism/templates/ext/prism/api_node.c.erb"
5524 argv[4] = rb_ary_pop(value_stack);
5527#line 220 "prism/templates/ext/prism/api_node.c.erb"
5531#line 195 "prism/templates/ext/prism/api_node.c.erb"
5532 argv[6] = rb_ary_pop(value_stack);
5537#line 172 "prism/templates/ext/prism/api_node.c.erb"
5555#line 220 "prism/templates/ext/prism/api_node.c.erb"
5559#line 198 "prism/templates/ext/prism/api_node.c.erb"
5562 rb_ary_push(argv[5], rb_ary_pop(value_stack));
5566#line 223 "prism/templates/ext/prism/api_node.c.erb"
5570#line 195 "prism/templates/ext/prism/api_node.c.erb"
5571 argv[7] = rb_ary_pop(value_stack);
5574#line 195 "prism/templates/ext/prism/api_node.c.erb"
5575 argv[8] = rb_ary_pop(value_stack);
5578#line 195 "prism/templates/ext/prism/api_node.c.erb"
5579 argv[9] = rb_ary_pop(value_stack);
5584#line 172 "prism/templates/ext/prism/api_node.c.erb"
5605#line 223 "prism/templates/ext/prism/api_node.c.erb"
5609#line 220 "prism/templates/ext/prism/api_node.c.erb"
5615#line 172 "prism/templates/ext/prism/api_node.c.erb"
5634#line 172 "prism/templates/ext/prism/api_node.c.erb"
5652#line 220 "prism/templates/ext/prism/api_node.c.erb"
5656#line 195 "prism/templates/ext/prism/api_node.c.erb"
5657 argv[5] = rb_ary_pop(value_stack);
5662#line 172 "prism/templates/ext/prism/api_node.c.erb"
5681#line 172 "prism/templates/ext/prism/api_node.c.erb"
5698#line 195 "prism/templates/ext/prism/api_node.c.erb"
5699 argv[4] = rb_ary_pop(value_stack);
5704#line 172 "prism/templates/ext/prism/api_node.c.erb"
5722#line 213 "prism/templates/ext/prism/api_node.c.erb"
5723 argv[4] = rb_ary_new_capa(cast->
locals.
size);
5724 for (
size_t index = 0; index < cast->
locals.
size; index++) {
5730#line 220 "prism/templates/ext/prism/api_node.c.erb"
5734#line 220 "prism/templates/ext/prism/api_node.c.erb"
5738#line 195 "prism/templates/ext/prism/api_node.c.erb"
5739 argv[7] = rb_ary_pop(value_stack);
5742#line 195 "prism/templates/ext/prism/api_node.c.erb"
5743 argv[8] = rb_ary_pop(value_stack);
5746#line 220 "prism/templates/ext/prism/api_node.c.erb"
5752#line 172 "prism/templates/ext/prism/api_node.c.erb"
5771#line 172 "prism/templates/ext/prism/api_node.c.erb"
5789#line 204 "prism/templates/ext/prism/api_node.c.erb"
5790 argv[4] = pm_string_new(&cast->
filepath, encoding);
5795#line 172 "prism/templates/ext/prism/api_node.c.erb"
5814#line 172 "prism/templates/ext/prism/api_node.c.erb"
5832#line 220 "prism/templates/ext/prism/api_node.c.erb"
5836#line 195 "prism/templates/ext/prism/api_node.c.erb"
5837 argv[5] = rb_ary_pop(value_stack);
5842#line 172 "prism/templates/ext/prism/api_node.c.erb"
5860#line 198 "prism/templates/ext/prism/api_node.c.erb"
5861 argv[4] = rb_ary_new_capa(cast->
body.
size);
5862 for (
size_t index = 0; index < cast->
body.
size; index++) {
5863 rb_ary_push(argv[4], rb_ary_pop(value_stack));
5869#line 172 "prism/templates/ext/prism/api_node.c.erb"
5887#line 223 "prism/templates/ext/prism/api_node.c.erb"
5891#line 220 "prism/templates/ext/prism/api_node.c.erb"
5895#line 223 "prism/templates/ext/prism/api_node.c.erb"
5899#line 204 "prism/templates/ext/prism/api_node.c.erb"
5900 argv[7] = pm_string_new(&cast->
unescaped, encoding);
5905#line 172 "prism/templates/ext/prism/api_node.c.erb"
5923#line 220 "prism/templates/ext/prism/api_node.c.erb"
5927#line 223 "prism/templates/ext/prism/api_node.c.erb"
5931#line 195 "prism/templates/ext/prism/api_node.c.erb"
5932 argv[6] = rb_ary_pop(value_stack);
5935#line 223 "prism/templates/ext/prism/api_node.c.erb"
5939#line 195 "prism/templates/ext/prism/api_node.c.erb"
5940 argv[8] = rb_ary_pop(value_stack);
5945#line 172 "prism/templates/ext/prism/api_node.c.erb"
5963#line 223 "prism/templates/ext/prism/api_node.c.erb"
5967#line 223 "prism/templates/ext/prism/api_node.c.erb"
5971#line 223 "prism/templates/ext/prism/api_node.c.erb"
5975#line 204 "prism/templates/ext/prism/api_node.c.erb"
5976 argv[7] = pm_string_new(&cast->
unescaped, encoding);
5981#line 172 "prism/templates/ext/prism/api_node.c.erb"
6000#line 172 "prism/templates/ext/prism/api_node.c.erb"
6018#line 198 "prism/templates/ext/prism/api_node.c.erb"
6019 argv[4] = rb_ary_new_capa(cast->
names.
size);
6020 for (
size_t index = 0; index < cast->
names.
size; index++) {
6021 rb_ary_push(argv[4], rb_ary_pop(value_stack));
6025#line 220 "prism/templates/ext/prism/api_node.c.erb"
6031#line 172 "prism/templates/ext/prism/api_node.c.erb"
6049#line 220 "prism/templates/ext/prism/api_node.c.erb"
6053#line 195 "prism/templates/ext/prism/api_node.c.erb"
6054 argv[5] = rb_ary_pop(value_stack);
6057#line 223 "prism/templates/ext/prism/api_node.c.erb"
6061#line 195 "prism/templates/ext/prism/api_node.c.erb"
6062 argv[7] = rb_ary_pop(value_stack);
6065#line 195 "prism/templates/ext/prism/api_node.c.erb"
6066 argv[8] = rb_ary_pop(value_stack);
6069#line 223 "prism/templates/ext/prism/api_node.c.erb"
6075#line 172 "prism/templates/ext/prism/api_node.c.erb"
6093#line 220 "prism/templates/ext/prism/api_node.c.erb"
6097#line 223 "prism/templates/ext/prism/api_node.c.erb"
6101#line 223 "prism/templates/ext/prism/api_node.c.erb"
6105#line 195 "prism/templates/ext/prism/api_node.c.erb"
6106 argv[7] = rb_ary_pop(value_stack);
6109#line 195 "prism/templates/ext/prism/api_node.c.erb"
6110 argv[8] = rb_ary_pop(value_stack);
6115#line 172 "prism/templates/ext/prism/api_node.c.erb"
6133#line 220 "prism/templates/ext/prism/api_node.c.erb"
6137#line 198 "prism/templates/ext/prism/api_node.c.erb"
6140 rb_ary_push(argv[5], rb_ary_pop(value_stack));
6144#line 223 "prism/templates/ext/prism/api_node.c.erb"
6148#line 195 "prism/templates/ext/prism/api_node.c.erb"
6149 argv[7] = rb_ary_pop(value_stack);
6154#line 172 "prism/templates/ext/prism/api_node.c.erb"
6172#line 220 "prism/templates/ext/prism/api_node.c.erb"
6176#line 223 "prism/templates/ext/prism/api_node.c.erb"
6180#line 223 "prism/templates/ext/prism/api_node.c.erb"
6184#line 195 "prism/templates/ext/prism/api_node.c.erb"
6185 argv[7] = rb_ary_pop(value_stack);
6188#line 195 "prism/templates/ext/prism/api_node.c.erb"
6189 argv[8] = rb_ary_pop(value_stack);
6194#line 172 "prism/templates/ext/prism/api_node.c.erb"
6212#line 220 "prism/templates/ext/prism/api_node.c.erb"
6216#line 220 "prism/templates/ext/prism/api_node.c.erb"
6220#line 220 "prism/templates/ext/prism/api_node.c.erb"
6224#line 204 "prism/templates/ext/prism/api_node.c.erb"
6225 argv[7] = pm_string_new(&cast->
unescaped, encoding);
6230#line 172 "prism/templates/ext/prism/api_node.c.erb"
6248#line 220 "prism/templates/ext/prism/api_node.c.erb"
6252#line 223 "prism/templates/ext/prism/api_node.c.erb"
6256#line 195 "prism/templates/ext/prism/api_node.c.erb"
6257 argv[6] = rb_ary_pop(value_stack);
6260#line 223 "prism/templates/ext/prism/api_node.c.erb"
6272 return rb_ary_pop(value_stack);
6276Init_prism_api_node(
void) {
6277 rb_cPrismAliasGlobalVariableNode =
rb_define_class_under(rb_cPrism,
"AliasGlobalVariableNode", rb_cPrismNode);
6279 rb_cPrismAlternationPatternNode =
rb_define_class_under(rb_cPrism,
"AlternationPatternNode", rb_cPrismNode);
6286 rb_cPrismBackReferenceReadNode =
rb_define_class_under(rb_cPrism,
"BackReferenceReadNode", rb_cPrismNode);
6289 rb_cPrismBlockLocalVariableNode =
rb_define_class_under(rb_cPrism,
"BlockLocalVariableNode", rb_cPrismNode);
6291 rb_cPrismBlockParameterNode =
rb_define_class_under(rb_cPrism,
"BlockParameterNode", rb_cPrismNode);
6292 rb_cPrismBlockParametersNode =
rb_define_class_under(rb_cPrism,
"BlockParametersNode", rb_cPrismNode);
6296 rb_cPrismCallOperatorWriteNode =
rb_define_class_under(rb_cPrism,
"CallOperatorWriteNode", rb_cPrismNode);
6299 rb_cPrismCapturePatternNode =
rb_define_class_under(rb_cPrism,
"CapturePatternNode", rb_cPrismNode);
6303 rb_cPrismClassVariableAndWriteNode =
rb_define_class_under(rb_cPrism,
"ClassVariableAndWriteNode", rb_cPrismNode);
6304 rb_cPrismClassVariableOperatorWriteNode =
rb_define_class_under(rb_cPrism,
"ClassVariableOperatorWriteNode", rb_cPrismNode);
6305 rb_cPrismClassVariableOrWriteNode =
rb_define_class_under(rb_cPrism,
"ClassVariableOrWriteNode", rb_cPrismNode);
6306 rb_cPrismClassVariableReadNode =
rb_define_class_under(rb_cPrism,
"ClassVariableReadNode", rb_cPrismNode);
6307 rb_cPrismClassVariableTargetNode =
rb_define_class_under(rb_cPrism,
"ClassVariableTargetNode", rb_cPrismNode);
6308 rb_cPrismClassVariableWriteNode =
rb_define_class_under(rb_cPrism,
"ClassVariableWriteNode", rb_cPrismNode);
6309 rb_cPrismConstantAndWriteNode =
rb_define_class_under(rb_cPrism,
"ConstantAndWriteNode", rb_cPrismNode);
6310 rb_cPrismConstantOperatorWriteNode =
rb_define_class_under(rb_cPrism,
"ConstantOperatorWriteNode", rb_cPrismNode);
6311 rb_cPrismConstantOrWriteNode =
rb_define_class_under(rb_cPrism,
"ConstantOrWriteNode", rb_cPrismNode);
6312 rb_cPrismConstantPathAndWriteNode =
rb_define_class_under(rb_cPrism,
"ConstantPathAndWriteNode", rb_cPrismNode);
6314 rb_cPrismConstantPathOperatorWriteNode =
rb_define_class_under(rb_cPrism,
"ConstantPathOperatorWriteNode", rb_cPrismNode);
6315 rb_cPrismConstantPathOrWriteNode =
rb_define_class_under(rb_cPrism,
"ConstantPathOrWriteNode", rb_cPrismNode);
6316 rb_cPrismConstantPathTargetNode =
rb_define_class_under(rb_cPrism,
"ConstantPathTargetNode", rb_cPrismNode);
6317 rb_cPrismConstantPathWriteNode =
rb_define_class_under(rb_cPrism,
"ConstantPathWriteNode", rb_cPrismNode);
6319 rb_cPrismConstantTargetNode =
rb_define_class_under(rb_cPrism,
"ConstantTargetNode", rb_cPrismNode);
6324 rb_cPrismEmbeddedStatementsNode =
rb_define_class_under(rb_cPrism,
"EmbeddedStatementsNode", rb_cPrismNode);
6325 rb_cPrismEmbeddedVariableNode =
rb_define_class_under(rb_cPrism,
"EmbeddedVariableNode", rb_cPrismNode);
6332 rb_cPrismForwardingArgumentsNode =
rb_define_class_under(rb_cPrism,
"ForwardingArgumentsNode", rb_cPrismNode);
6333 rb_cPrismForwardingParameterNode =
rb_define_class_under(rb_cPrism,
"ForwardingParameterNode", rb_cPrismNode);
6334 rb_cPrismForwardingSuperNode =
rb_define_class_under(rb_cPrism,
"ForwardingSuperNode", rb_cPrismNode);
6335 rb_cPrismGlobalVariableAndWriteNode =
rb_define_class_under(rb_cPrism,
"GlobalVariableAndWriteNode", rb_cPrismNode);
6336 rb_cPrismGlobalVariableOperatorWriteNode =
rb_define_class_under(rb_cPrism,
"GlobalVariableOperatorWriteNode", rb_cPrismNode);
6337 rb_cPrismGlobalVariableOrWriteNode =
rb_define_class_under(rb_cPrism,
"GlobalVariableOrWriteNode", rb_cPrismNode);
6338 rb_cPrismGlobalVariableReadNode =
rb_define_class_under(rb_cPrism,
"GlobalVariableReadNode", rb_cPrismNode);
6339 rb_cPrismGlobalVariableTargetNode =
rb_define_class_under(rb_cPrism,
"GlobalVariableTargetNode", rb_cPrismNode);
6340 rb_cPrismGlobalVariableWriteNode =
rb_define_class_under(rb_cPrism,
"GlobalVariableWriteNode", rb_cPrismNode);
6349 rb_cPrismIndexOperatorWriteNode =
rb_define_class_under(rb_cPrism,
"IndexOperatorWriteNode", rb_cPrismNode);
6352 rb_cPrismInstanceVariableAndWriteNode =
rb_define_class_under(rb_cPrism,
"InstanceVariableAndWriteNode", rb_cPrismNode);
6353 rb_cPrismInstanceVariableOperatorWriteNode =
rb_define_class_under(rb_cPrism,
"InstanceVariableOperatorWriteNode", rb_cPrismNode);
6354 rb_cPrismInstanceVariableOrWriteNode =
rb_define_class_under(rb_cPrism,
"InstanceVariableOrWriteNode", rb_cPrismNode);
6355 rb_cPrismInstanceVariableReadNode =
rb_define_class_under(rb_cPrism,
"InstanceVariableReadNode", rb_cPrismNode);
6356 rb_cPrismInstanceVariableTargetNode =
rb_define_class_under(rb_cPrism,
"InstanceVariableTargetNode", rb_cPrismNode);
6357 rb_cPrismInstanceVariableWriteNode =
rb_define_class_under(rb_cPrism,
"InstanceVariableWriteNode", rb_cPrismNode);
6359 rb_cPrismInterpolatedMatchLastLineNode =
rb_define_class_under(rb_cPrism,
"InterpolatedMatchLastLineNode", rb_cPrismNode);
6360 rb_cPrismInterpolatedRegularExpressionNode =
rb_define_class_under(rb_cPrism,
"InterpolatedRegularExpressionNode", rb_cPrismNode);
6361 rb_cPrismInterpolatedStringNode =
rb_define_class_under(rb_cPrism,
"InterpolatedStringNode", rb_cPrismNode);
6362 rb_cPrismInterpolatedSymbolNode =
rb_define_class_under(rb_cPrism,
"InterpolatedSymbolNode", rb_cPrismNode);
6363 rb_cPrismInterpolatedXStringNode =
rb_define_class_under(rb_cPrism,
"InterpolatedXStringNode", rb_cPrismNode);
6364 rb_cPrismItLocalVariableReadNode =
rb_define_class_under(rb_cPrism,
"ItLocalVariableReadNode", rb_cPrismNode);
6367 rb_cPrismKeywordRestParameterNode =
rb_define_class_under(rb_cPrism,
"KeywordRestParameterNode", rb_cPrismNode);
6369 rb_cPrismLocalVariableAndWriteNode =
rb_define_class_under(rb_cPrism,
"LocalVariableAndWriteNode", rb_cPrismNode);
6370 rb_cPrismLocalVariableOperatorWriteNode =
rb_define_class_under(rb_cPrism,
"LocalVariableOperatorWriteNode", rb_cPrismNode);
6371 rb_cPrismLocalVariableOrWriteNode =
rb_define_class_under(rb_cPrism,
"LocalVariableOrWriteNode", rb_cPrismNode);
6372 rb_cPrismLocalVariableReadNode =
rb_define_class_under(rb_cPrism,
"LocalVariableReadNode", rb_cPrismNode);
6373 rb_cPrismLocalVariableTargetNode =
rb_define_class_under(rb_cPrism,
"LocalVariableTargetNode", rb_cPrismNode);
6374 rb_cPrismLocalVariableWriteNode =
rb_define_class_under(rb_cPrism,
"LocalVariableWriteNode", rb_cPrismNode);
6376 rb_cPrismMatchPredicateNode =
rb_define_class_under(rb_cPrism,
"MatchPredicateNode", rb_cPrismNode);
6385 rb_cPrismNoKeywordsParameterNode =
rb_define_class_under(rb_cPrism,
"NoKeywordsParameterNode", rb_cPrismNode);
6386 rb_cPrismNumberedParametersNode =
rb_define_class_under(rb_cPrism,
"NumberedParametersNode", rb_cPrismNode);
6387 rb_cPrismNumberedReferenceReadNode =
rb_define_class_under(rb_cPrism,
"NumberedReferenceReadNode", rb_cPrismNode);
6388 rb_cPrismOptionalKeywordParameterNode =
rb_define_class_under(rb_cPrism,
"OptionalKeywordParameterNode", rb_cPrismNode);
6389 rb_cPrismOptionalParameterNode =
rb_define_class_under(rb_cPrism,
"OptionalParameterNode", rb_cPrismNode);
6393 rb_cPrismPinnedExpressionNode =
rb_define_class_under(rb_cPrism,
"PinnedExpressionNode", rb_cPrismNode);
6394 rb_cPrismPinnedVariableNode =
rb_define_class_under(rb_cPrism,
"PinnedVariableNode", rb_cPrismNode);
6401 rb_cPrismRegularExpressionNode =
rb_define_class_under(rb_cPrism,
"RegularExpressionNode", rb_cPrismNode);
6402 rb_cPrismRequiredKeywordParameterNode =
rb_define_class_under(rb_cPrism,
"RequiredKeywordParameterNode", rb_cPrismNode);
6403 rb_cPrismRequiredParameterNode =
rb_define_class_under(rb_cPrism,
"RequiredParameterNode", rb_cPrismNode);
6404 rb_cPrismRescueModifierNode =
rb_define_class_under(rb_cPrism,
"RescueModifierNode", rb_cPrismNode);
6410 rb_cPrismShareableConstantNode =
rb_define_class_under(rb_cPrism,
"ShareableConstantNode", rb_cPrismNode);
6411 rb_cPrismSingletonClassNode =
rb_define_class_under(rb_cPrism,
"SingletonClassNode", rb_cPrismNode);
6412 rb_cPrismSourceEncodingNode =
rb_define_class_under(rb_cPrism,
"SourceEncodingNode", rb_cPrismNode);
@ PM_DEFINED_NODE
DefinedNode.
@ PM_PRE_EXECUTION_NODE
PreExecutionNode.
@ PM_RETRY_NODE
RetryNode.
@ PM_CONSTANT_PATH_WRITE_NODE
ConstantPathWriteNode.
@ PM_INDEX_AND_WRITE_NODE
IndexAndWriteNode.
@ PM_SOURCE_LINE_NODE
SourceLineNode.
@ PM_UNLESS_NODE
UnlessNode.
@ PM_EMBEDDED_VARIABLE_NODE
EmbeddedVariableNode.
@ PM_GLOBAL_VARIABLE_OPERATOR_WRITE_NODE
GlobalVariableOperatorWriteNode.
@ PM_GLOBAL_VARIABLE_READ_NODE
GlobalVariableReadNode.
@ PM_RATIONAL_NODE
RationalNode.
@ PM_YIELD_NODE
YieldNode.
@ PM_LOCAL_VARIABLE_AND_WRITE_NODE
LocalVariableAndWriteNode.
@ PM_CONSTANT_AND_WRITE_NODE
ConstantAndWriteNode.
@ PM_CLASS_NODE
ClassNode.
@ PM_FIND_PATTERN_NODE
FindPatternNode.
@ PM_CALL_OPERATOR_WRITE_NODE
CallOperatorWriteNode.
@ PM_MATCH_WRITE_NODE
MatchWriteNode.
@ PM_ARRAY_NODE
ArrayNode.
@ PM_CONSTANT_PATH_TARGET_NODE
ConstantPathTargetNode.
@ PM_PROGRAM_NODE
ProgramNode.
@ PM_MULTI_WRITE_NODE
MultiWriteNode.
@ PM_IMPLICIT_NODE
ImplicitNode.
@ PM_ARGUMENTS_NODE
ArgumentsNode.
@ PM_FORWARDING_SUPER_NODE
ForwardingSuperNode.
@ PM_WHILE_NODE
WhileNode.
@ PM_INTERPOLATED_STRING_NODE
InterpolatedStringNode.
@ PM_FALSE_NODE
FalseNode.
@ PM_FORWARDING_PARAMETER_NODE
ForwardingParameterNode.
@ PM_BLOCK_LOCAL_VARIABLE_NODE
BlockLocalVariableNode.
@ PM_UNTIL_NODE
UntilNode.
@ PM_MATCH_PREDICATE_NODE
MatchPredicateNode.
@ PM_X_STRING_NODE
XStringNode.
@ PM_LOCAL_VARIABLE_OPERATOR_WRITE_NODE
LocalVariableOperatorWriteNode.
@ PM_LOCAL_VARIABLE_OR_WRITE_NODE
LocalVariableOrWriteNode.
@ PM_INSTANCE_VARIABLE_AND_WRITE_NODE
InstanceVariableAndWriteNode.
@ PM_GLOBAL_VARIABLE_TARGET_NODE
GlobalVariableTargetNode.
@ PM_CONSTANT_TARGET_NODE
ConstantTargetNode.
@ PM_IT_LOCAL_VARIABLE_READ_NODE
ItLocalVariableReadNode.
@ PM_CONSTANT_PATH_AND_WRITE_NODE
ConstantPathAndWriteNode.
@ PM_BLOCK_PARAMETER_NODE
BlockParameterNode.
@ PM_CAPTURE_PATTERN_NODE
CapturePatternNode.
@ PM_SOURCE_FILE_NODE
SourceFileNode.
@ PM_NO_KEYWORDS_PARAMETER_NODE
NoKeywordsParameterNode.
@ PM_CONSTANT_PATH_OPERATOR_WRITE_NODE
ConstantPathOperatorWriteNode.
@ PM_MULTI_TARGET_NODE
MultiTargetNode.
@ PM_SPLAT_NODE
SplatNode.
@ PM_LAMBDA_NODE
LambdaNode.
@ PM_CLASS_VARIABLE_READ_NODE
ClassVariableReadNode.
@ PM_REQUIRED_KEYWORD_PARAMETER_NODE
RequiredKeywordParameterNode.
@ PM_CALL_TARGET_NODE
CallTargetNode.
@ PM_INTERPOLATED_MATCH_LAST_LINE_NODE
InterpolatedMatchLastLineNode.
@ PM_NUMBERED_PARAMETERS_NODE
NumberedParametersNode.
@ PM_SYMBOL_NODE
SymbolNode.
@ PM_RESCUE_MODIFIER_NODE
RescueModifierNode.
@ PM_ALIAS_METHOD_NODE
AliasMethodNode.
@ PM_MATCH_REQUIRED_NODE
MatchRequiredNode.
@ PM_FORWARDING_ARGUMENTS_NODE
ForwardingArgumentsNode.
@ PM_BACK_REFERENCE_READ_NODE
BackReferenceReadNode.
@ PM_BLOCK_ARGUMENT_NODE
BlockArgumentNode.
@ PM_MISSING_NODE
MissingNode.
@ PM_IMPLICIT_REST_NODE
ImplicitRestNode.
@ PM_ASSOC_SPLAT_NODE
AssocSplatNode.
@ PM_CLASS_VARIABLE_AND_WRITE_NODE
ClassVariableAndWriteNode.
@ PM_RANGE_NODE
RangeNode.
@ PM_INSTANCE_VARIABLE_OPERATOR_WRITE_NODE
InstanceVariableOperatorWriteNode.
@ PM_LOCAL_VARIABLE_READ_NODE
LocalVariableReadNode.
@ PM_SHAREABLE_CONSTANT_NODE
ShareableConstantNode.
@ PM_INSTANCE_VARIABLE_OR_WRITE_NODE
InstanceVariableOrWriteNode.
@ PM_REGULAR_EXPRESSION_NODE
RegularExpressionNode.
@ PM_CLASS_VARIABLE_OR_WRITE_NODE
ClassVariableOrWriteNode.
@ PM_BLOCK_PARAMETERS_NODE
BlockParametersNode.
@ PM_CONSTANT_WRITE_NODE
ConstantWriteNode.
@ PM_HASH_PATTERN_NODE
HashPatternNode.
@ PM_INDEX_OPERATOR_WRITE_NODE
IndexOperatorWriteNode.
@ PM_UNDEF_NODE
UndefNode.
@ PM_ALTERNATION_PATTERN_NODE
AlternationPatternNode.
@ PM_ENSURE_NODE
EnsureNode.
@ PM_LOCAL_VARIABLE_WRITE_NODE
LocalVariableWriteNode.
@ PM_SINGLETON_CLASS_NODE
SingletonClassNode.
@ PM_KEYWORD_HASH_NODE
KeywordHashNode.
@ PM_PARENTHESES_NODE
ParenthesesNode.
@ PM_CLASS_VARIABLE_WRITE_NODE
ClassVariableWriteNode.
@ PM_POST_EXECUTION_NODE
PostExecutionNode.
@ PM_CONSTANT_OPERATOR_WRITE_NODE
ConstantOperatorWriteNode.
@ PM_RETURN_NODE
ReturnNode.
@ PM_MODULE_NODE
ModuleNode.
@ PM_ARRAY_PATTERN_NODE
ArrayPatternNode.
@ PM_SUPER_NODE
SuperNode.
@ PM_MATCH_LAST_LINE_NODE
MatchLastLineNode.
@ PM_CONSTANT_PATH_NODE
ConstantPathNode.
@ PM_INTERPOLATED_SYMBOL_NODE
InterpolatedSymbolNode.
@ PM_CALL_AND_WRITE_NODE
CallAndWriteNode.
@ PM_OPTIONAL_KEYWORD_PARAMETER_NODE
OptionalKeywordParameterNode.
@ PM_CLASS_VARIABLE_TARGET_NODE
ClassVariableTargetNode.
@ PM_CASE_MATCH_NODE
CaseMatchNode.
@ PM_BREAK_NODE
BreakNode.
@ PM_CALL_OR_WRITE_NODE
CallOrWriteNode.
@ PM_IMAGINARY_NODE
ImaginaryNode.
@ PM_CONSTANT_READ_NODE
ConstantReadNode.
@ PM_GLOBAL_VARIABLE_WRITE_NODE
GlobalVariableWriteNode.
@ PM_SOURCE_ENCODING_NODE
SourceEncodingNode.
@ PM_BEGIN_NODE
BeginNode.
@ PM_INTERPOLATED_X_STRING_NODE
InterpolatedXStringNode.
@ PM_INSTANCE_VARIABLE_READ_NODE
InstanceVariableReadNode.
@ PM_FLIP_FLOP_NODE
FlipFlopNode.
@ PM_PINNED_VARIABLE_NODE
PinnedVariableNode.
@ PM_REQUIRED_PARAMETER_NODE
RequiredParameterNode.
@ PM_INSTANCE_VARIABLE_WRITE_NODE
InstanceVariableWriteNode.
@ PM_INSTANCE_VARIABLE_TARGET_NODE
InstanceVariableTargetNode.
@ PM_GLOBAL_VARIABLE_AND_WRITE_NODE
GlobalVariableAndWriteNode.
@ PM_RESCUE_NODE
RescueNode.
@ PM_FLOAT_NODE
FloatNode.
@ PM_ASSOC_NODE
AssocNode.
@ PM_IT_PARAMETERS_NODE
ItParametersNode.
@ PM_INTEGER_NODE
IntegerNode.
@ PM_LOCAL_VARIABLE_TARGET_NODE
LocalVariableTargetNode.
@ PM_STRING_NODE
StringNode.
@ PM_INDEX_OR_WRITE_NODE
IndexOrWriteNode.
@ PM_ALIAS_GLOBAL_VARIABLE_NODE
AliasGlobalVariableNode.
@ PM_PARAMETERS_NODE
ParametersNode.
@ PM_NUMBERED_REFERENCE_READ_NODE
NumberedReferenceReadNode.
@ PM_CONSTANT_PATH_OR_WRITE_NODE
ConstantPathOrWriteNode.
@ PM_GLOBAL_VARIABLE_OR_WRITE_NODE
GlobalVariableOrWriteNode.
@ PM_CONSTANT_OR_WRITE_NODE
ConstantOrWriteNode.
@ PM_STATEMENTS_NODE
StatementsNode.
@ PM_OPTIONAL_PARAMETER_NODE
OptionalParameterNode.
@ PM_PINNED_EXPRESSION_NODE
PinnedExpressionNode.
@ PM_BLOCK_NODE
BlockNode.
@ PM_CLASS_VARIABLE_OPERATOR_WRITE_NODE
ClassVariableOperatorWriteNode.
@ PM_REST_PARAMETER_NODE
RestParameterNode.
@ PM_EMBEDDED_STATEMENTS_NODE
EmbeddedStatementsNode.
@ PM_INTERPOLATED_REGULAR_EXPRESSION_NODE
InterpolatedRegularExpressionNode.
@ PM_INDEX_TARGET_NODE
IndexTargetNode.
@ PM_KEYWORD_REST_PARAMETER_NODE
KeywordRestParameterNode.
#define PM_NODE_TYPE(node)
Cast the type to an enum to allow the compiler to provide exhaustiveness checking.
VALUE rb_define_class_under(VALUE outer, const char *name, VALUE super)
Defines a class under the namespace of outer.
#define xfree
Old name of ruby_xfree.
#define ID2SYM
Old name of RB_ID2SYM.
#define ULONG2NUM
Old name of RB_ULONG2NUM.
#define xmalloc
Old name of ruby_xmalloc.
#define LONG2NUM
Old name of RB_LONG2NUM.
#define ULL2NUM
Old name of RB_ULL2NUM.
#define Qnil
Old name of RUBY_Qnil.
#define DBL2NUM
Old name of rb_float_new.
#define UINT2NUM
Old name of RB_UINT2NUM.
VALUE rb_eRuntimeError
RuntimeError exception.
VALUE rb_class_new_instance(int argc, const VALUE *argv, VALUE klass)
Allocates, then initialises an instance of the given class.
VALUE rb_funcall(VALUE recv, ID mid, int n,...)
Calls a method.
#define rb_str_new(str, len)
Allocates an instance of rb_cString.
VALUE rb_str_intern(VALUE str)
Identical to rb_to_symbol(), except it assumes the receiver being an instance of RString.
static ID rb_intern_const(const char *str)
This is a "tiny optimisation" over rb_intern().
VALUE type(ANYARGS)
ANYARGS-ed function type.
PRISM_EXPORTED_FUNCTION const char * pm_token_type_name(pm_token_type_t token_type)
Returns a string representation of the given token type.
#define RARRAY_AREF(a, i)
struct pm_node * old_name
AliasGlobalVariableNode::old_name.
struct pm_node * new_name
AliasGlobalVariableNode::new_name.
pm_location_t keyword_loc
AliasGlobalVariableNode::keyword_loc.
struct pm_node * old_name
AliasMethodNode::old_name.
struct pm_node * new_name
AliasMethodNode::new_name.
pm_location_t keyword_loc
AliasMethodNode::keyword_loc.
pm_location_t operator_loc
AlternationPatternNode::operator_loc.
struct pm_node * left
AlternationPatternNode::left.
struct pm_node * right
AlternationPatternNode::right.
struct pm_node * left
AndNode::left.
struct pm_node * right
AndNode::right.
pm_location_t operator_loc
AndNode::operator_loc.
struct pm_node_list arguments
ArgumentsNode::arguments.
pm_location_t closing_loc
ArrayNode::closing_loc.
struct pm_node_list elements
ArrayNode::elements.
pm_location_t opening_loc
ArrayNode::opening_loc.
struct pm_node_list requireds
ArrayPatternNode::requireds.
struct pm_node * rest
ArrayPatternNode::rest.
struct pm_node * constant
ArrayPatternNode::constant.
pm_location_t opening_loc
ArrayPatternNode::opening_loc.
pm_location_t closing_loc
ArrayPatternNode::closing_loc.
struct pm_node_list posts
ArrayPatternNode::posts.
struct pm_node * value
AssocNode::value.
struct pm_node * key
AssocNode::key.
pm_location_t operator_loc
AssocNode::operator_loc.
struct pm_node * value
AssocSplatNode::value.
pm_location_t operator_loc
AssocSplatNode::operator_loc.
pm_constant_id_t name
BackReferenceReadNode::name.
struct pm_ensure_node * ensure_clause
BeginNode::ensure_clause.
struct pm_rescue_node * rescue_clause
BeginNode::rescue_clause.
struct pm_statements_node * statements
BeginNode::statements.
pm_location_t end_keyword_loc
BeginNode::end_keyword_loc.
pm_location_t begin_keyword_loc
BeginNode::begin_keyword_loc.
struct pm_else_node * else_clause
BeginNode::else_clause.
struct pm_node * expression
BlockArgumentNode::expression.
pm_location_t operator_loc
BlockArgumentNode::operator_loc.
pm_constant_id_t name
BlockLocalVariableNode::name.
pm_location_t closing_loc
BlockNode::closing_loc.
struct pm_node * parameters
BlockNode::parameters.
pm_location_t opening_loc
BlockNode::opening_loc.
struct pm_node * body
BlockNode::body.
pm_constant_id_list_t locals
BlockNode::locals.
pm_location_t operator_loc
BlockParameterNode::operator_loc.
pm_location_t name_loc
BlockParameterNode::name_loc.
pm_constant_id_t name
BlockParameterNode::name.
struct pm_parameters_node * parameters
BlockParametersNode::parameters.
struct pm_node_list locals
BlockParametersNode::locals.
pm_location_t closing_loc
BlockParametersNode::closing_loc.
pm_location_t opening_loc
BlockParametersNode::opening_loc.
struct pm_arguments_node * arguments
BreakNode::arguments.
pm_location_t keyword_loc
BreakNode::keyword_loc.
pm_location_t operator_loc
CallAndWriteNode::operator_loc.
struct pm_node * value
CallAndWriteNode::value.
pm_location_t call_operator_loc
CallAndWriteNode::call_operator_loc.
pm_location_t message_loc
CallAndWriteNode::message_loc.
pm_constant_id_t read_name
CallAndWriteNode::read_name.
pm_constant_id_t write_name
CallAndWriteNode::write_name.
struct pm_node * receiver
CallAndWriteNode::receiver.
pm_location_t opening_loc
CallNode::opening_loc.
pm_location_t closing_loc
CallNode::closing_loc.
struct pm_node * receiver
CallNode::receiver.
pm_constant_id_t name
CallNode::name.
pm_location_t call_operator_loc
CallNode::call_operator_loc.
pm_location_t message_loc
CallNode::message_loc.
struct pm_arguments_node * arguments
CallNode::arguments.
struct pm_node * block
CallNode::block.
pm_constant_id_t read_name
CallOperatorWriteNode::read_name.
pm_constant_id_t binary_operator
CallOperatorWriteNode::binary_operator.
pm_location_t binary_operator_loc
CallOperatorWriteNode::binary_operator_loc.
struct pm_node * receiver
CallOperatorWriteNode::receiver.
pm_constant_id_t write_name
CallOperatorWriteNode::write_name.
pm_location_t message_loc
CallOperatorWriteNode::message_loc.
struct pm_node * value
CallOperatorWriteNode::value.
pm_location_t call_operator_loc
CallOperatorWriteNode::call_operator_loc.
pm_location_t operator_loc
CallOrWriteNode::operator_loc.
pm_location_t call_operator_loc
CallOrWriteNode::call_operator_loc.
struct pm_node * receiver
CallOrWriteNode::receiver.
struct pm_node * value
CallOrWriteNode::value.
pm_constant_id_t write_name
CallOrWriteNode::write_name.
pm_constant_id_t read_name
CallOrWriteNode::read_name.
pm_location_t message_loc
CallOrWriteNode::message_loc.
pm_constant_id_t name
CallTargetNode::name.
struct pm_node * receiver
CallTargetNode::receiver.
pm_location_t call_operator_loc
CallTargetNode::call_operator_loc.
pm_location_t message_loc
CallTargetNode::message_loc.
struct pm_local_variable_target_node * target
CapturePatternNode::target.
pm_location_t operator_loc
CapturePatternNode::operator_loc.
struct pm_node * value
CapturePatternNode::value.
pm_location_t end_keyword_loc
CaseMatchNode::end_keyword_loc.
struct pm_node_list conditions
CaseMatchNode::conditions.
pm_location_t case_keyword_loc
CaseMatchNode::case_keyword_loc.
struct pm_else_node * else_clause
CaseMatchNode::else_clause.
struct pm_node * predicate
CaseMatchNode::predicate.
struct pm_node * predicate
CaseNode::predicate.
struct pm_else_node * else_clause
CaseNode::else_clause.
struct pm_node_list conditions
CaseNode::conditions.
pm_location_t case_keyword_loc
CaseNode::case_keyword_loc.
pm_location_t end_keyword_loc
CaseNode::end_keyword_loc.
pm_location_t class_keyword_loc
ClassNode::class_keyword_loc.
pm_location_t end_keyword_loc
ClassNode::end_keyword_loc.
struct pm_node * constant_path
ClassNode::constant_path.
pm_constant_id_list_t locals
ClassNode::locals.
pm_location_t inheritance_operator_loc
ClassNode::inheritance_operator_loc.
pm_constant_id_t name
ClassNode::name.
struct pm_node * body
ClassNode::body.
struct pm_node * superclass
ClassNode::superclass.
ClassVariableAndWriteNode.
struct pm_node * value
ClassVariableAndWriteNode::value.
pm_constant_id_t name
ClassVariableAndWriteNode::name.
pm_location_t operator_loc
ClassVariableAndWriteNode::operator_loc.
pm_location_t name_loc
ClassVariableAndWriteNode::name_loc.
ClassVariableOperatorWriteNode.
pm_constant_id_t name
ClassVariableOperatorWriteNode::name.
pm_location_t name_loc
ClassVariableOperatorWriteNode::name_loc.
pm_constant_id_t binary_operator
ClassVariableOperatorWriteNode::binary_operator.
struct pm_node * value
ClassVariableOperatorWriteNode::value.
pm_location_t binary_operator_loc
ClassVariableOperatorWriteNode::binary_operator_loc.
ClassVariableOrWriteNode.
pm_location_t name_loc
ClassVariableOrWriteNode::name_loc.
pm_location_t operator_loc
ClassVariableOrWriteNode::operator_loc.
pm_constant_id_t name
ClassVariableOrWriteNode::name.
struct pm_node * value
ClassVariableOrWriteNode::value.
pm_constant_id_t name
ClassVariableReadNode::name.
pm_constant_id_t name
ClassVariableTargetNode::name.
pm_location_t name_loc
ClassVariableWriteNode::name_loc.
struct pm_node * value
ClassVariableWriteNode::value.
pm_location_t operator_loc
ClassVariableWriteNode::operator_loc.
pm_constant_id_t name
ClassVariableWriteNode::name.
pm_location_t operator_loc
ConstantAndWriteNode::operator_loc.
pm_location_t name_loc
ConstantAndWriteNode::name_loc.
pm_constant_id_t name
ConstantAndWriteNode::name.
struct pm_node * value
ConstantAndWriteNode::value.
size_t size
The number of constant ids in the list.
pm_constant_id_t * ids
The constant ids in the list.
ConstantOperatorWriteNode.
pm_constant_id_t name
ConstantOperatorWriteNode::name.
pm_location_t name_loc
ConstantOperatorWriteNode::name_loc.
pm_constant_id_t binary_operator
ConstantOperatorWriteNode::binary_operator.
pm_location_t binary_operator_loc
ConstantOperatorWriteNode::binary_operator_loc.
struct pm_node * value
ConstantOperatorWriteNode::value.
pm_location_t operator_loc
ConstantOrWriteNode::operator_loc.
pm_location_t name_loc
ConstantOrWriteNode::name_loc.
pm_constant_id_t name
ConstantOrWriteNode::name.
struct pm_node * value
ConstantOrWriteNode::value.
ConstantPathAndWriteNode.
struct pm_constant_path_node * target
ConstantPathAndWriteNode::target.
pm_location_t operator_loc
ConstantPathAndWriteNode::operator_loc.
struct pm_node * value
ConstantPathAndWriteNode::value.
pm_location_t delimiter_loc
ConstantPathNode::delimiter_loc.
pm_location_t name_loc
ConstantPathNode::name_loc.
pm_constant_id_t name
ConstantPathNode::name.
struct pm_node * parent
ConstantPathNode::parent.
ConstantPathOperatorWriteNode.
struct pm_constant_path_node * target
ConstantPathOperatorWriteNode::target.
struct pm_node * value
ConstantPathOperatorWriteNode::value.
pm_constant_id_t binary_operator
ConstantPathOperatorWriteNode::binary_operator.
pm_location_t binary_operator_loc
ConstantPathOperatorWriteNode::binary_operator_loc.
pm_location_t operator_loc
ConstantPathOrWriteNode::operator_loc.
struct pm_node * value
ConstantPathOrWriteNode::value.
struct pm_constant_path_node * target
ConstantPathOrWriteNode::target.
struct pm_node * parent
ConstantPathTargetNode::parent.
pm_location_t delimiter_loc
ConstantPathTargetNode::delimiter_loc.
pm_constant_id_t name
ConstantPathTargetNode::name.
pm_location_t name_loc
ConstantPathTargetNode::name_loc.
struct pm_constant_path_node * target
ConstantPathWriteNode::target.
pm_location_t operator_loc
ConstantPathWriteNode::operator_loc.
struct pm_node * value
ConstantPathWriteNode::value.
uint32_t size
The number of buckets in the hash map.
pm_constant_t * constants
The constants that are stored in the buckets.
pm_constant_id_t name
ConstantReadNode::name.
A constant in the pool which effectively stores a string.
size_t length
The length of the string.
const uint8_t * start
A pointer to the start of the string.
pm_constant_id_t name
ConstantTargetNode::name.
struct pm_node * value
ConstantWriteNode::value.
pm_constant_id_t name
ConstantWriteNode::name.
pm_location_t name_loc
ConstantWriteNode::name_loc.
pm_location_t operator_loc
ConstantWriteNode::operator_loc.
struct pm_parameters_node * parameters
DefNode::parameters.
pm_location_t end_keyword_loc
DefNode::end_keyword_loc.
pm_constant_id_t name
DefNode::name.
pm_location_t name_loc
DefNode::name_loc.
pm_location_t rparen_loc
DefNode::rparen_loc.
struct pm_node * body
DefNode::body.
pm_location_t equal_loc
DefNode::equal_loc.
pm_location_t def_keyword_loc
DefNode::def_keyword_loc.
struct pm_node * receiver
DefNode::receiver.
pm_location_t lparen_loc
DefNode::lparen_loc.
pm_location_t operator_loc
DefNode::operator_loc.
pm_constant_id_list_t locals
DefNode::locals.
pm_location_t lparen_loc
DefinedNode::lparen_loc.
pm_location_t rparen_loc
DefinedNode::rparen_loc.
pm_location_t keyword_loc
DefinedNode::keyword_loc.
struct pm_node * value
DefinedNode::value.
struct pm_statements_node * statements
ElseNode::statements.
pm_location_t else_keyword_loc
ElseNode::else_keyword_loc.
pm_location_t end_keyword_loc
ElseNode::end_keyword_loc.
pm_location_t closing_loc
EmbeddedStatementsNode::closing_loc.
struct pm_statements_node * statements
EmbeddedStatementsNode::statements.
pm_location_t opening_loc
EmbeddedStatementsNode::opening_loc.
struct pm_node * variable
EmbeddedVariableNode::variable.
pm_location_t operator_loc
EmbeddedVariableNode::operator_loc.
struct pm_statements_node * statements
EnsureNode::statements.
pm_location_t ensure_keyword_loc
EnsureNode::ensure_keyword_loc.
pm_location_t end_keyword_loc
EnsureNode::end_keyword_loc.
struct pm_node * constant
FindPatternNode::constant.
struct pm_node * right
FindPatternNode::right.
pm_location_t opening_loc
FindPatternNode::opening_loc.
struct pm_node_list requireds
FindPatternNode::requireds.
struct pm_splat_node * left
FindPatternNode::left.
pm_location_t closing_loc
FindPatternNode::closing_loc.
pm_location_t operator_loc
FlipFlopNode::operator_loc.
struct pm_node * left
FlipFlopNode::left.
struct pm_node * right
FlipFlopNode::right.
double value
FloatNode::value.
struct pm_statements_node * statements
ForNode::statements.
struct pm_node * index
ForNode::index.
struct pm_node * collection
ForNode::collection.
pm_location_t end_keyword_loc
ForNode::end_keyword_loc.
pm_location_t for_keyword_loc
ForNode::for_keyword_loc.
pm_location_t do_keyword_loc
ForNode::do_keyword_loc.
pm_location_t in_keyword_loc
ForNode::in_keyword_loc.
struct pm_block_node * block
ForwardingSuperNode::block.
GlobalVariableAndWriteNode.
pm_location_t operator_loc
GlobalVariableAndWriteNode::operator_loc.
pm_location_t name_loc
GlobalVariableAndWriteNode::name_loc.
struct pm_node * value
GlobalVariableAndWriteNode::value.
pm_constant_id_t name
GlobalVariableAndWriteNode::name.
GlobalVariableOperatorWriteNode.
pm_constant_id_t name
GlobalVariableOperatorWriteNode::name.
pm_constant_id_t binary_operator
GlobalVariableOperatorWriteNode::binary_operator.
struct pm_node * value
GlobalVariableOperatorWriteNode::value.
pm_location_t name_loc
GlobalVariableOperatorWriteNode::name_loc.
pm_location_t binary_operator_loc
GlobalVariableOperatorWriteNode::binary_operator_loc.
GlobalVariableOrWriteNode.
pm_constant_id_t name
GlobalVariableOrWriteNode::name.
pm_location_t name_loc
GlobalVariableOrWriteNode::name_loc.
pm_location_t operator_loc
GlobalVariableOrWriteNode::operator_loc.
struct pm_node * value
GlobalVariableOrWriteNode::value.
pm_constant_id_t name
GlobalVariableReadNode::name.
GlobalVariableTargetNode.
pm_constant_id_t name
GlobalVariableTargetNode::name.
struct pm_node * value
GlobalVariableWriteNode::value.
pm_location_t name_loc
GlobalVariableWriteNode::name_loc.
pm_location_t operator_loc
GlobalVariableWriteNode::operator_loc.
pm_constant_id_t name
GlobalVariableWriteNode::name.
struct pm_node_list elements
HashNode::elements.
pm_location_t closing_loc
HashNode::closing_loc.
pm_location_t opening_loc
HashNode::opening_loc.
struct pm_node_list elements
HashPatternNode::elements.
pm_location_t opening_loc
HashPatternNode::opening_loc.
struct pm_node * rest
HashPatternNode::rest.
pm_location_t closing_loc
HashPatternNode::closing_loc.
struct pm_node * constant
HashPatternNode::constant.
struct pm_node * predicate
IfNode::predicate.
pm_location_t end_keyword_loc
IfNode::end_keyword_loc.
pm_location_t if_keyword_loc
IfNode::if_keyword_loc.
struct pm_statements_node * statements
IfNode::statements.
struct pm_node * subsequent
IfNode::subsequent.
pm_location_t then_keyword_loc
IfNode::then_keyword_loc.
struct pm_node * numeric
ImaginaryNode::numeric.
struct pm_node * value
ImplicitNode::value.
struct pm_statements_node * statements
InNode::statements.
struct pm_node * pattern
InNode::pattern.
pm_location_t then_loc
InNode::then_loc.
pm_location_t in_loc
InNode::in_loc.
struct pm_arguments_node * arguments
IndexAndWriteNode::arguments.
struct pm_node * receiver
IndexAndWriteNode::receiver.
struct pm_block_argument_node * block
IndexAndWriteNode::block.
struct pm_node * value
IndexAndWriteNode::value.
pm_location_t operator_loc
IndexAndWriteNode::operator_loc.
pm_location_t closing_loc
IndexAndWriteNode::closing_loc.
pm_location_t opening_loc
IndexAndWriteNode::opening_loc.
pm_location_t call_operator_loc
IndexAndWriteNode::call_operator_loc.
struct pm_block_argument_node * block
IndexOperatorWriteNode::block.
pm_location_t binary_operator_loc
IndexOperatorWriteNode::binary_operator_loc.
struct pm_node * value
IndexOperatorWriteNode::value.
pm_location_t opening_loc
IndexOperatorWriteNode::opening_loc.
pm_location_t call_operator_loc
IndexOperatorWriteNode::call_operator_loc.
pm_location_t closing_loc
IndexOperatorWriteNode::closing_loc.
struct pm_arguments_node * arguments
IndexOperatorWriteNode::arguments.
pm_constant_id_t binary_operator
IndexOperatorWriteNode::binary_operator.
struct pm_node * receiver
IndexOperatorWriteNode::receiver.
pm_location_t closing_loc
IndexOrWriteNode::closing_loc.
pm_location_t call_operator_loc
IndexOrWriteNode::call_operator_loc.
struct pm_block_argument_node * block
IndexOrWriteNode::block.
pm_location_t operator_loc
IndexOrWriteNode::operator_loc.
struct pm_node * receiver
IndexOrWriteNode::receiver.
pm_location_t opening_loc
IndexOrWriteNode::opening_loc.
struct pm_node * value
IndexOrWriteNode::value.
struct pm_arguments_node * arguments
IndexOrWriteNode::arguments.
struct pm_node * receiver
IndexTargetNode::receiver.
pm_location_t closing_loc
IndexTargetNode::closing_loc.
struct pm_arguments_node * arguments
IndexTargetNode::arguments.
pm_location_t opening_loc
IndexTargetNode::opening_loc.
struct pm_block_argument_node * block
IndexTargetNode::block.
InstanceVariableAndWriteNode.
pm_location_t operator_loc
InstanceVariableAndWriteNode::operator_loc.
pm_location_t name_loc
InstanceVariableAndWriteNode::name_loc.
struct pm_node * value
InstanceVariableAndWriteNode::value.
pm_constant_id_t name
InstanceVariableAndWriteNode::name.
InstanceVariableOperatorWriteNode.
struct pm_node * value
InstanceVariableOperatorWriteNode::value.
pm_constant_id_t binary_operator
InstanceVariableOperatorWriteNode::binary_operator.
pm_location_t binary_operator_loc
InstanceVariableOperatorWriteNode::binary_operator_loc.
pm_constant_id_t name
InstanceVariableOperatorWriteNode::name.
pm_location_t name_loc
InstanceVariableOperatorWriteNode::name_loc.
InstanceVariableOrWriteNode.
pm_location_t operator_loc
InstanceVariableOrWriteNode::operator_loc.
struct pm_node * value
InstanceVariableOrWriteNode::value.
pm_location_t name_loc
InstanceVariableOrWriteNode::name_loc.
pm_constant_id_t name
InstanceVariableOrWriteNode::name.
InstanceVariableReadNode.
pm_constant_id_t name
InstanceVariableReadNode::name.
InstanceVariableTargetNode.
pm_constant_id_t name
InstanceVariableTargetNode::name.
InstanceVariableWriteNode.
pm_location_t operator_loc
InstanceVariableWriteNode::operator_loc.
pm_constant_id_t name
InstanceVariableWriteNode::name.
struct pm_node * value
InstanceVariableWriteNode::value.
pm_location_t name_loc
InstanceVariableWriteNode::name_loc.
pm_integer_t value
IntegerNode::value.
A structure represents an arbitrary-sized integer.
size_t length
The number of allocated values.
uint32_t value
Embedded value for small integer.
uint32_t * values
List of 32-bit integers.
bool negative
Whether or not the integer is negative.
InterpolatedMatchLastLineNode.
pm_location_t closing_loc
InterpolatedMatchLastLineNode::closing_loc.
struct pm_node_list parts
InterpolatedMatchLastLineNode::parts.
pm_location_t opening_loc
InterpolatedMatchLastLineNode::opening_loc.
InterpolatedRegularExpressionNode.
pm_location_t opening_loc
InterpolatedRegularExpressionNode::opening_loc.
struct pm_node_list parts
InterpolatedRegularExpressionNode::parts.
pm_location_t closing_loc
InterpolatedRegularExpressionNode::closing_loc.
pm_location_t closing_loc
InterpolatedStringNode::closing_loc.
pm_location_t opening_loc
InterpolatedStringNode::opening_loc.
struct pm_node_list parts
InterpolatedStringNode::parts.
struct pm_node_list parts
InterpolatedSymbolNode::parts.
pm_location_t closing_loc
InterpolatedSymbolNode::closing_loc.
pm_location_t opening_loc
InterpolatedSymbolNode::opening_loc.
pm_location_t opening_loc
InterpolatedXStringNode::opening_loc.
pm_location_t closing_loc
InterpolatedXStringNode::closing_loc.
struct pm_node_list parts
InterpolatedXStringNode::parts.
struct pm_node_list elements
KeywordHashNode::elements.
KeywordRestParameterNode.
pm_constant_id_t name
KeywordRestParameterNode::name.
pm_location_t operator_loc
KeywordRestParameterNode::operator_loc.
pm_location_t name_loc
KeywordRestParameterNode::name_loc.
pm_location_t closing_loc
LambdaNode::closing_loc.
struct pm_node * body
LambdaNode::body.
pm_location_t opening_loc
LambdaNode::opening_loc.
struct pm_node * parameters
LambdaNode::parameters.
pm_location_t operator_loc
LambdaNode::operator_loc.
pm_constant_id_list_t locals
LambdaNode::locals.
LocalVariableAndWriteNode.
pm_constant_id_t name
LocalVariableAndWriteNode::name.
uint32_t depth
LocalVariableAndWriteNode::depth.
pm_location_t operator_loc
LocalVariableAndWriteNode::operator_loc.
struct pm_node * value
LocalVariableAndWriteNode::value.
pm_location_t name_loc
LocalVariableAndWriteNode::name_loc.
LocalVariableOperatorWriteNode.
uint32_t depth
LocalVariableOperatorWriteNode::depth.
pm_constant_id_t binary_operator
LocalVariableOperatorWriteNode::binary_operator.
struct pm_node * value
LocalVariableOperatorWriteNode::value.
pm_location_t name_loc
LocalVariableOperatorWriteNode::name_loc.
pm_location_t binary_operator_loc
LocalVariableOperatorWriteNode::binary_operator_loc.
pm_constant_id_t name
LocalVariableOperatorWriteNode::name.
LocalVariableOrWriteNode.
uint32_t depth
LocalVariableOrWriteNode::depth.
pm_location_t operator_loc
LocalVariableOrWriteNode::operator_loc.
struct pm_node * value
LocalVariableOrWriteNode::value.
pm_constant_id_t name
LocalVariableOrWriteNode::name.
pm_location_t name_loc
LocalVariableOrWriteNode::name_loc.
uint32_t depth
LocalVariableReadNode::depth.
pm_constant_id_t name
LocalVariableReadNode::name.
uint32_t depth
LocalVariableTargetNode::depth.
pm_constant_id_t name
LocalVariableTargetNode::name.
pm_location_t operator_loc
LocalVariableWriteNode::operator_loc.
pm_location_t name_loc
LocalVariableWriteNode::name_loc.
struct pm_node * value
LocalVariableWriteNode::value.
uint32_t depth
LocalVariableWriteNode::depth.
pm_constant_id_t name
LocalVariableWriteNode::name.
const uint8_t * start
A pointer to the start location of the range in the source.
const uint8_t * end
A pointer to the end location of the range in the source.
pm_location_t content_loc
MatchLastLineNode::content_loc.
pm_location_t opening_loc
MatchLastLineNode::opening_loc.
pm_location_t closing_loc
MatchLastLineNode::closing_loc.
pm_string_t unescaped
MatchLastLineNode::unescaped.
pm_location_t operator_loc
MatchPredicateNode::operator_loc.
struct pm_node * pattern
MatchPredicateNode::pattern.
struct pm_node * value
MatchPredicateNode::value.
pm_location_t operator_loc
MatchRequiredNode::operator_loc.
struct pm_node * value
MatchRequiredNode::value.
struct pm_node * pattern
MatchRequiredNode::pattern.
struct pm_node_list targets
MatchWriteNode::targets.
struct pm_call_node * call
MatchWriteNode::call.
pm_location_t end_keyword_loc
ModuleNode::end_keyword_loc.
struct pm_node * constant_path
ModuleNode::constant_path.
struct pm_node * body
ModuleNode::body.
pm_constant_id_list_t locals
ModuleNode::locals.
pm_location_t module_keyword_loc
ModuleNode::module_keyword_loc.
pm_constant_id_t name
ModuleNode::name.
pm_location_t lparen_loc
MultiTargetNode::lparen_loc.
struct pm_node_list lefts
MultiTargetNode::lefts.
struct pm_node * rest
MultiTargetNode::rest.
pm_location_t rparen_loc
MultiTargetNode::rparen_loc.
struct pm_node_list rights
MultiTargetNode::rights.
pm_location_t rparen_loc
MultiWriteNode::rparen_loc.
struct pm_node * value
MultiWriteNode::value.
struct pm_node * rest
MultiWriteNode::rest.
struct pm_node_list rights
MultiWriteNode::rights.
pm_location_t operator_loc
MultiWriteNode::operator_loc.
pm_location_t lparen_loc
MultiWriteNode::lparen_loc.
struct pm_node_list lefts
MultiWriteNode::lefts.
size_t * offsets
The list of offsets.
size_t size
The number of offsets in the list.
struct pm_arguments_node * arguments
NextNode::arguments.
pm_location_t keyword_loc
NextNode::keyword_loc.
pm_location_t keyword_loc
NoKeywordsParameterNode::keyword_loc.
pm_location_t operator_loc
NoKeywordsParameterNode::operator_loc.
size_t size
The number of nodes in the list.
struct pm_node ** nodes
The nodes in the list.
This is the base structure that represents a node in the syntax tree.
uint32_t node_id
The unique identifier for this node, which is deterministic based on the source.
pm_node_flags_t flags
This represents any flags on the node.
pm_location_t location
This is the location of the node in the source.
uint8_t maximum
NumberedParametersNode::maximum.
NumberedReferenceReadNode.
uint32_t number
NumberedReferenceReadNode::number.
OptionalKeywordParameterNode.
pm_constant_id_t name
OptionalKeywordParameterNode::name.
struct pm_node * value
OptionalKeywordParameterNode::value.
pm_location_t name_loc
OptionalKeywordParameterNode::name_loc.
pm_location_t name_loc
OptionalParameterNode::name_loc.
struct pm_node * value
OptionalParameterNode::value.
pm_constant_id_t name
OptionalParameterNode::name.
pm_location_t operator_loc
OptionalParameterNode::operator_loc.
struct pm_node * left
OrNode::left.
struct pm_node * right
OrNode::right.
pm_location_t operator_loc
OrNode::operator_loc.
struct pm_node * rest
ParametersNode::rest.
struct pm_node_list requireds
ParametersNode::requireds.
struct pm_block_parameter_node * block
ParametersNode::block.
struct pm_node_list optionals
ParametersNode::optionals.
struct pm_node_list posts
ParametersNode::posts.
struct pm_node * keyword_rest
ParametersNode::keyword_rest.
struct pm_node_list keywords
ParametersNode::keywords.
struct pm_node * body
ParenthesesNode::body.
pm_location_t closing_loc
ParenthesesNode::closing_loc.
pm_location_t opening_loc
ParenthesesNode::opening_loc.
This struct represents the overall parser.
const uint8_t * end
The pointer to the end of the source.
pm_constant_pool_t constant_pool
This constant pool keeps all of the constants defined throughout the file so that we can reference th...
const uint8_t * start
The pointer to the start of the source.
int32_t start_line
The line number at the start of the parse.
pm_newline_list_t newline_list
This is the list of newline offsets in the source file.
pm_location_t rparen_loc
PinnedExpressionNode::rparen_loc.
struct pm_node * expression
PinnedExpressionNode::expression.
pm_location_t lparen_loc
PinnedExpressionNode::lparen_loc.
pm_location_t operator_loc
PinnedExpressionNode::operator_loc.
struct pm_node * variable
PinnedVariableNode::variable.
pm_location_t operator_loc
PinnedVariableNode::operator_loc.
pm_location_t closing_loc
PostExecutionNode::closing_loc.
struct pm_statements_node * statements
PostExecutionNode::statements.
pm_location_t opening_loc
PostExecutionNode::opening_loc.
pm_location_t keyword_loc
PostExecutionNode::keyword_loc.
struct pm_statements_node * statements
PreExecutionNode::statements.
pm_location_t closing_loc
PreExecutionNode::closing_loc.
pm_location_t opening_loc
PreExecutionNode::opening_loc.
pm_location_t keyword_loc
PreExecutionNode::keyword_loc.
struct pm_statements_node * statements
ProgramNode::statements.
pm_constant_id_list_t locals
ProgramNode::locals.
struct pm_node * right
RangeNode::right.
pm_location_t operator_loc
RangeNode::operator_loc.
struct pm_node * left
RangeNode::left.
pm_integer_t denominator
RationalNode::denominator.
pm_integer_t numerator
RationalNode::numerator.
pm_location_t closing_loc
RegularExpressionNode::closing_loc.
pm_string_t unescaped
RegularExpressionNode::unescaped.
pm_location_t opening_loc
RegularExpressionNode::opening_loc.
pm_location_t content_loc
RegularExpressionNode::content_loc.
RequiredKeywordParameterNode.
pm_location_t name_loc
RequiredKeywordParameterNode::name_loc.
pm_constant_id_t name
RequiredKeywordParameterNode::name.
pm_constant_id_t name
RequiredParameterNode::name.
struct pm_node * rescue_expression
RescueModifierNode::rescue_expression.
pm_location_t keyword_loc
RescueModifierNode::keyword_loc.
struct pm_node * expression
RescueModifierNode::expression.
pm_location_t keyword_loc
RescueNode::keyword_loc.
struct pm_rescue_node * subsequent
RescueNode::subsequent.
pm_location_t operator_loc
RescueNode::operator_loc.
struct pm_node * reference
RescueNode::reference.
struct pm_node_list exceptions
RescueNode::exceptions.
struct pm_statements_node * statements
RescueNode::statements.
pm_constant_id_t name
RestParameterNode::name.
pm_location_t name_loc
RestParameterNode::name_loc.
pm_location_t operator_loc
RestParameterNode::operator_loc.
pm_location_t keyword_loc
ReturnNode::keyword_loc.
struct pm_arguments_node * arguments
ReturnNode::arguments.
struct pm_node * write
ShareableConstantNode::write.
pm_constant_id_list_t locals
SingletonClassNode::locals.
pm_location_t operator_loc
SingletonClassNode::operator_loc.
struct pm_node * expression
SingletonClassNode::expression.
pm_location_t end_keyword_loc
SingletonClassNode::end_keyword_loc.
pm_location_t class_keyword_loc
SingletonClassNode::class_keyword_loc.
struct pm_node * body
SingletonClassNode::body.
pm_string_t filepath
SourceFileNode::filepath.
struct pm_node * expression
SplatNode::expression.
pm_location_t operator_loc
SplatNode::operator_loc.
struct pm_node_list body
StatementsNode::body.
pm_string_t unescaped
StringNode::unescaped.
pm_location_t content_loc
StringNode::content_loc.
pm_location_t closing_loc
StringNode::closing_loc.
pm_location_t opening_loc
StringNode::opening_loc.
A generic string type that can have various ownership semantics.
struct pm_arguments_node * arguments
SuperNode::arguments.
pm_location_t lparen_loc
SuperNode::lparen_loc.
pm_location_t keyword_loc
SuperNode::keyword_loc.
pm_location_t rparen_loc
SuperNode::rparen_loc.
struct pm_node * block
SuperNode::block.
pm_location_t opening_loc
SymbolNode::opening_loc.
pm_location_t value_loc
SymbolNode::value_loc.
pm_location_t closing_loc
SymbolNode::closing_loc.
pm_string_t unescaped
SymbolNode::unescaped.
This struct represents a token in the Ruby source.
pm_location_t keyword_loc
UndefNode::keyword_loc.
struct pm_node_list names
UndefNode::names.
pm_location_t keyword_loc
UnlessNode::keyword_loc.
pm_location_t then_keyword_loc
UnlessNode::then_keyword_loc.
pm_location_t end_keyword_loc
UnlessNode::end_keyword_loc.
struct pm_statements_node * statements
UnlessNode::statements.
struct pm_node * predicate
UnlessNode::predicate.
struct pm_else_node * else_clause
UnlessNode::else_clause.
struct pm_statements_node * statements
UntilNode::statements.
pm_location_t closing_loc
UntilNode::closing_loc.
struct pm_node * predicate
UntilNode::predicate.
pm_location_t keyword_loc
UntilNode::keyword_loc.
pm_location_t do_keyword_loc
UntilNode::do_keyword_loc.
struct pm_statements_node * statements
WhenNode::statements.
pm_location_t then_keyword_loc
WhenNode::then_keyword_loc.
pm_location_t keyword_loc
WhenNode::keyword_loc.
struct pm_node_list conditions
WhenNode::conditions.
pm_location_t closing_loc
WhileNode::closing_loc.
pm_location_t keyword_loc
WhileNode::keyword_loc.
struct pm_statements_node * statements
WhileNode::statements.
pm_location_t do_keyword_loc
WhileNode::do_keyword_loc.
struct pm_node * predicate
WhileNode::predicate.
pm_location_t closing_loc
XStringNode::closing_loc.
pm_location_t opening_loc
XStringNode::opening_loc.
pm_location_t content_loc
XStringNode::content_loc.
pm_string_t unescaped
XStringNode::unescaped.
pm_location_t keyword_loc
YieldNode::keyword_loc.
pm_location_t lparen_loc
YieldNode::lparen_loc.
pm_location_t rparen_loc
YieldNode::rparen_loc.
struct pm_arguments_node * arguments
YieldNode::arguments.
uintptr_t ID
Type that represents a Ruby identifier such as a variable name.
uintptr_t VALUE
Type that represents a Ruby object.