prism 0.30.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +31 -1
  3. data/README.md +3 -1
  4. data/config.yml +185 -126
  5. data/docs/serialization.md +3 -0
  6. data/ext/prism/api_node.c +2843 -2085
  7. data/ext/prism/extconf.rb +1 -1
  8. data/ext/prism/extension.c +35 -25
  9. data/ext/prism/extension.h +2 -2
  10. data/include/prism/ast.h +1048 -69
  11. data/include/prism/defines.h +9 -0
  12. data/include/prism/diagnostic.h +11 -3
  13. data/include/prism/options.h +55 -1
  14. data/include/prism/parser.h +27 -3
  15. data/include/prism/regexp.h +2 -1
  16. data/include/prism/util/pm_integer.h +6 -6
  17. data/include/prism/util/pm_newline_list.h +11 -0
  18. data/include/prism/util/pm_string.h +1 -0
  19. data/include/prism/version.h +3 -3
  20. data/lib/prism/desugar_compiler.rb +111 -74
  21. data/lib/prism/dispatcher.rb +2 -1
  22. data/lib/prism/dot_visitor.rb +21 -31
  23. data/lib/prism/dsl.rb +656 -471
  24. data/lib/prism/ffi.rb +3 -0
  25. data/lib/prism/inspect_visitor.rb +285 -57
  26. data/lib/prism/mutation_compiler.rb +5 -5
  27. data/lib/prism/node.rb +2282 -4754
  28. data/lib/prism/node_ext.rb +72 -11
  29. data/lib/prism/parse_result/errors.rb +65 -0
  30. data/lib/prism/parse_result/newlines.rb +28 -28
  31. data/lib/prism/parse_result.rb +25 -2
  32. data/lib/prism/reflection.rb +7 -7
  33. data/lib/prism/serialize.rb +468 -610
  34. data/lib/prism/translation/parser/compiler.rb +18 -18
  35. data/lib/prism/translation/parser/lexer.rb +1 -1
  36. data/lib/prism/translation/parser.rb +3 -3
  37. data/lib/prism/translation/ripper.rb +14 -14
  38. data/lib/prism/translation/ruby_parser.rb +43 -7
  39. data/prism.gemspec +3 -1
  40. data/rbi/prism/dsl.rbi +521 -0
  41. data/rbi/prism/node.rbi +1456 -5616
  42. data/rbi/prism.rbi +16 -16
  43. data/sig/prism/dsl.rbs +189 -305
  44. data/sig/prism/node.rbs +702 -603
  45. data/sig/prism/parse_result.rbs +2 -0
  46. data/src/diagnostic.c +22 -6
  47. data/src/node.c +277 -284
  48. data/src/options.c +18 -0
  49. data/src/prettyprint.c +99 -108
  50. data/src/prism.c +1282 -760
  51. data/src/regexp.c +72 -4
  52. data/src/serialize.c +165 -50
  53. data/src/token_type.c +2 -2
  54. data/src/util/pm_integer.c +14 -14
  55. data/src/util/pm_newline_list.c +29 -0
  56. data/src/util/pm_string.c +9 -5
  57. metadata +4 -2
@@ -14,11 +14,11 @@ module Prism
14
14
  module Serialize
15
15
  # The major version of prism that we are expecting to find in the serialized
16
16
  # strings.
17
- MAJOR_VERSION = 0
17
+ MAJOR_VERSION = 1
18
18
 
19
19
  # The minor version of prism that we are expecting to find in the serialized
20
20
  # strings.
21
- MINOR_VERSION = 30
21
+ MINOR_VERSION = 0
22
22
 
23
23
  # The patch version of prism that we are expecting to find in the serialized
24
24
  # strings.
@@ -207,8 +207,10 @@ module Prism
207
207
  :escape_invalid_meta_repeat,
208
208
  :escape_invalid_unicode,
209
209
  :escape_invalid_unicode_cm_flags,
210
+ :escape_invalid_unicode_list,
210
211
  :escape_invalid_unicode_literal,
211
212
  :escape_invalid_unicode_long,
213
+ :escape_invalid_unicode_short,
212
214
  :escape_invalid_unicode_term,
213
215
  :expect_argument,
214
216
  :expect_eol_after_statement,
@@ -334,6 +336,7 @@ module Prism
334
336
  :parameter_unexpected_fwd,
335
337
  :parameter_unexpected_no_kw,
336
338
  :parameter_wild_loose_comma,
339
+ :pattern_array_multiple_rests,
337
340
  :pattern_capture_duplicate,
338
341
  :pattern_expression_after_bracket,
339
342
  :pattern_expression_after_comma,
@@ -345,6 +348,7 @@ module Prism
345
348
  :pattern_expression_after_pipe,
346
349
  :pattern_expression_after_range,
347
350
  :pattern_expression_after_rest,
351
+ :pattern_find_missing_inner,
348
352
  :pattern_hash_implicit,
349
353
  :pattern_hash_key,
350
354
  :pattern_hash_key_duplicate,
@@ -387,11 +391,14 @@ module Prism
387
391
  :ternary_colon,
388
392
  :ternary_expression_false,
389
393
  :ternary_expression_true,
394
+ :unary_disallowed,
390
395
  :unary_receiver,
391
396
  :undef_argument,
392
397
  :unexpected_block_argument,
393
398
  :unexpected_index_block,
394
399
  :unexpected_index_keywords,
400
+ :unexpected_multi_write,
401
+ :unexpected_range_operator,
395
402
  :unexpected_safe_navigation,
396
403
  :unexpected_token_close_context,
397
404
  :unexpected_token_ignore,
@@ -418,10 +425,11 @@ module Prism
418
425
  :duplicated_when_clause,
419
426
  :float_out_of_range,
420
427
  :ignored_frozen_string_literal,
428
+ :indentation_mismatch,
421
429
  :integer_in_flip_flop,
422
430
  :invalid_character,
431
+ :invalid_magic_comment_value,
423
432
  :invalid_numbered_reference,
424
- :invalid_shareable_constant_value,
425
433
  :keyword_eol,
426
434
  :literal_in_condition_default,
427
435
  :literal_in_condition_verbose,
@@ -439,8 +447,8 @@ module Prism
439
447
  comments = load_comments
440
448
  magic_comments = Array.new(load_varuint) { MagicComment.new(load_location_object, load_location_object) }
441
449
  data_loc = load_optional_location_object
442
- errors = Array.new(load_varuint) { ParseError.new(DIAGNOSTIC_TYPES[load_varuint], load_embedded_string, load_location_object, load_error_level) }
443
- warnings = Array.new(load_varuint) { ParseWarning.new(DIAGNOSTIC_TYPES[load_varuint], load_embedded_string, load_location_object, load_warning_level) }
450
+ errors = Array.new(load_varuint) { ParseError.new(DIAGNOSTIC_TYPES.fetch(load_varuint), load_embedded_string, load_location_object, load_error_level) }
451
+ warnings = Array.new(load_varuint) { ParseWarning.new(DIAGNOSTIC_TYPES.fetch(load_varuint), load_embedded_string, load_location_object, load_warning_level) }
444
452
  [comments, magic_comments, data_loc, errors, warnings]
445
453
  end
446
454
 
@@ -627,466 +635,316 @@ module Prism
627
635
  end
628
636
  end
629
637
 
630
- if RUBY_ENGINE == 'ruby'
638
+ if RUBY_ENGINE == "ruby"
631
639
  def load_node
632
640
  type = io.getbyte
641
+ node_id = load_varuint
633
642
  location = load_location
634
643
 
635
644
  case type
636
645
  when 1 then
637
- AliasGlobalVariableNode.new(
638
- source, load_node, load_node, load_location, location)
646
+ AliasGlobalVariableNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
639
647
  when 2 then
640
- AliasMethodNode.new(
641
- source, load_node, load_node, load_location, location)
648
+ AliasMethodNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
642
649
  when 3 then
643
- AlternationPatternNode.new(
644
- source, load_node, load_node, load_location, location)
650
+ AlternationPatternNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
645
651
  when 4 then
646
- AndNode.new(
647
- source, load_node, load_node, load_location, location)
652
+ AndNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
648
653
  when 5 then
649
- ArgumentsNode.new(
650
- source, load_varuint, Array.new(load_varuint) { load_node }, location)
654
+ ArgumentsNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node })
651
655
  when 6 then
652
- ArrayNode.new(
653
- source, load_varuint, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location, location)
656
+ ArrayNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location)
654
657
  when 7 then
655
- ArrayPatternNode.new(
656
- source, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location, location)
658
+ ArrayPatternNode.new(source, node_id, location, load_varuint, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location)
657
659
  when 8 then
658
- AssocNode.new(
659
- source, load_node, load_node, load_optional_location, location)
660
+ AssocNode.new(source, node_id, location, load_varuint, load_node, load_node, load_optional_location)
660
661
  when 9 then
661
- AssocSplatNode.new(
662
- source, load_optional_node, load_location, location)
662
+ AssocSplatNode.new(source, node_id, location, load_varuint, load_optional_node, load_location)
663
663
  when 10 then
664
- BackReferenceReadNode.new(
665
- source, load_required_constant, location)
664
+ BackReferenceReadNode.new(source, node_id, location, load_varuint, load_required_constant)
666
665
  when 11 then
667
- BeginNode.new(
668
- source, load_optional_location, load_optional_node, load_optional_node, load_optional_node, load_optional_node, load_optional_location, location)
666
+ BeginNode.new(source, node_id, location, load_varuint, load_optional_location, load_optional_node, load_optional_node, load_optional_node, load_optional_node, load_optional_location)
669
667
  when 12 then
670
- BlockArgumentNode.new(
671
- source, load_optional_node, load_location, location)
668
+ BlockArgumentNode.new(source, node_id, location, load_varuint, load_optional_node, load_location)
672
669
  when 13 then
673
- BlockLocalVariableNode.new(
674
- source, load_varuint, load_required_constant, location)
670
+ BlockLocalVariableNode.new(source, node_id, location, load_varuint, load_required_constant)
675
671
  when 14 then
676
- BlockNode.new(
677
- source, Array.new(load_varuint) { load_required_constant }, load_optional_node, load_optional_node, load_location, load_location, location)
672
+ BlockNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_required_constant }, load_optional_node, load_optional_node, load_location, load_location)
678
673
  when 15 then
679
- BlockParameterNode.new(
680
- source, load_varuint, load_optional_constant, load_optional_location, load_location, location)
674
+ BlockParameterNode.new(source, node_id, location, load_varuint, load_optional_constant, load_optional_location, load_location)
681
675
  when 16 then
682
- BlockParametersNode.new(
683
- source, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location, location)
676
+ BlockParametersNode.new(source, node_id, location, load_varuint, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location)
684
677
  when 17 then
685
- BreakNode.new(
686
- source, load_optional_node, load_location, location)
678
+ BreakNode.new(source, node_id, location, load_varuint, load_optional_node, load_location)
687
679
  when 18 then
688
- CallAndWriteNode.new(
689
- source, load_varuint, load_optional_node, load_optional_location, load_optional_location, load_required_constant, load_required_constant, load_location, load_node, location)
680
+ CallAndWriteNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_location, load_optional_location, load_required_constant, load_required_constant, load_location, load_node)
690
681
  when 19 then
691
- CallNode.new(
692
- source, load_varuint, load_optional_node, load_optional_location, load_required_constant, load_optional_location, load_optional_location, load_optional_node, load_optional_location, load_optional_node, location)
682
+ CallNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_location, load_required_constant, load_optional_location, load_optional_location, load_optional_node, load_optional_location, load_optional_node)
693
683
  when 20 then
694
- CallOperatorWriteNode.new(
695
- source, load_varuint, load_optional_node, load_optional_location, load_optional_location, load_required_constant, load_required_constant, load_required_constant, load_location, load_node, location)
684
+ CallOperatorWriteNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_location, load_optional_location, load_required_constant, load_required_constant, load_required_constant, load_location, load_node)
696
685
  when 21 then
697
- CallOrWriteNode.new(
698
- source, load_varuint, load_optional_node, load_optional_location, load_optional_location, load_required_constant, load_required_constant, load_location, load_node, location)
686
+ CallOrWriteNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_location, load_optional_location, load_required_constant, load_required_constant, load_location, load_node)
699
687
  when 22 then
700
- CallTargetNode.new(
701
- source, load_varuint, load_node, load_location, load_required_constant, load_location, location)
688
+ CallTargetNode.new(source, node_id, location, load_varuint, load_node, load_location, load_required_constant, load_location)
702
689
  when 23 then
703
- CapturePatternNode.new(
704
- source, load_node, load_node, load_location, location)
690
+ CapturePatternNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
705
691
  when 24 then
706
- CaseMatchNode.new(
707
- source, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, load_location, load_location, location)
692
+ CaseMatchNode.new(source, node_id, location, load_varuint, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, load_location, load_location)
708
693
  when 25 then
709
- CaseNode.new(
710
- source, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, load_location, load_location, location)
694
+ CaseNode.new(source, node_id, location, load_varuint, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, load_location, load_location)
711
695
  when 26 then
712
- ClassNode.new(
713
- source, Array.new(load_varuint) { load_required_constant }, load_location, load_node, load_optional_location, load_optional_node, load_optional_node, load_location, load_required_constant, location)
696
+ ClassNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_required_constant }, load_location, load_node, load_optional_location, load_optional_node, load_optional_node, load_location, load_required_constant)
714
697
  when 27 then
715
- ClassVariableAndWriteNode.new(
716
- source, load_required_constant, load_location, load_location, load_node, location)
698
+ ClassVariableAndWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
717
699
  when 28 then
718
- ClassVariableOperatorWriteNode.new(
719
- source, load_required_constant, load_location, load_location, load_node, load_required_constant, location)
700
+ ClassVariableOperatorWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node, load_required_constant)
720
701
  when 29 then
721
- ClassVariableOrWriteNode.new(
722
- source, load_required_constant, load_location, load_location, load_node, location)
702
+ ClassVariableOrWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
723
703
  when 30 then
724
- ClassVariableReadNode.new(
725
- source, load_required_constant, location)
704
+ ClassVariableReadNode.new(source, node_id, location, load_varuint, load_required_constant)
726
705
  when 31 then
727
- ClassVariableTargetNode.new(
728
- source, load_required_constant, location)
706
+ ClassVariableTargetNode.new(source, node_id, location, load_varuint, load_required_constant)
729
707
  when 32 then
730
- ClassVariableWriteNode.new(
731
- source, load_required_constant, load_location, load_node, load_location, location)
708
+ ClassVariableWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_node, load_location)
732
709
  when 33 then
733
- ConstantAndWriteNode.new(
734
- source, load_required_constant, load_location, load_location, load_node, location)
710
+ ConstantAndWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
735
711
  when 34 then
736
- ConstantOperatorWriteNode.new(
737
- source, load_required_constant, load_location, load_location, load_node, load_required_constant, location)
712
+ ConstantOperatorWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node, load_required_constant)
738
713
  when 35 then
739
- ConstantOrWriteNode.new(
740
- source, load_required_constant, load_location, load_location, load_node, location)
714
+ ConstantOrWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
741
715
  when 36 then
742
- ConstantPathAndWriteNode.new(
743
- source, load_node, load_location, load_node, location)
716
+ ConstantPathAndWriteNode.new(source, node_id, location, load_varuint, load_node, load_location, load_node)
744
717
  when 37 then
745
- ConstantPathNode.new(
746
- source, load_optional_node, load_optional_constant, load_location, load_location, location)
718
+ ConstantPathNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_constant, load_location, load_location)
747
719
  when 38 then
748
- ConstantPathOperatorWriteNode.new(
749
- source, load_node, load_location, load_node, load_required_constant, location)
720
+ ConstantPathOperatorWriteNode.new(source, node_id, location, load_varuint, load_node, load_location, load_node, load_required_constant)
750
721
  when 39 then
751
- ConstantPathOrWriteNode.new(
752
- source, load_node, load_location, load_node, location)
722
+ ConstantPathOrWriteNode.new(source, node_id, location, load_varuint, load_node, load_location, load_node)
753
723
  when 40 then
754
- ConstantPathTargetNode.new(
755
- source, load_optional_node, load_optional_constant, load_location, load_location, location)
724
+ ConstantPathTargetNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_constant, load_location, load_location)
756
725
  when 41 then
757
- ConstantPathWriteNode.new(
758
- source, load_node, load_location, load_node, location)
726
+ ConstantPathWriteNode.new(source, node_id, location, load_varuint, load_node, load_location, load_node)
759
727
  when 42 then
760
- ConstantReadNode.new(
761
- source, load_required_constant, location)
728
+ ConstantReadNode.new(source, node_id, location, load_varuint, load_required_constant)
762
729
  when 43 then
763
- ConstantTargetNode.new(
764
- source, load_required_constant, location)
730
+ ConstantTargetNode.new(source, node_id, location, load_varuint, load_required_constant)
765
731
  when 44 then
766
- ConstantWriteNode.new(
767
- source, load_required_constant, load_location, load_node, load_location, location)
732
+ ConstantWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_node, load_location)
768
733
  when 45 then
769
734
  load_uint32
770
- DefNode.new(
771
- source, load_required_constant, load_location, load_optional_node, load_optional_node, load_optional_node, Array.new(load_varuint) { load_required_constant }, load_location, load_optional_location, load_optional_location, load_optional_location, load_optional_location, load_optional_location, location)
735
+ DefNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_optional_node, load_optional_node, load_optional_node, Array.new(load_varuint) { load_required_constant }, load_location, load_optional_location, load_optional_location, load_optional_location, load_optional_location, load_optional_location)
772
736
  when 46 then
773
- DefinedNode.new(
774
- source, load_optional_location, load_node, load_optional_location, load_location, location)
737
+ DefinedNode.new(source, node_id, location, load_varuint, load_optional_location, load_node, load_optional_location, load_location)
775
738
  when 47 then
776
- ElseNode.new(
777
- source, load_location, load_optional_node, load_optional_location, location)
739
+ ElseNode.new(source, node_id, location, load_varuint, load_location, load_optional_node, load_optional_location)
778
740
  when 48 then
779
- EmbeddedStatementsNode.new(
780
- source, load_location, load_optional_node, load_location, location)
741
+ EmbeddedStatementsNode.new(source, node_id, location, load_varuint, load_location, load_optional_node, load_location)
781
742
  when 49 then
782
- EmbeddedVariableNode.new(
783
- source, load_location, load_node, location)
743
+ EmbeddedVariableNode.new(source, node_id, location, load_varuint, load_location, load_node)
784
744
  when 50 then
785
- EnsureNode.new(
786
- source, load_location, load_optional_node, load_location, location)
745
+ EnsureNode.new(source, node_id, location, load_varuint, load_location, load_optional_node, load_location)
787
746
  when 51 then
788
- FalseNode.new(
789
- source, location)
747
+ FalseNode.new(source, node_id, location, load_varuint)
790
748
  when 52 then
791
- FindPatternNode.new(
792
- source, load_optional_node, load_node, Array.new(load_varuint) { load_node }, load_node, load_optional_location, load_optional_location, location)
749
+ FindPatternNode.new(source, node_id, location, load_varuint, load_optional_node, load_node, Array.new(load_varuint) { load_node }, load_node, load_optional_location, load_optional_location)
793
750
  when 53 then
794
- FlipFlopNode.new(
795
- source, load_varuint, load_optional_node, load_optional_node, load_location, location)
751
+ FlipFlopNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_node, load_location)
796
752
  when 54 then
797
- FloatNode.new(
798
- source, load_double, location)
753
+ FloatNode.new(source, node_id, location, load_varuint, load_double)
799
754
  when 55 then
800
- ForNode.new(
801
- source, load_node, load_node, load_optional_node, load_location, load_location, load_optional_location, load_location, location)
755
+ ForNode.new(source, node_id, location, load_varuint, load_node, load_node, load_optional_node, load_location, load_location, load_optional_location, load_location)
802
756
  when 56 then
803
- ForwardingArgumentsNode.new(
804
- source, location)
757
+ ForwardingArgumentsNode.new(source, node_id, location, load_varuint)
805
758
  when 57 then
806
- ForwardingParameterNode.new(
807
- source, location)
759
+ ForwardingParameterNode.new(source, node_id, location, load_varuint)
808
760
  when 58 then
809
- ForwardingSuperNode.new(
810
- source, load_optional_node, location)
761
+ ForwardingSuperNode.new(source, node_id, location, load_varuint, load_optional_node)
811
762
  when 59 then
812
- GlobalVariableAndWriteNode.new(
813
- source, load_required_constant, load_location, load_location, load_node, location)
763
+ GlobalVariableAndWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
814
764
  when 60 then
815
- GlobalVariableOperatorWriteNode.new(
816
- source, load_required_constant, load_location, load_location, load_node, load_required_constant, location)
765
+ GlobalVariableOperatorWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node, load_required_constant)
817
766
  when 61 then
818
- GlobalVariableOrWriteNode.new(
819
- source, load_required_constant, load_location, load_location, load_node, location)
767
+ GlobalVariableOrWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
820
768
  when 62 then
821
- GlobalVariableReadNode.new(
822
- source, load_required_constant, location)
769
+ GlobalVariableReadNode.new(source, node_id, location, load_varuint, load_required_constant)
823
770
  when 63 then
824
- GlobalVariableTargetNode.new(
825
- source, load_required_constant, location)
771
+ GlobalVariableTargetNode.new(source, node_id, location, load_varuint, load_required_constant)
826
772
  when 64 then
827
- GlobalVariableWriteNode.new(
828
- source, load_required_constant, load_location, load_node, load_location, location)
773
+ GlobalVariableWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_node, load_location)
829
774
  when 65 then
830
- HashNode.new(
831
- source, load_location, Array.new(load_varuint) { load_node }, load_location, location)
775
+ HashNode.new(source, node_id, location, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_location)
832
776
  when 66 then
833
- HashPatternNode.new(
834
- source, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, load_optional_location, load_optional_location, location)
777
+ HashPatternNode.new(source, node_id, location, load_varuint, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, load_optional_location, load_optional_location)
835
778
  when 67 then
836
- IfNode.new(
837
- source, load_optional_location, load_node, load_optional_location, load_optional_node, load_optional_node, load_optional_location, location)
779
+ IfNode.new(source, node_id, location, load_varuint, load_optional_location, load_node, load_optional_location, load_optional_node, load_optional_node, load_optional_location)
838
780
  when 68 then
839
- ImaginaryNode.new(
840
- source, load_node, location)
781
+ ImaginaryNode.new(source, node_id, location, load_varuint, load_node)
841
782
  when 69 then
842
- ImplicitNode.new(
843
- source, load_node, location)
783
+ ImplicitNode.new(source, node_id, location, load_varuint, load_node)
844
784
  when 70 then
845
- ImplicitRestNode.new(
846
- source, location)
785
+ ImplicitRestNode.new(source, node_id, location, load_varuint)
847
786
  when 71 then
848
- InNode.new(
849
- source, load_node, load_optional_node, load_location, load_optional_location, location)
787
+ InNode.new(source, node_id, location, load_varuint, load_node, load_optional_node, load_location, load_optional_location)
850
788
  when 72 then
851
- IndexAndWriteNode.new(
852
- source, load_varuint, load_optional_node, load_optional_location, load_location, load_optional_node, load_location, load_optional_node, load_location, load_node, location)
789
+ IndexAndWriteNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_location, load_location, load_optional_node, load_location, load_optional_node, load_location, load_node)
853
790
  when 73 then
854
- IndexOperatorWriteNode.new(
855
- source, load_varuint, load_optional_node, load_optional_location, load_location, load_optional_node, load_location, load_optional_node, load_required_constant, load_location, load_node, location)
791
+ IndexOperatorWriteNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_location, load_location, load_optional_node, load_location, load_optional_node, load_required_constant, load_location, load_node)
856
792
  when 74 then
857
- IndexOrWriteNode.new(
858
- source, load_varuint, load_optional_node, load_optional_location, load_location, load_optional_node, load_location, load_optional_node, load_location, load_node, location)
793
+ IndexOrWriteNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_location, load_location, load_optional_node, load_location, load_optional_node, load_location, load_node)
859
794
  when 75 then
860
- IndexTargetNode.new(
861
- source, load_varuint, load_node, load_location, load_optional_node, load_location, load_optional_node, location)
795
+ IndexTargetNode.new(source, node_id, location, load_varuint, load_node, load_location, load_optional_node, load_location, load_optional_node)
862
796
  when 76 then
863
- InstanceVariableAndWriteNode.new(
864
- source, load_required_constant, load_location, load_location, load_node, location)
797
+ InstanceVariableAndWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
865
798
  when 77 then
866
- InstanceVariableOperatorWriteNode.new(
867
- source, load_required_constant, load_location, load_location, load_node, load_required_constant, location)
799
+ InstanceVariableOperatorWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node, load_required_constant)
868
800
  when 78 then
869
- InstanceVariableOrWriteNode.new(
870
- source, load_required_constant, load_location, load_location, load_node, location)
801
+ InstanceVariableOrWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
871
802
  when 79 then
872
- InstanceVariableReadNode.new(
873
- source, load_required_constant, location)
803
+ InstanceVariableReadNode.new(source, node_id, location, load_varuint, load_required_constant)
874
804
  when 80 then
875
- InstanceVariableTargetNode.new(
876
- source, load_required_constant, location)
805
+ InstanceVariableTargetNode.new(source, node_id, location, load_varuint, load_required_constant)
877
806
  when 81 then
878
- InstanceVariableWriteNode.new(
879
- source, load_required_constant, load_location, load_node, load_location, location)
807
+ InstanceVariableWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_node, load_location)
880
808
  when 82 then
881
- IntegerNode.new(
882
- source, load_varuint, load_integer, location)
809
+ IntegerNode.new(source, node_id, location, load_varuint, load_integer)
883
810
  when 83 then
884
- InterpolatedMatchLastLineNode.new(
885
- source, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_location, location)
811
+ InterpolatedMatchLastLineNode.new(source, node_id, location, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_location)
886
812
  when 84 then
887
- InterpolatedRegularExpressionNode.new(
888
- source, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_location, location)
813
+ InterpolatedRegularExpressionNode.new(source, node_id, location, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_location)
889
814
  when 85 then
890
- InterpolatedStringNode.new(
891
- source, load_varuint, load_optional_location, Array.new(load_varuint) { load_node }, load_optional_location, location)
815
+ InterpolatedStringNode.new(source, node_id, location, load_varuint, load_optional_location, Array.new(load_varuint) { load_node }, load_optional_location)
892
816
  when 86 then
893
- InterpolatedSymbolNode.new(
894
- source, load_optional_location, Array.new(load_varuint) { load_node }, load_optional_location, location)
817
+ InterpolatedSymbolNode.new(source, node_id, location, load_varuint, load_optional_location, Array.new(load_varuint) { load_node }, load_optional_location)
895
818
  when 87 then
896
- InterpolatedXStringNode.new(
897
- source, load_location, Array.new(load_varuint) { load_node }, load_location, location)
819
+ InterpolatedXStringNode.new(source, node_id, location, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_location)
898
820
  when 88 then
899
- ItLocalVariableReadNode.new(
900
- source, location)
821
+ ItLocalVariableReadNode.new(source, node_id, location, load_varuint)
901
822
  when 89 then
902
- ItParametersNode.new(
903
- source, location)
823
+ ItParametersNode.new(source, node_id, location, load_varuint)
904
824
  when 90 then
905
- KeywordHashNode.new(
906
- source, load_varuint, Array.new(load_varuint) { load_node }, location)
825
+ KeywordHashNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node })
907
826
  when 91 then
908
- KeywordRestParameterNode.new(
909
- source, load_varuint, load_optional_constant, load_optional_location, load_location, location)
827
+ KeywordRestParameterNode.new(source, node_id, location, load_varuint, load_optional_constant, load_optional_location, load_location)
910
828
  when 92 then
911
- LambdaNode.new(
912
- source, Array.new(load_varuint) { load_required_constant }, load_location, load_location, load_location, load_optional_node, load_optional_node, location)
829
+ LambdaNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_required_constant }, load_location, load_location, load_location, load_optional_node, load_optional_node)
913
830
  when 93 then
914
- LocalVariableAndWriteNode.new(
915
- source, load_location, load_location, load_node, load_required_constant, load_varuint, location)
831
+ LocalVariableAndWriteNode.new(source, node_id, location, load_varuint, load_location, load_location, load_node, load_required_constant, load_varuint)
916
832
  when 94 then
917
- LocalVariableOperatorWriteNode.new(
918
- source, load_location, load_location, load_node, load_required_constant, load_required_constant, load_varuint, location)
833
+ LocalVariableOperatorWriteNode.new(source, node_id, location, load_varuint, load_location, load_location, load_node, load_required_constant, load_required_constant, load_varuint)
919
834
  when 95 then
920
- LocalVariableOrWriteNode.new(
921
- source, load_location, load_location, load_node, load_required_constant, load_varuint, location)
835
+ LocalVariableOrWriteNode.new(source, node_id, location, load_varuint, load_location, load_location, load_node, load_required_constant, load_varuint)
922
836
  when 96 then
923
- LocalVariableReadNode.new(
924
- source, load_required_constant, load_varuint, location)
837
+ LocalVariableReadNode.new(source, node_id, location, load_varuint, load_required_constant, load_varuint)
925
838
  when 97 then
926
- LocalVariableTargetNode.new(
927
- source, load_required_constant, load_varuint, location)
839
+ LocalVariableTargetNode.new(source, node_id, location, load_varuint, load_required_constant, load_varuint)
928
840
  when 98 then
929
- LocalVariableWriteNode.new(
930
- source, load_required_constant, load_varuint, load_location, load_node, load_location, location)
841
+ LocalVariableWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_varuint, load_location, load_node, load_location)
931
842
  when 99 then
932
- MatchLastLineNode.new(
933
- source, load_varuint, load_location, load_location, load_location, load_string, location)
843
+ MatchLastLineNode.new(source, node_id, location, load_varuint, load_location, load_location, load_location, load_string)
934
844
  when 100 then
935
- MatchPredicateNode.new(
936
- source, load_node, load_node, load_location, location)
845
+ MatchPredicateNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
937
846
  when 101 then
938
- MatchRequiredNode.new(
939
- source, load_node, load_node, load_location, location)
847
+ MatchRequiredNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
940
848
  when 102 then
941
- MatchWriteNode.new(
942
- source, load_node, Array.new(load_varuint) { load_node }, location)
849
+ MatchWriteNode.new(source, node_id, location, load_varuint, load_node, Array.new(load_varuint) { load_node })
943
850
  when 103 then
944
- MissingNode.new(
945
- source, location)
851
+ MissingNode.new(source, node_id, location, load_varuint)
946
852
  when 104 then
947
- ModuleNode.new(
948
- source, Array.new(load_varuint) { load_required_constant }, load_location, load_node, load_optional_node, load_location, load_required_constant, location)
853
+ ModuleNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_required_constant }, load_location, load_node, load_optional_node, load_location, load_required_constant)
949
854
  when 105 then
950
- MultiTargetNode.new(
951
- source, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location, location)
855
+ MultiTargetNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location)
952
856
  when 106 then
953
- MultiWriteNode.new(
954
- source, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location, load_location, load_node, location)
857
+ MultiWriteNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location, load_location, load_node)
955
858
  when 107 then
956
- NextNode.new(
957
- source, load_optional_node, load_location, location)
859
+ NextNode.new(source, node_id, location, load_varuint, load_optional_node, load_location)
958
860
  when 108 then
959
- NilNode.new(
960
- source, location)
861
+ NilNode.new(source, node_id, location, load_varuint)
961
862
  when 109 then
962
- NoKeywordsParameterNode.new(
963
- source, load_location, load_location, location)
863
+ NoKeywordsParameterNode.new(source, node_id, location, load_varuint, load_location, load_location)
964
864
  when 110 then
965
- NumberedParametersNode.new(
966
- source, io.getbyte, location)
865
+ NumberedParametersNode.new(source, node_id, location, load_varuint, io.getbyte)
967
866
  when 111 then
968
- NumberedReferenceReadNode.new(
969
- source, load_varuint, location)
867
+ NumberedReferenceReadNode.new(source, node_id, location, load_varuint, load_varuint)
970
868
  when 112 then
971
- OptionalKeywordParameterNode.new(
972
- source, load_varuint, load_required_constant, load_location, load_node, location)
869
+ OptionalKeywordParameterNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_node)
973
870
  when 113 then
974
- OptionalParameterNode.new(
975
- source, load_varuint, load_required_constant, load_location, load_location, load_node, location)
871
+ OptionalParameterNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
976
872
  when 114 then
977
- OrNode.new(
978
- source, load_node, load_node, load_location, location)
873
+ OrNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
979
874
  when 115 then
980
- ParametersNode.new(
981
- source, Array.new(load_varuint) { load_node }, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, Array.new(load_varuint) { load_node }, load_optional_node, load_optional_node, location)
875
+ ParametersNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node }, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, Array.new(load_varuint) { load_node }, load_optional_node, load_optional_node)
982
876
  when 116 then
983
- ParenthesesNode.new(
984
- source, load_optional_node, load_location, load_location, location)
877
+ ParenthesesNode.new(source, node_id, location, load_varuint, load_optional_node, load_location, load_location)
985
878
  when 117 then
986
- PinnedExpressionNode.new(
987
- source, load_node, load_location, load_location, load_location, location)
879
+ PinnedExpressionNode.new(source, node_id, location, load_varuint, load_node, load_location, load_location, load_location)
988
880
  when 118 then
989
- PinnedVariableNode.new(
990
- source, load_node, load_location, location)
881
+ PinnedVariableNode.new(source, node_id, location, load_varuint, load_node, load_location)
991
882
  when 119 then
992
- PostExecutionNode.new(
993
- source, load_optional_node, load_location, load_location, load_location, location)
883
+ PostExecutionNode.new(source, node_id, location, load_varuint, load_optional_node, load_location, load_location, load_location)
994
884
  when 120 then
995
- PreExecutionNode.new(
996
- source, load_optional_node, load_location, load_location, load_location, location)
885
+ PreExecutionNode.new(source, node_id, location, load_varuint, load_optional_node, load_location, load_location, load_location)
997
886
  when 121 then
998
- ProgramNode.new(
999
- source, Array.new(load_varuint) { load_required_constant }, load_node, location)
887
+ ProgramNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_required_constant }, load_node)
1000
888
  when 122 then
1001
- RangeNode.new(
1002
- source, load_varuint, load_optional_node, load_optional_node, load_location, location)
889
+ RangeNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_node, load_location)
1003
890
  when 123 then
1004
- RationalNode.new(
1005
- source, load_varuint, load_integer, load_integer, location)
891
+ RationalNode.new(source, node_id, location, load_varuint, load_integer, load_integer)
1006
892
  when 124 then
1007
- RedoNode.new(
1008
- source, location)
893
+ RedoNode.new(source, node_id, location, load_varuint)
1009
894
  when 125 then
1010
- RegularExpressionNode.new(
1011
- source, load_varuint, load_location, load_location, load_location, load_string, location)
895
+ RegularExpressionNode.new(source, node_id, location, load_varuint, load_location, load_location, load_location, load_string)
1012
896
  when 126 then
1013
- RequiredKeywordParameterNode.new(
1014
- source, load_varuint, load_required_constant, load_location, location)
897
+ RequiredKeywordParameterNode.new(source, node_id, location, load_varuint, load_required_constant, load_location)
1015
898
  when 127 then
1016
- RequiredParameterNode.new(
1017
- source, load_varuint, load_required_constant, location)
899
+ RequiredParameterNode.new(source, node_id, location, load_varuint, load_required_constant)
1018
900
  when 128 then
1019
- RescueModifierNode.new(
1020
- source, load_node, load_location, load_node, location)
901
+ RescueModifierNode.new(source, node_id, location, load_varuint, load_node, load_location, load_node)
1021
902
  when 129 then
1022
- RescueNode.new(
1023
- source, load_location, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_node, load_optional_node, load_optional_node, location)
903
+ RescueNode.new(source, node_id, location, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_node, load_optional_node, load_optional_node)
1024
904
  when 130 then
1025
- RestParameterNode.new(
1026
- source, load_varuint, load_optional_constant, load_optional_location, load_location, location)
905
+ RestParameterNode.new(source, node_id, location, load_varuint, load_optional_constant, load_optional_location, load_location)
1027
906
  when 131 then
1028
- RetryNode.new(
1029
- source, location)
907
+ RetryNode.new(source, node_id, location, load_varuint)
1030
908
  when 132 then
1031
- ReturnNode.new(
1032
- source, load_varuint, load_location, load_optional_node, location)
909
+ ReturnNode.new(source, node_id, location, load_varuint, load_location, load_optional_node)
1033
910
  when 133 then
1034
- SelfNode.new(
1035
- source, location)
911
+ SelfNode.new(source, node_id, location, load_varuint)
1036
912
  when 134 then
1037
- ShareableConstantNode.new(
1038
- source, load_varuint, load_node, location)
913
+ ShareableConstantNode.new(source, node_id, location, load_varuint, load_node)
1039
914
  when 135 then
1040
- SingletonClassNode.new(
1041
- source, Array.new(load_varuint) { load_required_constant }, load_location, load_location, load_node, load_optional_node, load_location, location)
915
+ SingletonClassNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_required_constant }, load_location, load_location, load_node, load_optional_node, load_location)
1042
916
  when 136 then
1043
- SourceEncodingNode.new(
1044
- source, location)
917
+ SourceEncodingNode.new(source, node_id, location, load_varuint)
1045
918
  when 137 then
1046
- SourceFileNode.new(
1047
- source, load_varuint, load_string, location)
919
+ SourceFileNode.new(source, node_id, location, load_varuint, load_string)
1048
920
  when 138 then
1049
- SourceLineNode.new(
1050
- source, location)
921
+ SourceLineNode.new(source, node_id, location, load_varuint)
1051
922
  when 139 then
1052
- SplatNode.new(
1053
- source, load_location, load_optional_node, location)
923
+ SplatNode.new(source, node_id, location, load_varuint, load_location, load_optional_node)
1054
924
  when 140 then
1055
- StatementsNode.new(
1056
- source, Array.new(load_varuint) { load_node }, location)
925
+ StatementsNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node })
1057
926
  when 141 then
1058
- StringNode.new(
1059
- source, load_varuint, load_optional_location, load_location, load_optional_location, load_string, location)
927
+ StringNode.new(source, node_id, location, load_varuint, load_optional_location, load_location, load_optional_location, load_string)
1060
928
  when 142 then
1061
- SuperNode.new(
1062
- source, load_location, load_optional_location, load_optional_node, load_optional_location, load_optional_node, location)
929
+ SuperNode.new(source, node_id, location, load_varuint, load_location, load_optional_location, load_optional_node, load_optional_location, load_optional_node)
1063
930
  when 143 then
1064
- SymbolNode.new(
1065
- source, load_varuint, load_optional_location, load_optional_location, load_optional_location, load_string, location)
931
+ SymbolNode.new(source, node_id, location, load_varuint, load_optional_location, load_optional_location, load_optional_location, load_string)
1066
932
  when 144 then
1067
- TrueNode.new(
1068
- source, location)
933
+ TrueNode.new(source, node_id, location, load_varuint)
1069
934
  when 145 then
1070
- UndefNode.new(
1071
- source, Array.new(load_varuint) { load_node }, load_location, location)
935
+ UndefNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node }, load_location)
1072
936
  when 146 then
1073
- UnlessNode.new(
1074
- source, load_location, load_node, load_optional_location, load_optional_node, load_optional_node, load_optional_location, location)
937
+ UnlessNode.new(source, node_id, location, load_varuint, load_location, load_node, load_optional_location, load_optional_node, load_optional_node, load_optional_location)
1075
938
  when 147 then
1076
- UntilNode.new(
1077
- source, load_varuint, load_location, load_optional_location, load_node, load_optional_node, location)
939
+ UntilNode.new(source, node_id, location, load_varuint, load_location, load_optional_location, load_node, load_optional_node)
1078
940
  when 148 then
1079
- WhenNode.new(
1080
- source, load_location, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_node, location)
941
+ WhenNode.new(source, node_id, location, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_node)
1081
942
  when 149 then
1082
- WhileNode.new(
1083
- source, load_varuint, load_location, load_optional_location, load_node, load_optional_node, location)
943
+ WhileNode.new(source, node_id, location, load_varuint, load_location, load_optional_location, load_node, load_optional_node)
1084
944
  when 150 then
1085
- XStringNode.new(
1086
- source, load_varuint, load_location, load_location, load_location, load_string, location)
945
+ XStringNode.new(source, node_id, location, load_varuint, load_location, load_location, load_location, load_string)
1087
946
  when 151 then
1088
- YieldNode.new(
1089
- source, load_location, load_optional_location, load_optional_node, load_optional_location, location)
947
+ YieldNode.new(source, node_id, location, load_varuint, load_location, load_optional_location, load_optional_node, load_optional_location)
1090
948
  end
1091
949
  end
1092
950
  else
@@ -1099,760 +957,760 @@ module Prism
1099
957
  @load_node_lambdas = [
1100
958
  nil,
1101
959
  -> {
960
+ node_id = load_varuint
1102
961
  location = load_location
1103
- AliasGlobalVariableNode.new(
1104
- source, load_node, load_node, load_location, location)
962
+ AliasGlobalVariableNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
1105
963
  },
1106
964
  -> {
965
+ node_id = load_varuint
1107
966
  location = load_location
1108
- AliasMethodNode.new(
1109
- source, load_node, load_node, load_location, location)
967
+ AliasMethodNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
1110
968
  },
1111
969
  -> {
970
+ node_id = load_varuint
1112
971
  location = load_location
1113
- AlternationPatternNode.new(
1114
- source, load_node, load_node, load_location, location)
972
+ AlternationPatternNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
1115
973
  },
1116
974
  -> {
975
+ node_id = load_varuint
1117
976
  location = load_location
1118
- AndNode.new(
1119
- source, load_node, load_node, load_location, location)
977
+ AndNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
1120
978
  },
1121
979
  -> {
980
+ node_id = load_varuint
1122
981
  location = load_location
1123
- ArgumentsNode.new(
1124
- source, load_varuint, Array.new(load_varuint) { load_node }, location)
982
+ ArgumentsNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node })
1125
983
  },
1126
984
  -> {
985
+ node_id = load_varuint
1127
986
  location = load_location
1128
- ArrayNode.new(
1129
- source, load_varuint, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location, location)
987
+ ArrayNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location)
1130
988
  },
1131
989
  -> {
990
+ node_id = load_varuint
1132
991
  location = load_location
1133
- ArrayPatternNode.new(
1134
- source, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location, location)
992
+ ArrayPatternNode.new(source, node_id, location, load_varuint, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location)
1135
993
  },
1136
994
  -> {
995
+ node_id = load_varuint
1137
996
  location = load_location
1138
- AssocNode.new(
1139
- source, load_node, load_node, load_optional_location, location)
997
+ AssocNode.new(source, node_id, location, load_varuint, load_node, load_node, load_optional_location)
1140
998
  },
1141
999
  -> {
1000
+ node_id = load_varuint
1142
1001
  location = load_location
1143
- AssocSplatNode.new(
1144
- source, load_optional_node, load_location, location)
1002
+ AssocSplatNode.new(source, node_id, location, load_varuint, load_optional_node, load_location)
1145
1003
  },
1146
1004
  -> {
1005
+ node_id = load_varuint
1147
1006
  location = load_location
1148
- BackReferenceReadNode.new(
1149
- source, load_required_constant, location)
1007
+ BackReferenceReadNode.new(source, node_id, location, load_varuint, load_required_constant)
1150
1008
  },
1151
1009
  -> {
1010
+ node_id = load_varuint
1152
1011
  location = load_location
1153
- BeginNode.new(
1154
- source, load_optional_location, load_optional_node, load_optional_node, load_optional_node, load_optional_node, load_optional_location, location)
1012
+ BeginNode.new(source, node_id, location, load_varuint, load_optional_location, load_optional_node, load_optional_node, load_optional_node, load_optional_node, load_optional_location)
1155
1013
  },
1156
1014
  -> {
1015
+ node_id = load_varuint
1157
1016
  location = load_location
1158
- BlockArgumentNode.new(
1159
- source, load_optional_node, load_location, location)
1017
+ BlockArgumentNode.new(source, node_id, location, load_varuint, load_optional_node, load_location)
1160
1018
  },
1161
1019
  -> {
1020
+ node_id = load_varuint
1162
1021
  location = load_location
1163
- BlockLocalVariableNode.new(
1164
- source, load_varuint, load_required_constant, location)
1022
+ BlockLocalVariableNode.new(source, node_id, location, load_varuint, load_required_constant)
1165
1023
  },
1166
1024
  -> {
1025
+ node_id = load_varuint
1167
1026
  location = load_location
1168
- BlockNode.new(
1169
- source, Array.new(load_varuint) { load_required_constant }, load_optional_node, load_optional_node, load_location, load_location, location)
1027
+ BlockNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_required_constant }, load_optional_node, load_optional_node, load_location, load_location)
1170
1028
  },
1171
1029
  -> {
1030
+ node_id = load_varuint
1172
1031
  location = load_location
1173
- BlockParameterNode.new(
1174
- source, load_varuint, load_optional_constant, load_optional_location, load_location, location)
1032
+ BlockParameterNode.new(source, node_id, location, load_varuint, load_optional_constant, load_optional_location, load_location)
1175
1033
  },
1176
1034
  -> {
1035
+ node_id = load_varuint
1177
1036
  location = load_location
1178
- BlockParametersNode.new(
1179
- source, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location, location)
1037
+ BlockParametersNode.new(source, node_id, location, load_varuint, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location)
1180
1038
  },
1181
1039
  -> {
1040
+ node_id = load_varuint
1182
1041
  location = load_location
1183
- BreakNode.new(
1184
- source, load_optional_node, load_location, location)
1042
+ BreakNode.new(source, node_id, location, load_varuint, load_optional_node, load_location)
1185
1043
  },
1186
1044
  -> {
1045
+ node_id = load_varuint
1187
1046
  location = load_location
1188
- CallAndWriteNode.new(
1189
- source, load_varuint, load_optional_node, load_optional_location, load_optional_location, load_required_constant, load_required_constant, load_location, load_node, location)
1047
+ CallAndWriteNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_location, load_optional_location, load_required_constant, load_required_constant, load_location, load_node)
1190
1048
  },
1191
1049
  -> {
1050
+ node_id = load_varuint
1192
1051
  location = load_location
1193
- CallNode.new(
1194
- source, load_varuint, load_optional_node, load_optional_location, load_required_constant, load_optional_location, load_optional_location, load_optional_node, load_optional_location, load_optional_node, location)
1052
+ CallNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_location, load_required_constant, load_optional_location, load_optional_location, load_optional_node, load_optional_location, load_optional_node)
1195
1053
  },
1196
1054
  -> {
1055
+ node_id = load_varuint
1197
1056
  location = load_location
1198
- CallOperatorWriteNode.new(
1199
- source, load_varuint, load_optional_node, load_optional_location, load_optional_location, load_required_constant, load_required_constant, load_required_constant, load_location, load_node, location)
1057
+ CallOperatorWriteNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_location, load_optional_location, load_required_constant, load_required_constant, load_required_constant, load_location, load_node)
1200
1058
  },
1201
1059
  -> {
1060
+ node_id = load_varuint
1202
1061
  location = load_location
1203
- CallOrWriteNode.new(
1204
- source, load_varuint, load_optional_node, load_optional_location, load_optional_location, load_required_constant, load_required_constant, load_location, load_node, location)
1062
+ CallOrWriteNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_location, load_optional_location, load_required_constant, load_required_constant, load_location, load_node)
1205
1063
  },
1206
1064
  -> {
1065
+ node_id = load_varuint
1207
1066
  location = load_location
1208
- CallTargetNode.new(
1209
- source, load_varuint, load_node, load_location, load_required_constant, load_location, location)
1067
+ CallTargetNode.new(source, node_id, location, load_varuint, load_node, load_location, load_required_constant, load_location)
1210
1068
  },
1211
1069
  -> {
1070
+ node_id = load_varuint
1212
1071
  location = load_location
1213
- CapturePatternNode.new(
1214
- source, load_node, load_node, load_location, location)
1072
+ CapturePatternNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
1215
1073
  },
1216
1074
  -> {
1075
+ node_id = load_varuint
1217
1076
  location = load_location
1218
- CaseMatchNode.new(
1219
- source, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, load_location, load_location, location)
1077
+ CaseMatchNode.new(source, node_id, location, load_varuint, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, load_location, load_location)
1220
1078
  },
1221
1079
  -> {
1080
+ node_id = load_varuint
1222
1081
  location = load_location
1223
- CaseNode.new(
1224
- source, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, load_location, load_location, location)
1082
+ CaseNode.new(source, node_id, location, load_varuint, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, load_location, load_location)
1225
1083
  },
1226
1084
  -> {
1085
+ node_id = load_varuint
1227
1086
  location = load_location
1228
- ClassNode.new(
1229
- source, Array.new(load_varuint) { load_required_constant }, load_location, load_node, load_optional_location, load_optional_node, load_optional_node, load_location, load_required_constant, location)
1087
+ ClassNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_required_constant }, load_location, load_node, load_optional_location, load_optional_node, load_optional_node, load_location, load_required_constant)
1230
1088
  },
1231
1089
  -> {
1090
+ node_id = load_varuint
1232
1091
  location = load_location
1233
- ClassVariableAndWriteNode.new(
1234
- source, load_required_constant, load_location, load_location, load_node, location)
1092
+ ClassVariableAndWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
1235
1093
  },
1236
1094
  -> {
1095
+ node_id = load_varuint
1237
1096
  location = load_location
1238
- ClassVariableOperatorWriteNode.new(
1239
- source, load_required_constant, load_location, load_location, load_node, load_required_constant, location)
1097
+ ClassVariableOperatorWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node, load_required_constant)
1240
1098
  },
1241
1099
  -> {
1100
+ node_id = load_varuint
1242
1101
  location = load_location
1243
- ClassVariableOrWriteNode.new(
1244
- source, load_required_constant, load_location, load_location, load_node, location)
1102
+ ClassVariableOrWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
1245
1103
  },
1246
1104
  -> {
1105
+ node_id = load_varuint
1247
1106
  location = load_location
1248
- ClassVariableReadNode.new(
1249
- source, load_required_constant, location)
1107
+ ClassVariableReadNode.new(source, node_id, location, load_varuint, load_required_constant)
1250
1108
  },
1251
1109
  -> {
1110
+ node_id = load_varuint
1252
1111
  location = load_location
1253
- ClassVariableTargetNode.new(
1254
- source, load_required_constant, location)
1112
+ ClassVariableTargetNode.new(source, node_id, location, load_varuint, load_required_constant)
1255
1113
  },
1256
1114
  -> {
1115
+ node_id = load_varuint
1257
1116
  location = load_location
1258
- ClassVariableWriteNode.new(
1259
- source, load_required_constant, load_location, load_node, load_location, location)
1117
+ ClassVariableWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_node, load_location)
1260
1118
  },
1261
1119
  -> {
1120
+ node_id = load_varuint
1262
1121
  location = load_location
1263
- ConstantAndWriteNode.new(
1264
- source, load_required_constant, load_location, load_location, load_node, location)
1122
+ ConstantAndWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
1265
1123
  },
1266
1124
  -> {
1125
+ node_id = load_varuint
1267
1126
  location = load_location
1268
- ConstantOperatorWriteNode.new(
1269
- source, load_required_constant, load_location, load_location, load_node, load_required_constant, location)
1127
+ ConstantOperatorWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node, load_required_constant)
1270
1128
  },
1271
1129
  -> {
1130
+ node_id = load_varuint
1272
1131
  location = load_location
1273
- ConstantOrWriteNode.new(
1274
- source, load_required_constant, load_location, load_location, load_node, location)
1132
+ ConstantOrWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
1275
1133
  },
1276
1134
  -> {
1135
+ node_id = load_varuint
1277
1136
  location = load_location
1278
- ConstantPathAndWriteNode.new(
1279
- source, load_node, load_location, load_node, location)
1137
+ ConstantPathAndWriteNode.new(source, node_id, location, load_varuint, load_node, load_location, load_node)
1280
1138
  },
1281
1139
  -> {
1140
+ node_id = load_varuint
1282
1141
  location = load_location
1283
- ConstantPathNode.new(
1284
- source, load_optional_node, load_optional_constant, load_location, load_location, location)
1142
+ ConstantPathNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_constant, load_location, load_location)
1285
1143
  },
1286
1144
  -> {
1145
+ node_id = load_varuint
1287
1146
  location = load_location
1288
- ConstantPathOperatorWriteNode.new(
1289
- source, load_node, load_location, load_node, load_required_constant, location)
1147
+ ConstantPathOperatorWriteNode.new(source, node_id, location, load_varuint, load_node, load_location, load_node, load_required_constant)
1290
1148
  },
1291
1149
  -> {
1150
+ node_id = load_varuint
1292
1151
  location = load_location
1293
- ConstantPathOrWriteNode.new(
1294
- source, load_node, load_location, load_node, location)
1152
+ ConstantPathOrWriteNode.new(source, node_id, location, load_varuint, load_node, load_location, load_node)
1295
1153
  },
1296
1154
  -> {
1155
+ node_id = load_varuint
1297
1156
  location = load_location
1298
- ConstantPathTargetNode.new(
1299
- source, load_optional_node, load_optional_constant, load_location, load_location, location)
1157
+ ConstantPathTargetNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_constant, load_location, load_location)
1300
1158
  },
1301
1159
  -> {
1160
+ node_id = load_varuint
1302
1161
  location = load_location
1303
- ConstantPathWriteNode.new(
1304
- source, load_node, load_location, load_node, location)
1162
+ ConstantPathWriteNode.new(source, node_id, location, load_varuint, load_node, load_location, load_node)
1305
1163
  },
1306
1164
  -> {
1165
+ node_id = load_varuint
1307
1166
  location = load_location
1308
- ConstantReadNode.new(
1309
- source, load_required_constant, location)
1167
+ ConstantReadNode.new(source, node_id, location, load_varuint, load_required_constant)
1310
1168
  },
1311
1169
  -> {
1170
+ node_id = load_varuint
1312
1171
  location = load_location
1313
- ConstantTargetNode.new(
1314
- source, load_required_constant, location)
1172
+ ConstantTargetNode.new(source, node_id, location, load_varuint, load_required_constant)
1315
1173
  },
1316
1174
  -> {
1175
+ node_id = load_varuint
1317
1176
  location = load_location
1318
- ConstantWriteNode.new(
1319
- source, load_required_constant, load_location, load_node, load_location, location)
1177
+ ConstantWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_node, load_location)
1320
1178
  },
1321
1179
  -> {
1180
+ node_id = load_varuint
1322
1181
  location = load_location
1323
1182
  load_uint32
1324
- DefNode.new(
1325
- source, load_required_constant, load_location, load_optional_node, load_optional_node, load_optional_node, Array.new(load_varuint) { load_required_constant }, load_location, load_optional_location, load_optional_location, load_optional_location, load_optional_location, load_optional_location, location)
1183
+ DefNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_optional_node, load_optional_node, load_optional_node, Array.new(load_varuint) { load_required_constant }, load_location, load_optional_location, load_optional_location, load_optional_location, load_optional_location, load_optional_location)
1326
1184
  },
1327
1185
  -> {
1186
+ node_id = load_varuint
1328
1187
  location = load_location
1329
- DefinedNode.new(
1330
- source, load_optional_location, load_node, load_optional_location, load_location, location)
1188
+ DefinedNode.new(source, node_id, location, load_varuint, load_optional_location, load_node, load_optional_location, load_location)
1331
1189
  },
1332
1190
  -> {
1191
+ node_id = load_varuint
1333
1192
  location = load_location
1334
- ElseNode.new(
1335
- source, load_location, load_optional_node, load_optional_location, location)
1193
+ ElseNode.new(source, node_id, location, load_varuint, load_location, load_optional_node, load_optional_location)
1336
1194
  },
1337
1195
  -> {
1196
+ node_id = load_varuint
1338
1197
  location = load_location
1339
- EmbeddedStatementsNode.new(
1340
- source, load_location, load_optional_node, load_location, location)
1198
+ EmbeddedStatementsNode.new(source, node_id, location, load_varuint, load_location, load_optional_node, load_location)
1341
1199
  },
1342
1200
  -> {
1201
+ node_id = load_varuint
1343
1202
  location = load_location
1344
- EmbeddedVariableNode.new(
1345
- source, load_location, load_node, location)
1203
+ EmbeddedVariableNode.new(source, node_id, location, load_varuint, load_location, load_node)
1346
1204
  },
1347
1205
  -> {
1206
+ node_id = load_varuint
1348
1207
  location = load_location
1349
- EnsureNode.new(
1350
- source, load_location, load_optional_node, load_location, location)
1208
+ EnsureNode.new(source, node_id, location, load_varuint, load_location, load_optional_node, load_location)
1351
1209
  },
1352
1210
  -> {
1211
+ node_id = load_varuint
1353
1212
  location = load_location
1354
- FalseNode.new(
1355
- source, location)
1213
+ FalseNode.new(source, node_id, location, load_varuint)
1356
1214
  },
1357
1215
  -> {
1216
+ node_id = load_varuint
1358
1217
  location = load_location
1359
- FindPatternNode.new(
1360
- source, load_optional_node, load_node, Array.new(load_varuint) { load_node }, load_node, load_optional_location, load_optional_location, location)
1218
+ FindPatternNode.new(source, node_id, location, load_varuint, load_optional_node, load_node, Array.new(load_varuint) { load_node }, load_node, load_optional_location, load_optional_location)
1361
1219
  },
1362
1220
  -> {
1221
+ node_id = load_varuint
1363
1222
  location = load_location
1364
- FlipFlopNode.new(
1365
- source, load_varuint, load_optional_node, load_optional_node, load_location, location)
1223
+ FlipFlopNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_node, load_location)
1366
1224
  },
1367
1225
  -> {
1226
+ node_id = load_varuint
1368
1227
  location = load_location
1369
- FloatNode.new(
1370
- source, load_double, location)
1228
+ FloatNode.new(source, node_id, location, load_varuint, load_double)
1371
1229
  },
1372
1230
  -> {
1231
+ node_id = load_varuint
1373
1232
  location = load_location
1374
- ForNode.new(
1375
- source, load_node, load_node, load_optional_node, load_location, load_location, load_optional_location, load_location, location)
1233
+ ForNode.new(source, node_id, location, load_varuint, load_node, load_node, load_optional_node, load_location, load_location, load_optional_location, load_location)
1376
1234
  },
1377
1235
  -> {
1236
+ node_id = load_varuint
1378
1237
  location = load_location
1379
- ForwardingArgumentsNode.new(
1380
- source, location)
1238
+ ForwardingArgumentsNode.new(source, node_id, location, load_varuint)
1381
1239
  },
1382
1240
  -> {
1241
+ node_id = load_varuint
1383
1242
  location = load_location
1384
- ForwardingParameterNode.new(
1385
- source, location)
1243
+ ForwardingParameterNode.new(source, node_id, location, load_varuint)
1386
1244
  },
1387
1245
  -> {
1246
+ node_id = load_varuint
1388
1247
  location = load_location
1389
- ForwardingSuperNode.new(
1390
- source, load_optional_node, location)
1248
+ ForwardingSuperNode.new(source, node_id, location, load_varuint, load_optional_node)
1391
1249
  },
1392
1250
  -> {
1251
+ node_id = load_varuint
1393
1252
  location = load_location
1394
- GlobalVariableAndWriteNode.new(
1395
- source, load_required_constant, load_location, load_location, load_node, location)
1253
+ GlobalVariableAndWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
1396
1254
  },
1397
1255
  -> {
1256
+ node_id = load_varuint
1398
1257
  location = load_location
1399
- GlobalVariableOperatorWriteNode.new(
1400
- source, load_required_constant, load_location, load_location, load_node, load_required_constant, location)
1258
+ GlobalVariableOperatorWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node, load_required_constant)
1401
1259
  },
1402
1260
  -> {
1261
+ node_id = load_varuint
1403
1262
  location = load_location
1404
- GlobalVariableOrWriteNode.new(
1405
- source, load_required_constant, load_location, load_location, load_node, location)
1263
+ GlobalVariableOrWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
1406
1264
  },
1407
1265
  -> {
1266
+ node_id = load_varuint
1408
1267
  location = load_location
1409
- GlobalVariableReadNode.new(
1410
- source, load_required_constant, location)
1268
+ GlobalVariableReadNode.new(source, node_id, location, load_varuint, load_required_constant)
1411
1269
  },
1412
1270
  -> {
1271
+ node_id = load_varuint
1413
1272
  location = load_location
1414
- GlobalVariableTargetNode.new(
1415
- source, load_required_constant, location)
1273
+ GlobalVariableTargetNode.new(source, node_id, location, load_varuint, load_required_constant)
1416
1274
  },
1417
1275
  -> {
1276
+ node_id = load_varuint
1418
1277
  location = load_location
1419
- GlobalVariableWriteNode.new(
1420
- source, load_required_constant, load_location, load_node, load_location, location)
1278
+ GlobalVariableWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_node, load_location)
1421
1279
  },
1422
1280
  -> {
1281
+ node_id = load_varuint
1423
1282
  location = load_location
1424
- HashNode.new(
1425
- source, load_location, Array.new(load_varuint) { load_node }, load_location, location)
1283
+ HashNode.new(source, node_id, location, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_location)
1426
1284
  },
1427
1285
  -> {
1286
+ node_id = load_varuint
1428
1287
  location = load_location
1429
- HashPatternNode.new(
1430
- source, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, load_optional_location, load_optional_location, location)
1288
+ HashPatternNode.new(source, node_id, location, load_varuint, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_node, load_optional_location, load_optional_location)
1431
1289
  },
1432
1290
  -> {
1291
+ node_id = load_varuint
1433
1292
  location = load_location
1434
- IfNode.new(
1435
- source, load_optional_location, load_node, load_optional_location, load_optional_node, load_optional_node, load_optional_location, location)
1293
+ IfNode.new(source, node_id, location, load_varuint, load_optional_location, load_node, load_optional_location, load_optional_node, load_optional_node, load_optional_location)
1436
1294
  },
1437
1295
  -> {
1296
+ node_id = load_varuint
1438
1297
  location = load_location
1439
- ImaginaryNode.new(
1440
- source, load_node, location)
1298
+ ImaginaryNode.new(source, node_id, location, load_varuint, load_node)
1441
1299
  },
1442
1300
  -> {
1301
+ node_id = load_varuint
1443
1302
  location = load_location
1444
- ImplicitNode.new(
1445
- source, load_node, location)
1303
+ ImplicitNode.new(source, node_id, location, load_varuint, load_node)
1446
1304
  },
1447
1305
  -> {
1306
+ node_id = load_varuint
1448
1307
  location = load_location
1449
- ImplicitRestNode.new(
1450
- source, location)
1308
+ ImplicitRestNode.new(source, node_id, location, load_varuint)
1451
1309
  },
1452
1310
  -> {
1311
+ node_id = load_varuint
1453
1312
  location = load_location
1454
- InNode.new(
1455
- source, load_node, load_optional_node, load_location, load_optional_location, location)
1313
+ InNode.new(source, node_id, location, load_varuint, load_node, load_optional_node, load_location, load_optional_location)
1456
1314
  },
1457
1315
  -> {
1316
+ node_id = load_varuint
1458
1317
  location = load_location
1459
- IndexAndWriteNode.new(
1460
- source, load_varuint, load_optional_node, load_optional_location, load_location, load_optional_node, load_location, load_optional_node, load_location, load_node, location)
1318
+ IndexAndWriteNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_location, load_location, load_optional_node, load_location, load_optional_node, load_location, load_node)
1461
1319
  },
1462
1320
  -> {
1321
+ node_id = load_varuint
1463
1322
  location = load_location
1464
- IndexOperatorWriteNode.new(
1465
- source, load_varuint, load_optional_node, load_optional_location, load_location, load_optional_node, load_location, load_optional_node, load_required_constant, load_location, load_node, location)
1323
+ IndexOperatorWriteNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_location, load_location, load_optional_node, load_location, load_optional_node, load_required_constant, load_location, load_node)
1466
1324
  },
1467
1325
  -> {
1326
+ node_id = load_varuint
1468
1327
  location = load_location
1469
- IndexOrWriteNode.new(
1470
- source, load_varuint, load_optional_node, load_optional_location, load_location, load_optional_node, load_location, load_optional_node, load_location, load_node, location)
1328
+ IndexOrWriteNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_location, load_location, load_optional_node, load_location, load_optional_node, load_location, load_node)
1471
1329
  },
1472
1330
  -> {
1331
+ node_id = load_varuint
1473
1332
  location = load_location
1474
- IndexTargetNode.new(
1475
- source, load_varuint, load_node, load_location, load_optional_node, load_location, load_optional_node, location)
1333
+ IndexTargetNode.new(source, node_id, location, load_varuint, load_node, load_location, load_optional_node, load_location, load_optional_node)
1476
1334
  },
1477
1335
  -> {
1336
+ node_id = load_varuint
1478
1337
  location = load_location
1479
- InstanceVariableAndWriteNode.new(
1480
- source, load_required_constant, load_location, load_location, load_node, location)
1338
+ InstanceVariableAndWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
1481
1339
  },
1482
1340
  -> {
1341
+ node_id = load_varuint
1483
1342
  location = load_location
1484
- InstanceVariableOperatorWriteNode.new(
1485
- source, load_required_constant, load_location, load_location, load_node, load_required_constant, location)
1343
+ InstanceVariableOperatorWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node, load_required_constant)
1486
1344
  },
1487
1345
  -> {
1346
+ node_id = load_varuint
1488
1347
  location = load_location
1489
- InstanceVariableOrWriteNode.new(
1490
- source, load_required_constant, load_location, load_location, load_node, location)
1348
+ InstanceVariableOrWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
1491
1349
  },
1492
1350
  -> {
1351
+ node_id = load_varuint
1493
1352
  location = load_location
1494
- InstanceVariableReadNode.new(
1495
- source, load_required_constant, location)
1353
+ InstanceVariableReadNode.new(source, node_id, location, load_varuint, load_required_constant)
1496
1354
  },
1497
1355
  -> {
1356
+ node_id = load_varuint
1498
1357
  location = load_location
1499
- InstanceVariableTargetNode.new(
1500
- source, load_required_constant, location)
1358
+ InstanceVariableTargetNode.new(source, node_id, location, load_varuint, load_required_constant)
1501
1359
  },
1502
1360
  -> {
1361
+ node_id = load_varuint
1503
1362
  location = load_location
1504
- InstanceVariableWriteNode.new(
1505
- source, load_required_constant, load_location, load_node, load_location, location)
1363
+ InstanceVariableWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_node, load_location)
1506
1364
  },
1507
1365
  -> {
1366
+ node_id = load_varuint
1508
1367
  location = load_location
1509
- IntegerNode.new(
1510
- source, load_varuint, load_integer, location)
1368
+ IntegerNode.new(source, node_id, location, load_varuint, load_integer)
1511
1369
  },
1512
1370
  -> {
1371
+ node_id = load_varuint
1513
1372
  location = load_location
1514
- InterpolatedMatchLastLineNode.new(
1515
- source, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_location, location)
1373
+ InterpolatedMatchLastLineNode.new(source, node_id, location, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_location)
1516
1374
  },
1517
1375
  -> {
1376
+ node_id = load_varuint
1518
1377
  location = load_location
1519
- InterpolatedRegularExpressionNode.new(
1520
- source, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_location, location)
1378
+ InterpolatedRegularExpressionNode.new(source, node_id, location, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_location)
1521
1379
  },
1522
1380
  -> {
1381
+ node_id = load_varuint
1523
1382
  location = load_location
1524
- InterpolatedStringNode.new(
1525
- source, load_varuint, load_optional_location, Array.new(load_varuint) { load_node }, load_optional_location, location)
1383
+ InterpolatedStringNode.new(source, node_id, location, load_varuint, load_optional_location, Array.new(load_varuint) { load_node }, load_optional_location)
1526
1384
  },
1527
1385
  -> {
1386
+ node_id = load_varuint
1528
1387
  location = load_location
1529
- InterpolatedSymbolNode.new(
1530
- source, load_optional_location, Array.new(load_varuint) { load_node }, load_optional_location, location)
1388
+ InterpolatedSymbolNode.new(source, node_id, location, load_varuint, load_optional_location, Array.new(load_varuint) { load_node }, load_optional_location)
1531
1389
  },
1532
1390
  -> {
1391
+ node_id = load_varuint
1533
1392
  location = load_location
1534
- InterpolatedXStringNode.new(
1535
- source, load_location, Array.new(load_varuint) { load_node }, load_location, location)
1393
+ InterpolatedXStringNode.new(source, node_id, location, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_location)
1536
1394
  },
1537
1395
  -> {
1396
+ node_id = load_varuint
1538
1397
  location = load_location
1539
- ItLocalVariableReadNode.new(
1540
- source, location)
1398
+ ItLocalVariableReadNode.new(source, node_id, location, load_varuint)
1541
1399
  },
1542
1400
  -> {
1401
+ node_id = load_varuint
1543
1402
  location = load_location
1544
- ItParametersNode.new(
1545
- source, location)
1403
+ ItParametersNode.new(source, node_id, location, load_varuint)
1546
1404
  },
1547
1405
  -> {
1406
+ node_id = load_varuint
1548
1407
  location = load_location
1549
- KeywordHashNode.new(
1550
- source, load_varuint, Array.new(load_varuint) { load_node }, location)
1408
+ KeywordHashNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node })
1551
1409
  },
1552
1410
  -> {
1411
+ node_id = load_varuint
1553
1412
  location = load_location
1554
- KeywordRestParameterNode.new(
1555
- source, load_varuint, load_optional_constant, load_optional_location, load_location, location)
1413
+ KeywordRestParameterNode.new(source, node_id, location, load_varuint, load_optional_constant, load_optional_location, load_location)
1556
1414
  },
1557
1415
  -> {
1416
+ node_id = load_varuint
1558
1417
  location = load_location
1559
- LambdaNode.new(
1560
- source, Array.new(load_varuint) { load_required_constant }, load_location, load_location, load_location, load_optional_node, load_optional_node, location)
1418
+ LambdaNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_required_constant }, load_location, load_location, load_location, load_optional_node, load_optional_node)
1561
1419
  },
1562
1420
  -> {
1421
+ node_id = load_varuint
1563
1422
  location = load_location
1564
- LocalVariableAndWriteNode.new(
1565
- source, load_location, load_location, load_node, load_required_constant, load_varuint, location)
1423
+ LocalVariableAndWriteNode.new(source, node_id, location, load_varuint, load_location, load_location, load_node, load_required_constant, load_varuint)
1566
1424
  },
1567
1425
  -> {
1426
+ node_id = load_varuint
1568
1427
  location = load_location
1569
- LocalVariableOperatorWriteNode.new(
1570
- source, load_location, load_location, load_node, load_required_constant, load_required_constant, load_varuint, location)
1428
+ LocalVariableOperatorWriteNode.new(source, node_id, location, load_varuint, load_location, load_location, load_node, load_required_constant, load_required_constant, load_varuint)
1571
1429
  },
1572
1430
  -> {
1431
+ node_id = load_varuint
1573
1432
  location = load_location
1574
- LocalVariableOrWriteNode.new(
1575
- source, load_location, load_location, load_node, load_required_constant, load_varuint, location)
1433
+ LocalVariableOrWriteNode.new(source, node_id, location, load_varuint, load_location, load_location, load_node, load_required_constant, load_varuint)
1576
1434
  },
1577
1435
  -> {
1436
+ node_id = load_varuint
1578
1437
  location = load_location
1579
- LocalVariableReadNode.new(
1580
- source, load_required_constant, load_varuint, location)
1438
+ LocalVariableReadNode.new(source, node_id, location, load_varuint, load_required_constant, load_varuint)
1581
1439
  },
1582
1440
  -> {
1441
+ node_id = load_varuint
1583
1442
  location = load_location
1584
- LocalVariableTargetNode.new(
1585
- source, load_required_constant, load_varuint, location)
1443
+ LocalVariableTargetNode.new(source, node_id, location, load_varuint, load_required_constant, load_varuint)
1586
1444
  },
1587
1445
  -> {
1446
+ node_id = load_varuint
1588
1447
  location = load_location
1589
- LocalVariableWriteNode.new(
1590
- source, load_required_constant, load_varuint, load_location, load_node, load_location, location)
1448
+ LocalVariableWriteNode.new(source, node_id, location, load_varuint, load_required_constant, load_varuint, load_location, load_node, load_location)
1591
1449
  },
1592
1450
  -> {
1451
+ node_id = load_varuint
1593
1452
  location = load_location
1594
- MatchLastLineNode.new(
1595
- source, load_varuint, load_location, load_location, load_location, load_string, location)
1453
+ MatchLastLineNode.new(source, node_id, location, load_varuint, load_location, load_location, load_location, load_string)
1596
1454
  },
1597
1455
  -> {
1456
+ node_id = load_varuint
1598
1457
  location = load_location
1599
- MatchPredicateNode.new(
1600
- source, load_node, load_node, load_location, location)
1458
+ MatchPredicateNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
1601
1459
  },
1602
1460
  -> {
1461
+ node_id = load_varuint
1603
1462
  location = load_location
1604
- MatchRequiredNode.new(
1605
- source, load_node, load_node, load_location, location)
1463
+ MatchRequiredNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
1606
1464
  },
1607
1465
  -> {
1466
+ node_id = load_varuint
1608
1467
  location = load_location
1609
- MatchWriteNode.new(
1610
- source, load_node, Array.new(load_varuint) { load_node }, location)
1468
+ MatchWriteNode.new(source, node_id, location, load_varuint, load_node, Array.new(load_varuint) { load_node })
1611
1469
  },
1612
1470
  -> {
1471
+ node_id = load_varuint
1613
1472
  location = load_location
1614
- MissingNode.new(
1615
- source, location)
1473
+ MissingNode.new(source, node_id, location, load_varuint)
1616
1474
  },
1617
1475
  -> {
1476
+ node_id = load_varuint
1618
1477
  location = load_location
1619
- ModuleNode.new(
1620
- source, Array.new(load_varuint) { load_required_constant }, load_location, load_node, load_optional_node, load_location, load_required_constant, location)
1478
+ ModuleNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_required_constant }, load_location, load_node, load_optional_node, load_location, load_required_constant)
1621
1479
  },
1622
1480
  -> {
1481
+ node_id = load_varuint
1623
1482
  location = load_location
1624
- MultiTargetNode.new(
1625
- source, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location, location)
1483
+ MultiTargetNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location)
1626
1484
  },
1627
1485
  -> {
1486
+ node_id = load_varuint
1628
1487
  location = load_location
1629
- MultiWriteNode.new(
1630
- source, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location, load_location, load_node, location)
1488
+ MultiWriteNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_location, load_location, load_node)
1631
1489
  },
1632
1490
  -> {
1491
+ node_id = load_varuint
1633
1492
  location = load_location
1634
- NextNode.new(
1635
- source, load_optional_node, load_location, location)
1493
+ NextNode.new(source, node_id, location, load_varuint, load_optional_node, load_location)
1636
1494
  },
1637
1495
  -> {
1496
+ node_id = load_varuint
1638
1497
  location = load_location
1639
- NilNode.new(
1640
- source, location)
1498
+ NilNode.new(source, node_id, location, load_varuint)
1641
1499
  },
1642
1500
  -> {
1501
+ node_id = load_varuint
1643
1502
  location = load_location
1644
- NoKeywordsParameterNode.new(
1645
- source, load_location, load_location, location)
1503
+ NoKeywordsParameterNode.new(source, node_id, location, load_varuint, load_location, load_location)
1646
1504
  },
1647
1505
  -> {
1506
+ node_id = load_varuint
1648
1507
  location = load_location
1649
- NumberedParametersNode.new(
1650
- source, io.getbyte, location)
1508
+ NumberedParametersNode.new(source, node_id, location, load_varuint, io.getbyte)
1651
1509
  },
1652
1510
  -> {
1511
+ node_id = load_varuint
1653
1512
  location = load_location
1654
- NumberedReferenceReadNode.new(
1655
- source, load_varuint, location)
1513
+ NumberedReferenceReadNode.new(source, node_id, location, load_varuint, load_varuint)
1656
1514
  },
1657
1515
  -> {
1516
+ node_id = load_varuint
1658
1517
  location = load_location
1659
- OptionalKeywordParameterNode.new(
1660
- source, load_varuint, load_required_constant, load_location, load_node, location)
1518
+ OptionalKeywordParameterNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_node)
1661
1519
  },
1662
1520
  -> {
1521
+ node_id = load_varuint
1663
1522
  location = load_location
1664
- OptionalParameterNode.new(
1665
- source, load_varuint, load_required_constant, load_location, load_location, load_node, location)
1523
+ OptionalParameterNode.new(source, node_id, location, load_varuint, load_required_constant, load_location, load_location, load_node)
1666
1524
  },
1667
1525
  -> {
1526
+ node_id = load_varuint
1668
1527
  location = load_location
1669
- OrNode.new(
1670
- source, load_node, load_node, load_location, location)
1528
+ OrNode.new(source, node_id, location, load_varuint, load_node, load_node, load_location)
1671
1529
  },
1672
1530
  -> {
1531
+ node_id = load_varuint
1673
1532
  location = load_location
1674
- ParametersNode.new(
1675
- source, Array.new(load_varuint) { load_node }, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, Array.new(load_varuint) { load_node }, load_optional_node, load_optional_node, location)
1533
+ ParametersNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node }, Array.new(load_varuint) { load_node }, load_optional_node, Array.new(load_varuint) { load_node }, Array.new(load_varuint) { load_node }, load_optional_node, load_optional_node)
1676
1534
  },
1677
1535
  -> {
1536
+ node_id = load_varuint
1678
1537
  location = load_location
1679
- ParenthesesNode.new(
1680
- source, load_optional_node, load_location, load_location, location)
1538
+ ParenthesesNode.new(source, node_id, location, load_varuint, load_optional_node, load_location, load_location)
1681
1539
  },
1682
1540
  -> {
1541
+ node_id = load_varuint
1683
1542
  location = load_location
1684
- PinnedExpressionNode.new(
1685
- source, load_node, load_location, load_location, load_location, location)
1543
+ PinnedExpressionNode.new(source, node_id, location, load_varuint, load_node, load_location, load_location, load_location)
1686
1544
  },
1687
1545
  -> {
1546
+ node_id = load_varuint
1688
1547
  location = load_location
1689
- PinnedVariableNode.new(
1690
- source, load_node, load_location, location)
1548
+ PinnedVariableNode.new(source, node_id, location, load_varuint, load_node, load_location)
1691
1549
  },
1692
1550
  -> {
1551
+ node_id = load_varuint
1693
1552
  location = load_location
1694
- PostExecutionNode.new(
1695
- source, load_optional_node, load_location, load_location, load_location, location)
1553
+ PostExecutionNode.new(source, node_id, location, load_varuint, load_optional_node, load_location, load_location, load_location)
1696
1554
  },
1697
1555
  -> {
1556
+ node_id = load_varuint
1698
1557
  location = load_location
1699
- PreExecutionNode.new(
1700
- source, load_optional_node, load_location, load_location, load_location, location)
1558
+ PreExecutionNode.new(source, node_id, location, load_varuint, load_optional_node, load_location, load_location, load_location)
1701
1559
  },
1702
1560
  -> {
1561
+ node_id = load_varuint
1703
1562
  location = load_location
1704
- ProgramNode.new(
1705
- source, Array.new(load_varuint) { load_required_constant }, load_node, location)
1563
+ ProgramNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_required_constant }, load_node)
1706
1564
  },
1707
1565
  -> {
1566
+ node_id = load_varuint
1708
1567
  location = load_location
1709
- RangeNode.new(
1710
- source, load_varuint, load_optional_node, load_optional_node, load_location, location)
1568
+ RangeNode.new(source, node_id, location, load_varuint, load_optional_node, load_optional_node, load_location)
1711
1569
  },
1712
1570
  -> {
1571
+ node_id = load_varuint
1713
1572
  location = load_location
1714
- RationalNode.new(
1715
- source, load_varuint, load_integer, load_integer, location)
1573
+ RationalNode.new(source, node_id, location, load_varuint, load_integer, load_integer)
1716
1574
  },
1717
1575
  -> {
1576
+ node_id = load_varuint
1718
1577
  location = load_location
1719
- RedoNode.new(
1720
- source, location)
1578
+ RedoNode.new(source, node_id, location, load_varuint)
1721
1579
  },
1722
1580
  -> {
1581
+ node_id = load_varuint
1723
1582
  location = load_location
1724
- RegularExpressionNode.new(
1725
- source, load_varuint, load_location, load_location, load_location, load_string, location)
1583
+ RegularExpressionNode.new(source, node_id, location, load_varuint, load_location, load_location, load_location, load_string)
1726
1584
  },
1727
1585
  -> {
1586
+ node_id = load_varuint
1728
1587
  location = load_location
1729
- RequiredKeywordParameterNode.new(
1730
- source, load_varuint, load_required_constant, load_location, location)
1588
+ RequiredKeywordParameterNode.new(source, node_id, location, load_varuint, load_required_constant, load_location)
1731
1589
  },
1732
1590
  -> {
1591
+ node_id = load_varuint
1733
1592
  location = load_location
1734
- RequiredParameterNode.new(
1735
- source, load_varuint, load_required_constant, location)
1593
+ RequiredParameterNode.new(source, node_id, location, load_varuint, load_required_constant)
1736
1594
  },
1737
1595
  -> {
1596
+ node_id = load_varuint
1738
1597
  location = load_location
1739
- RescueModifierNode.new(
1740
- source, load_node, load_location, load_node, location)
1598
+ RescueModifierNode.new(source, node_id, location, load_varuint, load_node, load_location, load_node)
1741
1599
  },
1742
1600
  -> {
1601
+ node_id = load_varuint
1743
1602
  location = load_location
1744
- RescueNode.new(
1745
- source, load_location, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_node, load_optional_node, load_optional_node, location)
1603
+ RescueNode.new(source, node_id, location, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_node, load_optional_node, load_optional_node)
1746
1604
  },
1747
1605
  -> {
1606
+ node_id = load_varuint
1748
1607
  location = load_location
1749
- RestParameterNode.new(
1750
- source, load_varuint, load_optional_constant, load_optional_location, load_location, location)
1608
+ RestParameterNode.new(source, node_id, location, load_varuint, load_optional_constant, load_optional_location, load_location)
1751
1609
  },
1752
1610
  -> {
1611
+ node_id = load_varuint
1753
1612
  location = load_location
1754
- RetryNode.new(
1755
- source, location)
1613
+ RetryNode.new(source, node_id, location, load_varuint)
1756
1614
  },
1757
1615
  -> {
1616
+ node_id = load_varuint
1758
1617
  location = load_location
1759
- ReturnNode.new(
1760
- source, load_varuint, load_location, load_optional_node, location)
1618
+ ReturnNode.new(source, node_id, location, load_varuint, load_location, load_optional_node)
1761
1619
  },
1762
1620
  -> {
1621
+ node_id = load_varuint
1763
1622
  location = load_location
1764
- SelfNode.new(
1765
- source, location)
1623
+ SelfNode.new(source, node_id, location, load_varuint)
1766
1624
  },
1767
1625
  -> {
1626
+ node_id = load_varuint
1768
1627
  location = load_location
1769
- ShareableConstantNode.new(
1770
- source, load_varuint, load_node, location)
1628
+ ShareableConstantNode.new(source, node_id, location, load_varuint, load_node)
1771
1629
  },
1772
1630
  -> {
1631
+ node_id = load_varuint
1773
1632
  location = load_location
1774
- SingletonClassNode.new(
1775
- source, Array.new(load_varuint) { load_required_constant }, load_location, load_location, load_node, load_optional_node, load_location, location)
1633
+ SingletonClassNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_required_constant }, load_location, load_location, load_node, load_optional_node, load_location)
1776
1634
  },
1777
1635
  -> {
1636
+ node_id = load_varuint
1778
1637
  location = load_location
1779
- SourceEncodingNode.new(
1780
- source, location)
1638
+ SourceEncodingNode.new(source, node_id, location, load_varuint)
1781
1639
  },
1782
1640
  -> {
1641
+ node_id = load_varuint
1783
1642
  location = load_location
1784
- SourceFileNode.new(
1785
- source, load_varuint, load_string, location)
1643
+ SourceFileNode.new(source, node_id, location, load_varuint, load_string)
1786
1644
  },
1787
1645
  -> {
1646
+ node_id = load_varuint
1788
1647
  location = load_location
1789
- SourceLineNode.new(
1790
- source, location)
1648
+ SourceLineNode.new(source, node_id, location, load_varuint)
1791
1649
  },
1792
1650
  -> {
1651
+ node_id = load_varuint
1793
1652
  location = load_location
1794
- SplatNode.new(
1795
- source, load_location, load_optional_node, location)
1653
+ SplatNode.new(source, node_id, location, load_varuint, load_location, load_optional_node)
1796
1654
  },
1797
1655
  -> {
1656
+ node_id = load_varuint
1798
1657
  location = load_location
1799
- StatementsNode.new(
1800
- source, Array.new(load_varuint) { load_node }, location)
1658
+ StatementsNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node })
1801
1659
  },
1802
1660
  -> {
1661
+ node_id = load_varuint
1803
1662
  location = load_location
1804
- StringNode.new(
1805
- source, load_varuint, load_optional_location, load_location, load_optional_location, load_string, location)
1663
+ StringNode.new(source, node_id, location, load_varuint, load_optional_location, load_location, load_optional_location, load_string)
1806
1664
  },
1807
1665
  -> {
1666
+ node_id = load_varuint
1808
1667
  location = load_location
1809
- SuperNode.new(
1810
- source, load_location, load_optional_location, load_optional_node, load_optional_location, load_optional_node, location)
1668
+ SuperNode.new(source, node_id, location, load_varuint, load_location, load_optional_location, load_optional_node, load_optional_location, load_optional_node)
1811
1669
  },
1812
1670
  -> {
1671
+ node_id = load_varuint
1813
1672
  location = load_location
1814
- SymbolNode.new(
1815
- source, load_varuint, load_optional_location, load_optional_location, load_optional_location, load_string, location)
1673
+ SymbolNode.new(source, node_id, location, load_varuint, load_optional_location, load_optional_location, load_optional_location, load_string)
1816
1674
  },
1817
1675
  -> {
1676
+ node_id = load_varuint
1818
1677
  location = load_location
1819
- TrueNode.new(
1820
- source, location)
1678
+ TrueNode.new(source, node_id, location, load_varuint)
1821
1679
  },
1822
1680
  -> {
1681
+ node_id = load_varuint
1823
1682
  location = load_location
1824
- UndefNode.new(
1825
- source, Array.new(load_varuint) { load_node }, load_location, location)
1683
+ UndefNode.new(source, node_id, location, load_varuint, Array.new(load_varuint) { load_node }, load_location)
1826
1684
  },
1827
1685
  -> {
1686
+ node_id = load_varuint
1828
1687
  location = load_location
1829
- UnlessNode.new(
1830
- source, load_location, load_node, load_optional_location, load_optional_node, load_optional_node, load_optional_location, location)
1688
+ UnlessNode.new(source, node_id, location, load_varuint, load_location, load_node, load_optional_location, load_optional_node, load_optional_node, load_optional_location)
1831
1689
  },
1832
1690
  -> {
1691
+ node_id = load_varuint
1833
1692
  location = load_location
1834
- UntilNode.new(
1835
- source, load_varuint, load_location, load_optional_location, load_node, load_optional_node, location)
1693
+ UntilNode.new(source, node_id, location, load_varuint, load_location, load_optional_location, load_node, load_optional_node)
1836
1694
  },
1837
1695
  -> {
1696
+ node_id = load_varuint
1838
1697
  location = load_location
1839
- WhenNode.new(
1840
- source, load_location, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_node, location)
1698
+ WhenNode.new(source, node_id, location, load_varuint, load_location, Array.new(load_varuint) { load_node }, load_optional_location, load_optional_node)
1841
1699
  },
1842
1700
  -> {
1701
+ node_id = load_varuint
1843
1702
  location = load_location
1844
- WhileNode.new(
1845
- source, load_varuint, load_location, load_optional_location, load_node, load_optional_node, location)
1703
+ WhileNode.new(source, node_id, location, load_varuint, load_location, load_optional_location, load_node, load_optional_node)
1846
1704
  },
1847
1705
  -> {
1706
+ node_id = load_varuint
1848
1707
  location = load_location
1849
- XStringNode.new(
1850
- source, load_varuint, load_location, load_location, load_location, load_string, location)
1708
+ XStringNode.new(source, node_id, location, load_varuint, load_location, load_location, load_location, load_string)
1851
1709
  },
1852
1710
  -> {
1711
+ node_id = load_varuint
1853
1712
  location = load_location
1854
- YieldNode.new(
1855
- source, load_location, load_optional_location, load_optional_node, load_optional_location, location)
1713
+ YieldNode.new(source, node_id, location, load_varuint, load_location, load_optional_location, load_optional_node, load_optional_location)
1856
1714
  },
1857
1715
  ]
1858
1716
  end