|
130 | 130 | new \Phplrt\Parser\Grammar\Optional(48), |
131 | 131 | new \Phplrt\Parser\Grammar\Lexeme('T_ANGLE_BRACKET_CLOSE', false), |
132 | 132 | new \Phplrt\Parser\Grammar\Concatenation([49, 45, 50, 51, 52]), |
133 | | - new \Phplrt\Parser\Grammar\Repetition(157, 1, INF), |
| 133 | + new \Phplrt\Parser\Grammar\Repetition(155, 1, INF), |
134 | 134 | new \Phplrt\Parser\Grammar\Concatenation([16, 59]), |
135 | 135 | new \Phplrt\Parser\Grammar\Concatenation([59]), |
136 | 136 | new \Phplrt\Parser\Grammar\Optional(54), |
137 | 137 | new \Phplrt\Parser\Grammar\Alternation([55, 56]), |
138 | | - new \Phplrt\Parser\Grammar\Concatenation([177]), |
| 138 | + new \Phplrt\Parser\Grammar\Concatenation([175]), |
139 | 139 | new \Phplrt\Parser\Grammar\Concatenation([67, 71, 72]), |
140 | | - new \Phplrt\Parser\Grammar\Concatenation([109, 59]), |
| 140 | + new \Phplrt\Parser\Grammar\Concatenation([107, 59]), |
141 | 141 | new \Phplrt\Parser\Grammar\Lexeme('T_PARENTHESIS_OPEN', false), |
142 | 142 | new \Phplrt\Parser\Grammar\Optional(60), |
143 | 143 | new \Phplrt\Parser\Grammar\Lexeme('T_PARENTHESIS_CLOSE', false), |
|
151 | 151 | new \Phplrt\Parser\Grammar\Optional(70), |
152 | 152 | new \Phplrt\Parser\Grammar\Optional(54), |
153 | 153 | new \Phplrt\Parser\Grammar\Concatenation([78, 79]), |
154 | | - new \Phplrt\Parser\Grammar\Concatenation([95, 94]), |
| 154 | + new \Phplrt\Parser\Grammar\Concatenation([93, 92]), |
155 | 155 | new \Phplrt\Parser\Grammar\Alternation([83, 86, 88, 90, 80]), |
156 | 156 | new \Phplrt\Parser\Grammar\Lexeme('T_ASSIGN', true), |
157 | 157 | new \Phplrt\Parser\Grammar\Alternation([75, 76]), |
158 | 158 | new \Phplrt\Parser\Grammar\Optional(77), |
159 | | - new \Phplrt\Parser\Grammar\Concatenation([28, 92]), |
| 159 | + new \Phplrt\Parser\Grammar\Concatenation([28]), |
160 | 160 | new \Phplrt\Parser\Grammar\Lexeme('T_AMP', true), |
161 | 161 | new \Phplrt\Parser\Grammar\Lexeme('T_ELLIPSIS', true), |
162 | 162 | new \Phplrt\Parser\Grammar\Concatenation([81, 82, 80]), |
|
168 | 168 | new \Phplrt\Parser\Grammar\Lexeme('T_AMP', true), |
169 | 169 | new \Phplrt\Parser\Grammar\Concatenation([89, 80]), |
170 | 170 | new \Phplrt\Parser\Grammar\Lexeme('T_ELLIPSIS', true), |
| 171 | + new \Phplrt\Parser\Grammar\Concatenation([94, 95]), |
171 | 172 | new \Phplrt\Parser\Grammar\Optional(91), |
172 | | - new \Phplrt\Parser\Grammar\Lexeme('T_ELLIPSIS', true), |
173 | | - new \Phplrt\Parser\Grammar\Concatenation([96, 97]), |
174 | | - new \Phplrt\Parser\Grammar\Optional(93), |
175 | | - new \Phplrt\Parser\Grammar\Concatenation([98, 108]), |
| 173 | + new \Phplrt\Parser\Grammar\Concatenation([96, 106]), |
176 | 174 | new \Phplrt\Parser\Grammar\Optional(28), |
177 | 175 | new \Phplrt\Parser\Grammar\Concatenation([59]), |
178 | 176 | new \Phplrt\Parser\Grammar\Lexeme('T_ELLIPSIS', true), |
179 | 177 | new \Phplrt\Parser\Grammar\Lexeme('T_AMP', true), |
180 | | - new \Phplrt\Parser\Grammar\Optional(99), |
181 | | - new \Phplrt\Parser\Grammar\Concatenation([100, 101]), |
| 178 | + new \Phplrt\Parser\Grammar\Optional(97), |
| 179 | + new \Phplrt\Parser\Grammar\Concatenation([98, 99]), |
182 | 180 | new \Phplrt\Parser\Grammar\Lexeme('T_AMP', true), |
183 | 181 | new \Phplrt\Parser\Grammar\Lexeme('T_ELLIPSIS', true), |
184 | | - new \Phplrt\Parser\Grammar\Optional(103), |
185 | | - new \Phplrt\Parser\Grammar\Concatenation([104, 105]), |
186 | | - new \Phplrt\Parser\Grammar\Alternation([102, 106]), |
187 | | - new \Phplrt\Parser\Grammar\Optional(107), |
| 182 | + new \Phplrt\Parser\Grammar\Optional(101), |
| 183 | + new \Phplrt\Parser\Grammar\Concatenation([102, 103]), |
| 184 | + new \Phplrt\Parser\Grammar\Alternation([100, 104]), |
| 185 | + new \Phplrt\Parser\Grammar\Optional(105), |
188 | 186 | new \Phplrt\Parser\Grammar\Lexeme('T_COLON', false), |
189 | | - new \Phplrt\Parser\Grammar\Concatenation([125, 128]), |
190 | | - new \Phplrt\Parser\Grammar\Concatenation([123, 124]), |
| 187 | + new \Phplrt\Parser\Grammar\Concatenation([123, 126]), |
| 188 | + new \Phplrt\Parser\Grammar\Concatenation([121, 122]), |
191 | 189 | new \Phplrt\Parser\Grammar\Lexeme('T_COMMA', false), |
192 | | - new \Phplrt\Parser\Grammar\Concatenation([112, 111]), |
193 | | - new \Phplrt\Parser\Grammar\Optional(113), |
194 | | - new \Phplrt\Parser\Grammar\Concatenation([110, 114]), |
| 190 | + new \Phplrt\Parser\Grammar\Concatenation([110, 109]), |
195 | 191 | new \Phplrt\Parser\Grammar\Optional(111), |
| 192 | + new \Phplrt\Parser\Grammar\Concatenation([108, 112]), |
| 193 | + new \Phplrt\Parser\Grammar\Optional(109), |
196 | 194 | new \Phplrt\Parser\Grammar\Lexeme('T_COMMA', false), |
197 | 195 | new \Phplrt\Parser\Grammar\Lexeme('T_BRACE_OPEN', false), |
198 | | - new \Phplrt\Parser\Grammar\Alternation([115, 116]), |
199 | | - new \Phplrt\Parser\Grammar\Optional(117), |
| 196 | + new \Phplrt\Parser\Grammar\Alternation([113, 114]), |
| 197 | + new \Phplrt\Parser\Grammar\Optional(115), |
200 | 198 | new \Phplrt\Parser\Grammar\Lexeme('T_BRACE_CLOSE', false), |
201 | | - new \Phplrt\Parser\Grammar\Concatenation([118, 119, 120, 121]), |
| 199 | + new \Phplrt\Parser\Grammar\Concatenation([116, 117, 118, 119]), |
202 | 200 | new \Phplrt\Parser\Grammar\Lexeme('T_ELLIPSIS', true), |
203 | 201 | new \Phplrt\Parser\Grammar\Optional(53), |
204 | | - new \Phplrt\Parser\Grammar\Concatenation([131, 132]), |
| 202 | + new \Phplrt\Parser\Grammar\Concatenation([129, 130]), |
205 | 203 | new \Phplrt\Parser\Grammar\Lexeme('T_COMMA', false), |
206 | | - new \Phplrt\Parser\Grammar\Concatenation([126, 125]), |
207 | | - new \Phplrt\Parser\Grammar\Repetition(127, 0, INF), |
208 | | - new \Phplrt\Parser\Grammar\Concatenation([133, 136, 137, 135]), |
209 | | - new \Phplrt\Parser\Grammar\Concatenation([135]), |
| 204 | + new \Phplrt\Parser\Grammar\Concatenation([124, 123]), |
| 205 | + new \Phplrt\Parser\Grammar\Repetition(125, 0, INF), |
| 206 | + new \Phplrt\Parser\Grammar\Concatenation([131, 134, 135, 133]), |
| 207 | + new \Phplrt\Parser\Grammar\Concatenation([133]), |
210 | 208 | new \Phplrt\Parser\Grammar\Optional(54), |
211 | | - new \Phplrt\Parser\Grammar\Alternation([129, 130]), |
| 209 | + new \Phplrt\Parser\Grammar\Alternation([127, 128]), |
212 | 210 | new \Phplrt\Parser\Grammar\Alternation([3, 23, 21]), |
213 | 211 | new \Phplrt\Parser\Grammar\Lexeme('T_QMARK', true), |
214 | 212 | new \Phplrt\Parser\Grammar\Concatenation([59]), |
215 | | - new \Phplrt\Parser\Grammar\Optional(134), |
| 213 | + new \Phplrt\Parser\Grammar\Optional(132), |
216 | 214 | new \Phplrt\Parser\Grammar\Lexeme('T_COLON', false), |
217 | | - new \Phplrt\Parser\Grammar\Alternation([53, 122]), |
218 | | - new \Phplrt\Parser\Grammar\Optional(138), |
219 | | - new \Phplrt\Parser\Grammar\Concatenation([2, 139]), |
220 | | - new \Phplrt\Parser\Grammar\Concatenation([178]), |
221 | | - new \Phplrt\Parser\Grammar\Optional(144), |
222 | | - new \Phplrt\Parser\Grammar\Concatenation([141, 142]), |
223 | | - new \Phplrt\Parser\Grammar\Concatenation([147, 148, 149, 59, 150, 59]), |
224 | | - new \Phplrt\Parser\Grammar\Concatenation([28, 144]), |
225 | | - new \Phplrt\Parser\Grammar\Alternation([143, 145]), |
226 | | - new \Phplrt\Parser\Grammar\Alternation([151, 152, 153, 154, 155, 156]), |
| 215 | + new \Phplrt\Parser\Grammar\Alternation([53, 120]), |
| 216 | + new \Phplrt\Parser\Grammar\Optional(136), |
| 217 | + new \Phplrt\Parser\Grammar\Concatenation([2, 137]), |
| 218 | + new \Phplrt\Parser\Grammar\Concatenation([176]), |
| 219 | + new \Phplrt\Parser\Grammar\Optional(142), |
| 220 | + new \Phplrt\Parser\Grammar\Concatenation([139, 140]), |
| 221 | + new \Phplrt\Parser\Grammar\Concatenation([145, 146, 147, 59, 148, 59]), |
| 222 | + new \Phplrt\Parser\Grammar\Concatenation([28, 142]), |
| 223 | + new \Phplrt\Parser\Grammar\Alternation([141, 143]), |
| 224 | + new \Phplrt\Parser\Grammar\Alternation([149, 150, 151, 152, 153, 154]), |
227 | 225 | new \Phplrt\Parser\Grammar\Alternation([59, 28]), |
228 | 226 | new \Phplrt\Parser\Grammar\Lexeme('T_QMARK', false), |
229 | 227 | new \Phplrt\Parser\Grammar\Lexeme('T_COLON', false), |
|
233 | 231 | new \Phplrt\Parser\Grammar\Lexeme('T_LTE', true), |
234 | 232 | new \Phplrt\Parser\Grammar\Lexeme('T_ANGLE_BRACKET_OPEN', true), |
235 | 233 | new \Phplrt\Parser\Grammar\Lexeme('T_ANGLE_BRACKET_CLOSE', true), |
236 | | - new \Phplrt\Parser\Grammar\Concatenation([160, 158, 161, 162]), |
237 | | - new \Phplrt\Parser\Grammar\Concatenation([163, 166]), |
| 234 | + new \Phplrt\Parser\Grammar\Concatenation([158, 156, 159, 160]), |
| 235 | + new \Phplrt\Parser\Grammar\Concatenation([161, 164]), |
238 | 236 | new \Phplrt\Parser\Grammar\Lexeme('T_COMMA', false), |
239 | 237 | new \Phplrt\Parser\Grammar\Lexeme('T_ATTR_OPEN', false), |
240 | | - new \Phplrt\Parser\Grammar\Optional(159), |
| 238 | + new \Phplrt\Parser\Grammar\Optional(157), |
241 | 239 | new \Phplrt\Parser\Grammar\Lexeme('T_SQUARE_BRACKET_CLOSE', false), |
242 | | - new \Phplrt\Parser\Grammar\Concatenation([2, 168]), |
| 240 | + new \Phplrt\Parser\Grammar\Concatenation([2, 166]), |
243 | 241 | new \Phplrt\Parser\Grammar\Lexeme('T_COMMA', false), |
244 | | - new \Phplrt\Parser\Grammar\Concatenation([164, 163]), |
245 | | - new \Phplrt\Parser\Grammar\Repetition(165, 0, INF), |
246 | | - new \Phplrt\Parser\Grammar\Concatenation([173, 169, 174, 175, 176]), |
247 | | - new \Phplrt\Parser\Grammar\Optional(167), |
| 242 | + new \Phplrt\Parser\Grammar\Concatenation([162, 161]), |
| 243 | + new \Phplrt\Parser\Grammar\Repetition(163, 0, INF), |
| 244 | + new \Phplrt\Parser\Grammar\Concatenation([171, 167, 172, 173, 174]), |
| 245 | + new \Phplrt\Parser\Grammar\Optional(165), |
248 | 246 | new \Phplrt\Parser\Grammar\Concatenation([59]), |
249 | 247 | new \Phplrt\Parser\Grammar\Lexeme('T_COMMA', false), |
250 | | - new \Phplrt\Parser\Grammar\Concatenation([170, 169]), |
| 248 | + new \Phplrt\Parser\Grammar\Concatenation([168, 167]), |
251 | 249 | new \Phplrt\Parser\Grammar\Lexeme('T_COMMA', false), |
252 | 250 | new \Phplrt\Parser\Grammar\Lexeme('T_PARENTHESIS_OPEN', false), |
253 | | - new \Phplrt\Parser\Grammar\Repetition(171, 0, INF), |
254 | | - new \Phplrt\Parser\Grammar\Optional(172), |
| 251 | + new \Phplrt\Parser\Grammar\Repetition(169, 0, INF), |
| 252 | + new \Phplrt\Parser\Grammar\Optional(170), |
255 | 253 | new \Phplrt\Parser\Grammar\Lexeme('T_PARENTHESIS_CLOSE', false), |
256 | | - new \Phplrt\Parser\Grammar\Concatenation([146]), |
257 | | - new \Phplrt\Parser\Grammar\Concatenation([179, 182]), |
258 | | - new \Phplrt\Parser\Grammar\Concatenation([183, 186]), |
| 254 | + new \Phplrt\Parser\Grammar\Concatenation([144]), |
| 255 | + new \Phplrt\Parser\Grammar\Concatenation([177, 180]), |
| 256 | + new \Phplrt\Parser\Grammar\Concatenation([181, 184]), |
259 | 257 | new \Phplrt\Parser\Grammar\Lexeme('T_OR', false), |
260 | | - new \Phplrt\Parser\Grammar\Concatenation([180, 178]), |
261 | | - new \Phplrt\Parser\Grammar\Optional(181), |
262 | | - new \Phplrt\Parser\Grammar\Concatenation([187]), |
| 258 | + new \Phplrt\Parser\Grammar\Concatenation([178, 176]), |
| 259 | + new \Phplrt\Parser\Grammar\Optional(179), |
| 260 | + new \Phplrt\Parser\Grammar\Concatenation([185]), |
263 | 261 | new \Phplrt\Parser\Grammar\Lexeme('T_AMP', false), |
264 | | - new \Phplrt\Parser\Grammar\Concatenation([184, 179]), |
265 | | - new \Phplrt\Parser\Grammar\Optional(185), |
266 | | - new \Phplrt\Parser\Grammar\Alternation([190, 188]), |
267 | | - new \Phplrt\Parser\Grammar\Concatenation([191, 193]), |
| 262 | + new \Phplrt\Parser\Grammar\Concatenation([182, 177]), |
| 263 | + new \Phplrt\Parser\Grammar\Optional(183), |
| 264 | + new \Phplrt\Parser\Grammar\Alternation([188, 186]), |
| 265 | + new \Phplrt\Parser\Grammar\Concatenation([189, 191]), |
268 | 266 | new \Phplrt\Parser\Grammar\Lexeme('T_QMARK', true), |
269 | | - new \Phplrt\Parser\Grammar\Concatenation([189, 188]), |
270 | | - new \Phplrt\Parser\Grammar\Alternation([199, 29, 20, 66, 140]), |
271 | | - new \Phplrt\Parser\Grammar\Concatenation([194, 195, 196]), |
272 | | - new \Phplrt\Parser\Grammar\Repetition(192, 0, INF), |
| 267 | + new \Phplrt\Parser\Grammar\Concatenation([187, 186]), |
| 268 | + new \Phplrt\Parser\Grammar\Alternation([197, 29, 20, 66, 138]), |
| 269 | + new \Phplrt\Parser\Grammar\Concatenation([192, 193, 194]), |
| 270 | + new \Phplrt\Parser\Grammar\Repetition(190, 0, INF), |
273 | 271 | new \Phplrt\Parser\Grammar\Lexeme('T_SQUARE_BRACKET_OPEN', true), |
274 | 272 | new \Phplrt\Parser\Grammar\Optional(59), |
275 | 273 | new \Phplrt\Parser\Grammar\Lexeme('T_SQUARE_BRACKET_CLOSE', false), |
276 | 274 | new \Phplrt\Parser\Grammar\Lexeme('T_PARENTHESIS_OPEN', false), |
277 | 275 | new \Phplrt\Parser\Grammar\Lexeme('T_PARENTHESIS_CLOSE', false), |
278 | | - new \Phplrt\Parser\Grammar\Concatenation([197, 59, 198]), |
| 276 | + new \Phplrt\Parser\Grammar\Concatenation([195, 59, 196]), |
279 | 277 | ], |
280 | 278 | 'reducers' => [ |
281 | 279 | 0 => static function (\Phplrt\Parser\Context $ctx, $children) { |
|
514 | 512 | return $result; |
515 | 513 | }, |
516 | 514 | 80 => static function (\Phplrt\Parser\Context $ctx, $children) { |
517 | | - $result = new Node\Stmt\Callable\CallableParameterNode(null, $children[0]); |
518 | | - |
519 | | - if (\count($children) !== 1) { |
520 | | - $result->variadic = true; |
521 | | - } |
522 | | - |
523 | | - return $result; |
| 515 | + return new Node\Stmt\Callable\CallableParameterNode(null, $children[0]); |
524 | 516 | }, |
525 | | - 94 => static function (\Phplrt\Parser\Context $ctx, $children) { |
| 517 | + 92 => static function (\Phplrt\Parser\Context $ctx, $children) { |
526 | 518 | if (\count($children) === 1) { |
527 | 519 | return $children[0]; |
528 | 520 | } |
529 | 521 |
|
530 | 522 | $children[0]->name = $children[1]; |
531 | 523 | return $children[0]; |
532 | 524 | }, |
533 | | - 96 => static function (\Phplrt\Parser\Context $ctx, $children) { |
| 525 | + 94 => static function (\Phplrt\Parser\Context $ctx, $children) { |
534 | 526 | // The "$offset" variable is an auto-generated |
535 | 527 | $offset = $ctx->lastProcessedToken->getOffset(); |
536 | 528 |
|
|
554 | 546 |
|
555 | 547 | return $result; |
556 | 548 | }, |
557 | | - 98 => static function (\Phplrt\Parser\Context $ctx, $children) { |
| 549 | + 96 => static function (\Phplrt\Parser\Context $ctx, $children) { |
558 | 550 | return new Node\Stmt\Callable\CallableParameterNode($children[0]); |
559 | 551 | }, |
560 | | - 110 => static function (\Phplrt\Parser\Context $ctx, $children) { |
| 552 | + 108 => static function (\Phplrt\Parser\Context $ctx, $children) { |
561 | 553 | // The "$offset" variable is an auto-generated |
562 | 554 | $offset = $ctx->lastProcessedToken->getOffset(); |
563 | 555 |
|
|
584 | 576 |
|
585 | 577 | return new Node\Stmt\Shape\FieldsListNode($children); |
586 | 578 | }, |
587 | | - 122 => function (\Phplrt\Parser\Context $ctx, $children) { |
| 579 | + 120 => function (\Phplrt\Parser\Context $ctx, $children) { |
588 | 580 | // The "$offset" variable is an auto-generated |
589 | 581 | $offset = $ctx->lastProcessedToken->getOffset(); |
590 | 582 |
|
|
612 | 604 |
|
613 | 605 | return \array_filter([$parameters, $fields]); |
614 | 606 | }, |
615 | | - 125 => function (\Phplrt\Parser\Context $ctx, $children) { |
| 607 | + 123 => function (\Phplrt\Parser\Context $ctx, $children) { |
616 | 608 | // The "$offset" variable is an auto-generated |
617 | 609 | $offset = $ctx->lastProcessedToken->getOffset(); |
618 | 610 |
|
|
628 | 620 |
|
629 | 621 | return $result; |
630 | 622 | }, |
631 | | - 129 => static function (\Phplrt\Parser\Context $ctx, $children) { |
| 623 | + 127 => static function (\Phplrt\Parser\Context $ctx, $children) { |
632 | 624 | $name = $children[0]; |
633 | 625 | $value = \array_pop($children); |
634 | 626 |
|
|
643 | 635 | default => new Node\Stmt\Shape\NamedFieldNode($name, $value, $optional), |
644 | 636 | }; |
645 | 637 | }, |
646 | | - 130 => static function (\Phplrt\Parser\Context $ctx, $children) { |
| 638 | + 128 => static function (\Phplrt\Parser\Context $ctx, $children) { |
647 | 639 | return new Node\Stmt\Shape\ImplicitFieldNode($children[0]); |
648 | 640 | }, |
649 | | - 140 => static function (\Phplrt\Parser\Context $ctx, $children) { |
| 641 | + 138 => static function (\Phplrt\Parser\Context $ctx, $children) { |
650 | 642 | $fields = $parameters = null; |
651 | 643 |
|
652 | 644 | // Shape fields |
|
665 | 657 | $fields, |
666 | 658 | ); |
667 | 659 | }, |
668 | | - 146 => function (\Phplrt\Parser\Context $ctx, $children) { |
| 660 | + 144 => function (\Phplrt\Parser\Context $ctx, $children) { |
669 | 661 | // The "$offset" variable is an auto-generated |
670 | 662 | $offset = $ctx->lastProcessedToken->getOffset(); |
671 | 663 |
|
|
716 | 708 | $children[4], |
717 | 709 | ); |
718 | 710 | }, |
719 | | - 157 => static function (\Phplrt\Parser\Context $ctx, $children) { |
| 711 | + 155 => static function (\Phplrt\Parser\Context $ctx, $children) { |
720 | 712 | return new Node\Stmt\Attribute\AttributeGroupNode($children); |
721 | 713 | }, |
722 | | - 163 => static function (\Phplrt\Parser\Context $ctx, $children) { |
| 714 | + 161 => static function (\Phplrt\Parser\Context $ctx, $children) { |
723 | 715 | return new Node\Stmt\Attribute\AttributeNode( |
724 | 716 | $children[0], |
725 | 717 | ); |
726 | 718 | }, |
727 | | - 167 => static function (\Phplrt\Parser\Context $ctx, $children) { |
| 719 | + 165 => static function (\Phplrt\Parser\Context $ctx, $children) { |
728 | 720 | return new Node\Stmt\Attribute\AttributeArgumentsListNode($children); |
729 | 721 | }, |
730 | | - 169 => static function (\Phplrt\Parser\Context $ctx, $children) { |
| 722 | + 167 => static function (\Phplrt\Parser\Context $ctx, $children) { |
731 | 723 | return new Node\Stmt\Attribute\AttributeArgumentNode($children[0]); |
732 | 724 | }, |
733 | | - 178 => function (\Phplrt\Parser\Context $ctx, $children) { |
| 725 | + 176 => function (\Phplrt\Parser\Context $ctx, $children) { |
734 | 726 | // The "$offset" variable is an auto-generated |
735 | 727 | $offset = $ctx->lastProcessedToken->getOffset(); |
736 | 728 |
|
|
744 | 736 |
|
745 | 737 | return $children; |
746 | 738 | }, |
747 | | - 179 => function (\Phplrt\Parser\Context $ctx, $children) { |
| 739 | + 177 => function (\Phplrt\Parser\Context $ctx, $children) { |
748 | 740 | // The "$offset" variable is an auto-generated |
749 | 741 | $offset = $ctx->lastProcessedToken->getOffset(); |
750 | 742 |
|
|
758 | 750 |
|
759 | 751 | return $children; |
760 | 752 | }, |
761 | | - 187 => static function (\Phplrt\Parser\Context $ctx, $children) { |
| 753 | + 185 => static function (\Phplrt\Parser\Context $ctx, $children) { |
762 | 754 | if (\is_array($children)) { |
763 | 755 | return new Node\Stmt\NullableTypeNode($children[1]); |
764 | 756 | } |
765 | 757 |
|
766 | 758 | return $children; |
767 | 759 | }, |
768 | | - 188 => function (\Phplrt\Parser\Context $ctx, $children) { |
| 760 | + 186 => function (\Phplrt\Parser\Context $ctx, $children) { |
769 | 761 | // The "$offset" variable is an auto-generated |
770 | 762 | $offset = $ctx->lastProcessedToken->getOffset(); |
771 | 763 |
|
|
799 | 791 |
|
800 | 792 | return $statement; |
801 | 793 | }, |
802 | | - 192 => static function (\Phplrt\Parser\Context $ctx, $children) { |
| 794 | + 190 => static function (\Phplrt\Parser\Context $ctx, $children) { |
803 | 795 | return $children[1] ?? true; |
804 | 796 | }, |
805 | 797 | ], |
|
0 commit comments