@@ -422,6 +422,11 @@ public RubyNode visitBreakNode(Nodes.BreakNode node) {
422
422
return rubyNode ;
423
423
}
424
424
425
+ @ Override
426
+ public RubyNode visitCallAndWriteNode (Nodes .CallAndWriteNode node ) {
427
+ return defaultVisit (node );
428
+ }
429
+
425
430
public RubyNode visitCallNode (Nodes .CallNode node ) {
426
431
var methodName = node .name ;
427
432
var receiver = node .receiver == null ? new SelfNode () : node .receiver .accept (this );
@@ -496,6 +501,11 @@ public RubyNode visitCallOperatorWriteNode(Nodes.CallOperatorWriteNode node) {
496
501
return defaultVisit (node );
497
502
}
498
503
504
+ @ Override
505
+ public RubyNode visitCallOrWriteNode (Nodes .CallOrWriteNode node ) {
506
+ return defaultVisit (node );
507
+ }
508
+
499
509
public RubyNode visitCapturePatternNode (Nodes .CapturePatternNode node ) {
500
510
return defaultVisit (node );
501
511
}
@@ -661,6 +671,21 @@ public RubyNode visitClassNode(Nodes.ClassNode node) {
661
671
return rubyNode ;
662
672
}
663
673
674
+ @ Override
675
+ public RubyNode visitClassVariableAndWriteNode (Nodes .ClassVariableAndWriteNode node ) {
676
+ return defaultVisit (node );
677
+ }
678
+
679
+ @ Override
680
+ public RubyNode visitClassVariableOperatorWriteNode (Nodes .ClassVariableOperatorWriteNode node ) {
681
+ return defaultVisit (node );
682
+ }
683
+
684
+ @ Override
685
+ public RubyNode visitClassVariableOrWriteNode (Nodes .ClassVariableOrWriteNode node ) {
686
+ return defaultVisit (node );
687
+ }
688
+
664
689
public RubyNode visitClassVariableReadNode (Nodes .ClassVariableReadNode node ) {
665
690
final RubyNode rubyNode = new ReadClassVariableNode (
666
691
getLexicalScopeNode ("class variable lookup" , node ),
@@ -691,6 +716,26 @@ public RubyNode visitClassVariableTargetNode(Nodes.ClassVariableTargetNode node)
691
716
return rubyNode ;
692
717
}
693
718
719
+ @ Override
720
+ public RubyNode visitConstantAndWriteNode (Nodes .ConstantAndWriteNode node ) {
721
+ return defaultVisit (node );
722
+ }
723
+
724
+ @ Override
725
+ public RubyNode visitConstantOperatorWriteNode (Nodes .ConstantOperatorWriteNode node ) {
726
+ return defaultVisit (node );
727
+ }
728
+
729
+ @ Override
730
+ public RubyNode visitConstantOrWriteNode (Nodes .ConstantOrWriteNode node ) {
731
+ return defaultVisit (node );
732
+ }
733
+
734
+ @ Override
735
+ public RubyNode visitConstantPathAndWriteNode (Nodes .ConstantPathAndWriteNode node ) {
736
+ return defaultVisit (node );
737
+ }
738
+
694
739
public RubyNode visitConstantPathNode (Nodes .ConstantPathNode node ) {
695
740
// The child field should always be ConstantReadNode if there are no syntax errors.
696
741
// MissingNode could be assigned as well as an error recovery means,
@@ -714,6 +759,16 @@ public RubyNode visitConstantPathNode(Nodes.ConstantPathNode node) {
714
759
return rubyNode ;
715
760
}
716
761
762
+ @ Override
763
+ public RubyNode visitConstantPathOperatorWriteNode (Nodes .ConstantPathOperatorWriteNode node ) {
764
+ return defaultVisit (node );
765
+ }
766
+
767
+ @ Override
768
+ public RubyNode visitConstantPathOrWriteNode (Nodes .ConstantPathOrWriteNode node ) {
769
+ return defaultVisit (node );
770
+ }
771
+
717
772
public RubyNode visitConstantPathWriteNode (Nodes .ConstantPathWriteNode node ) {
718
773
final Nodes .ConstantPathNode constantPathNode = node .target ;
719
774
@@ -892,6 +947,21 @@ public RubyNode visitForwardingSuperNode(Nodes.ForwardingSuperNode node) {
892
947
return defaultVisit (node );
893
948
}
894
949
950
+ @ Override
951
+ public RubyNode visitGlobalVariableAndWriteNode (Nodes .GlobalVariableAndWriteNode node ) {
952
+ return defaultVisit (node );
953
+ }
954
+
955
+ @ Override
956
+ public RubyNode visitGlobalVariableOperatorWriteNode (Nodes .GlobalVariableOperatorWriteNode node ) {
957
+ return defaultVisit (node );
958
+ }
959
+
960
+ @ Override
961
+ public RubyNode visitGlobalVariableOrWriteNode (Nodes .GlobalVariableOrWriteNode node ) {
962
+ return defaultVisit (node );
963
+ }
964
+
895
965
public RubyNode visitGlobalVariableReadNode (Nodes .GlobalVariableReadNode node ) {
896
966
final RubyNode rubyNode = ReadGlobalVariableNodeGen .create (node .name );
897
967
assignNodePositionInSource (node , rubyNode );
@@ -1009,10 +1079,30 @@ public RubyNode visitImaginaryNode(Nodes.ImaginaryNode node) {
1009
1079
return rubyNode ;
1010
1080
}
1011
1081
1082
+ @ Override
1083
+ public RubyNode visitImplicitNode (Nodes .ImplicitNode node ) {
1084
+ return defaultVisit (node );
1085
+ }
1086
+
1012
1087
public RubyNode visitInNode (Nodes .InNode node ) {
1013
1088
return defaultVisit (node );
1014
1089
}
1015
1090
1091
+ @ Override
1092
+ public RubyNode visitInstanceVariableAndWriteNode (Nodes .InstanceVariableAndWriteNode node ) {
1093
+ return defaultVisit (node );
1094
+ }
1095
+
1096
+ @ Override
1097
+ public RubyNode visitInstanceVariableOperatorWriteNode (Nodes .InstanceVariableOperatorWriteNode node ) {
1098
+ return defaultVisit (node );
1099
+ }
1100
+
1101
+ @ Override
1102
+ public RubyNode visitInstanceVariableOrWriteNode (Nodes .InstanceVariableOrWriteNode node ) {
1103
+ return defaultVisit (node );
1104
+ }
1105
+
1016
1106
public RubyNode visitInstanceVariableReadNode (Nodes .InstanceVariableReadNode node ) {
1017
1107
final RubyNode rubyNode = new ReadInstanceVariableNode (node .name );
1018
1108
@@ -1066,6 +1156,10 @@ public RubyNode visitIntegerNode(Nodes.IntegerNode node) {
1066
1156
return rubyNode ;
1067
1157
}
1068
1158
1159
+ public RubyNode visitInterpolatedMatchLastLineNode (Nodes .InterpolatedMatchLastLineNode node ) {
1160
+ return defaultVisit (node );
1161
+ }
1162
+
1069
1163
public RubyNode visitInterpolatedRegularExpressionNode (Nodes .InterpolatedRegularExpressionNode node ) {
1070
1164
return defaultVisit (node );
1071
1165
}
@@ -1127,6 +1221,21 @@ public RubyNode visitLocalVariableReadNode(Nodes.LocalVariableReadNode node) {
1127
1221
return rubyNode ;
1128
1222
}
1129
1223
1224
+ @ Override
1225
+ public RubyNode visitLocalVariableAndWriteNode (Nodes .LocalVariableAndWriteNode node ) {
1226
+ return defaultVisit (node );
1227
+ }
1228
+
1229
+ @ Override
1230
+ public RubyNode visitLocalVariableOperatorWriteNode (Nodes .LocalVariableOperatorWriteNode node ) {
1231
+ return defaultVisit (node );
1232
+ }
1233
+
1234
+ @ Override
1235
+ public RubyNode visitLocalVariableOrWriteNode (Nodes .LocalVariableOrWriteNode node ) {
1236
+ return defaultVisit (node );
1237
+ }
1238
+
1130
1239
public RubyNode visitLocalVariableWriteNode (Nodes .LocalVariableWriteNode node ) {
1131
1240
final String name = node .name ;
1132
1241
@@ -1165,6 +1274,10 @@ public RubyNode visitLocalVariableTargetNode(Nodes.LocalVariableTargetNode node)
1165
1274
new Nodes .LocalVariableWriteNode (node .name , node .depth , null , node .startOffset , node .length ));
1166
1275
}
1167
1276
1277
+ public RubyNode visitMatchLastLineNode (Nodes .MatchLastLineNode node ) {
1278
+ return defaultVisit (node );
1279
+ }
1280
+
1168
1281
public RubyNode visitMatchPredicateNode (Nodes .MatchPredicateNode node ) {
1169
1282
return defaultVisit (node );
1170
1283
}
@@ -1173,6 +1286,11 @@ public RubyNode visitMatchRequiredNode(Nodes.MatchRequiredNode node) {
1173
1286
return defaultVisit (node );
1174
1287
}
1175
1288
1289
+ @ Override
1290
+ public RubyNode visitMatchWriteNode (Nodes .MatchWriteNode node ) {
1291
+ return defaultVisit (node );
1292
+ }
1293
+
1176
1294
public RubyNode visitMissingNode (Nodes .MissingNode node ) {
1177
1295
return defaultVisit (node );
1178
1296
}
@@ -1194,6 +1312,11 @@ public RubyNode visitModuleNode(Nodes.ModuleNode node) {
1194
1312
return rubyNode ;
1195
1313
}
1196
1314
1315
+ @ Override
1316
+ public RubyNode visitMultiTargetNode (Nodes .MultiTargetNode node ) {
1317
+ return defaultVisit (node );
1318
+ }
1319
+
1197
1320
public RubyNode visitMultiWriteNode (Nodes .MultiWriteNode node ) {
1198
1321
return defaultVisit (node );
1199
1322
}
0 commit comments