syntax_tree 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -53,6 +53,9 @@ module SyntaxTree
53
53
  # exclusively here to make it easier to operate with the tree in cases where
54
54
  # you're trying to monkey-patch or strictly type.
55
55
  class Node
56
+ # [Location] the location of this node
57
+ attr_reader :location
58
+
56
59
  def child_nodes
57
60
  raise NotImplementedError
58
61
  end
@@ -94,9 +97,6 @@ module SyntaxTree
94
97
  # [Statements] the expressions to be executed
95
98
  attr_reader :statements
96
99
 
97
- # [Location] the location of this node
98
- attr_reader :location
99
-
100
100
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
101
101
  attr_reader :comments
102
102
 
@@ -167,9 +167,6 @@ module SyntaxTree
167
167
  # [String] the value of the character literal
168
168
  attr_reader :value
169
169
 
170
- # [Location] the location of this node
171
- attr_reader :location
172
-
173
170
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
174
171
  attr_reader :comments
175
172
 
@@ -233,9 +230,6 @@ module SyntaxTree
233
230
  # [Statements] the expressions to be executed
234
231
  attr_reader :statements
235
232
 
236
- # [Location] the location of this node
237
- attr_reader :location
238
-
239
233
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
240
234
  attr_reader :comments
241
235
 
@@ -309,9 +303,6 @@ module SyntaxTree
309
303
  # [String] the content after the script
310
304
  attr_reader :value
311
305
 
312
- # [Location] the location of this node
313
- attr_reader :location
314
-
315
306
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
316
307
  attr_reader :comments
317
308
 
@@ -400,9 +391,6 @@ module SyntaxTree
400
391
  # [DynaSymbol | SymbolLiteral] the old name of the method
401
392
  attr_reader :right
402
393
 
403
- # [Location] the location of this node
404
- attr_reader :location
405
-
406
394
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
407
395
  attr_reader :comments
408
396
 
@@ -484,9 +472,6 @@ module SyntaxTree
484
472
  # [nil | Args] the value being passed within the brackets
485
473
  attr_reader :index
486
474
 
487
- # [Location] the location of this node
488
- attr_reader :location
489
-
490
475
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
491
476
  attr_reader :comments
492
477
 
@@ -568,9 +553,6 @@ module SyntaxTree
568
553
  # [nil | Args] the value being passed within the brackets
569
554
  attr_reader :index
570
555
 
571
- # [Location] the location of this node
572
- attr_reader :location
573
-
574
556
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
575
557
  attr_reader :comments
576
558
 
@@ -654,9 +636,6 @@ module SyntaxTree
654
636
  # parentheses
655
637
  attr_reader :arguments
656
638
 
657
- # [Location] the location of this node
658
- attr_reader :location
659
-
660
639
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
661
640
  attr_reader :comments
662
641
 
@@ -721,9 +700,6 @@ module SyntaxTree
721
700
  # [Array[ untyped ]] the arguments that this node wraps
722
701
  attr_reader :parts
723
702
 
724
- # [Location] the location of this node
725
- attr_reader :location
726
-
727
703
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
728
704
  attr_reader :comments
729
705
 
@@ -773,9 +749,6 @@ module SyntaxTree
773
749
  # [nil | untyped] the expression being turned into a block
774
750
  attr_reader :value
775
751
 
776
- # [Location] the location of this node
777
- attr_reader :location
778
-
779
752
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
780
753
  attr_reader :comments
781
754
 
@@ -828,9 +801,6 @@ module SyntaxTree
828
801
  # [nil | untyped] the expression being splatted
829
802
  attr_reader :value
830
803
 
831
- # [Location] the location of this node
832
- attr_reader :location
833
-
834
804
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
835
805
  attr_reader :comments
836
806
 
@@ -894,9 +864,6 @@ module SyntaxTree
894
864
  # [String] the value of the operator
895
865
  attr_reader :value
896
866
 
897
- # [Location] the location of this node
898
- attr_reader :location
899
-
900
867
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
901
868
  attr_reader :comments
902
869
 
@@ -1025,9 +992,6 @@ module SyntaxTree
1025
992
  # [nil | Args] the contents of the array
1026
993
  attr_reader :contents
1027
994
 
1028
- # [Location] the location of this node
1029
- attr_reader :location
1030
-
1031
995
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
1032
996
  attr_reader :comments
1033
997
 
@@ -1191,9 +1155,6 @@ module SyntaxTree
1191
1155
  # optional star if there is one
1192
1156
  attr_reader :posts
1193
1157
 
1194
- # [Location] the location of this node
1195
- attr_reader :location
1196
-
1197
1158
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
1198
1159
  attr_reader :comments
1199
1160
 
@@ -1330,9 +1291,6 @@ module SyntaxTree
1330
1291
  # [untyped] the expression to be assigned
1331
1292
  attr_reader :value
1332
1293
 
1333
- # [Location] the location of this node
1334
- attr_reader :location
1335
-
1336
1294
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
1337
1295
  attr_reader :comments
1338
1296
 
@@ -1415,9 +1373,6 @@ module SyntaxTree
1415
1373
  # [untyped] the value of this pair
1416
1374
  attr_reader :value
1417
1375
 
1418
- # [Location] the location of this node
1419
- attr_reader :location
1420
-
1421
1376
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
1422
1377
  attr_reader :comments
1423
1378
 
@@ -1499,9 +1454,6 @@ module SyntaxTree
1499
1454
  # [untyped] the expression that is being splatted
1500
1455
  attr_reader :value
1501
1456
 
1502
- # [Location] the location of this node
1503
- attr_reader :location
1504
-
1505
1457
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
1506
1458
  attr_reader :comments
1507
1459
 
@@ -1556,9 +1508,6 @@ module SyntaxTree
1556
1508
  # [String] the name of the global backreference variable
1557
1509
  attr_reader :value
1558
1510
 
1559
- # [Location] the location of this node
1560
- attr_reader :location
1561
-
1562
1511
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
1563
1512
  attr_reader :comments
1564
1513
 
@@ -1607,9 +1556,6 @@ module SyntaxTree
1607
1556
  # [String] the backtick in the string
1608
1557
  attr_reader :value
1609
1558
 
1610
- # [Location] the location of this node
1611
- attr_reader :location
1612
-
1613
1559
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
1614
1560
  attr_reader :comments
1615
1561
 
@@ -1724,9 +1670,6 @@ module SyntaxTree
1724
1670
  # [Array[ AssocNew | AssocSplat ]]
1725
1671
  attr_reader :assocs
1726
1672
 
1727
- # [Location] the location of this node
1728
- attr_reader :location
1729
-
1730
1673
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
1731
1674
  attr_reader :comments
1732
1675
 
@@ -1785,9 +1728,6 @@ module SyntaxTree
1785
1728
  # [BodyStmt] the bodystmt that contains the contents of this begin block
1786
1729
  attr_reader :bodystmt
1787
1730
 
1788
- # [Location] the location of this node
1789
- attr_reader :location
1790
-
1791
1731
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
1792
1732
  attr_reader :comments
1793
1733
 
@@ -1852,9 +1792,6 @@ module SyntaxTree
1852
1792
  # [untyped] the expression being pinned
1853
1793
  attr_reader :statement
1854
1794
 
1855
- # [Location] the location of this node
1856
- attr_reader :location
1857
-
1858
1795
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
1859
1796
  attr_reader :comments
1860
1797
 
@@ -1930,9 +1867,6 @@ module SyntaxTree
1930
1867
  # [untyped] the right-hand side of the expression
1931
1868
  attr_reader :right
1932
1869
 
1933
- # [Location] the location of this node
1934
- attr_reader :location
1935
-
1936
1870
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
1937
1871
  attr_reader :comments
1938
1872
 
@@ -2067,9 +2001,6 @@ module SyntaxTree
2067
2001
  # [Array[ Ident ]] the list of block-local variable declarations
2068
2002
  attr_reader :locals
2069
2003
 
2070
- # [Location] the location of this node
2071
- attr_reader :location
2072
-
2073
2004
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
2074
2005
  attr_reader :comments
2075
2006
 
@@ -2137,9 +2068,6 @@ module SyntaxTree
2137
2068
  # [nil | Ident] the name of the block argument
2138
2069
  attr_reader :name
2139
2070
 
2140
- # [Location] the location of this node
2141
- attr_reader :location
2142
-
2143
2071
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
2144
2072
  attr_reader :comments
2145
2073
 
@@ -2200,9 +2128,6 @@ module SyntaxTree
2200
2128
  # [nil | Ensure] the optional ensure clause
2201
2129
  attr_reader :ensure_clause
2202
2130
 
2203
- # [Location] the location of this node
2204
- attr_reader :location
2205
-
2206
2131
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
2207
2132
  attr_reader :comments
2208
2133
 
@@ -2511,9 +2436,6 @@ module SyntaxTree
2511
2436
  # [Statements] the list of expressions to evaluate within the block
2512
2437
  attr_reader :statements
2513
2438
 
2514
- # [Location] the location of this node
2515
- attr_reader :location
2516
-
2517
2439
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
2518
2440
  attr_reader :comments
2519
2441
 
@@ -2636,9 +2558,6 @@ module SyntaxTree
2636
2558
  # [Args] the arguments being sent to the keyword
2637
2559
  attr_reader :arguments
2638
2560
 
2639
- # [Location] the location of this node
2640
- attr_reader :location
2641
-
2642
2561
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
2643
2562
  attr_reader :comments
2644
2563
 
@@ -2720,9 +2639,6 @@ module SyntaxTree
2720
2639
  # [nil | ArgParen | Args] the arguments to the method call
2721
2640
  attr_reader :arguments
2722
2641
 
2723
- # [Location] the location of this node
2724
- attr_reader :location
2725
-
2726
2642
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
2727
2643
  attr_reader :comments
2728
2644
 
@@ -2848,9 +2764,6 @@ module SyntaxTree
2848
2764
  # [In | When] the next clause in the chain
2849
2765
  attr_reader :consequent
2850
2766
 
2851
- # [Location] the location of this node
2852
- attr_reader :location
2853
-
2854
2767
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
2855
2768
  attr_reader :comments
2856
2769
 
@@ -2941,9 +2854,6 @@ module SyntaxTree
2941
2854
  # [untyped] the pattern on the right-hand side of the expression
2942
2855
  attr_reader :pattern
2943
2856
 
2944
- # [Location] the location of this node
2945
- attr_reader :location
2946
-
2947
2857
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
2948
2858
  attr_reader :comments
2949
2859
 
@@ -3057,9 +2967,6 @@ module SyntaxTree
3057
2967
  # [BodyStmt] the expressions to execute within the context of the class
3058
2968
  attr_reader :bodystmt
3059
2969
 
3060
- # [Location] the location of this node
3061
- attr_reader :location
3062
-
3063
2970
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
3064
2971
  attr_reader :comments
3065
2972
 
@@ -3157,9 +3064,6 @@ module SyntaxTree
3157
3064
  # [String] the comma in the string
3158
3065
  attr_reader :value
3159
3066
 
3160
- # [Location] the location of this node
3161
- attr_reader :location
3162
-
3163
3067
  def initialize(value:, location:)
3164
3068
  @value = value
3165
3069
  @location = location
@@ -3179,9 +3083,6 @@ module SyntaxTree
3179
3083
  # [Args] the arguments being sent with the message
3180
3084
  attr_reader :arguments
3181
3085
 
3182
- # [Location] the location of this node
3183
- attr_reader :location
3184
-
3185
3086
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
3186
3087
  attr_reader :comments
3187
3088
 
@@ -3258,9 +3159,6 @@ module SyntaxTree
3258
3159
  # [nil | Args] the arguments going along with the message
3259
3160
  attr_reader :arguments
3260
3161
 
3261
- # [Location] the location of this node
3262
- attr_reader :location
3263
-
3264
3162
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
3265
3163
  attr_reader :comments
3266
3164
 
@@ -3426,9 +3324,6 @@ module SyntaxTree
3426
3324
  attr_reader :inline
3427
3325
  alias inline? inline
3428
3326
 
3429
- # [Location] the location of this node
3430
- attr_reader :location
3431
-
3432
3327
  def initialize(value:, inline:, location:)
3433
3328
  @value = value
3434
3329
  @inline = inline
@@ -3513,9 +3408,6 @@ module SyntaxTree
3513
3408
  # [String] the name of the constant
3514
3409
  attr_reader :value
3515
3410
 
3516
- # [Location] the location of this node
3517
- attr_reader :location
3518
-
3519
3411
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
3520
3412
  attr_reader :comments
3521
3413
 
@@ -3570,9 +3462,6 @@ module SyntaxTree
3570
3462
  # [Const] the constant itself
3571
3463
  attr_reader :constant
3572
3464
 
3573
- # [Location] the location of this node
3574
- attr_reader :location
3575
-
3576
3465
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
3577
3466
  attr_reader :comments
3578
3467
 
@@ -3640,9 +3529,6 @@ module SyntaxTree
3640
3529
  # [Const] the constant itself
3641
3530
  attr_reader :constant
3642
3531
 
3643
- # [Location] the location of this node
3644
- attr_reader :location
3645
-
3646
3532
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
3647
3533
  attr_reader :comments
3648
3534
 
@@ -3709,9 +3595,6 @@ module SyntaxTree
3709
3595
  # [Const] the constant itself
3710
3596
  attr_reader :constant
3711
3597
 
3712
- # [Location] the location of this node
3713
- attr_reader :location
3714
-
3715
3598
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
3716
3599
  attr_reader :comments
3717
3600
 
@@ -3764,9 +3647,6 @@ module SyntaxTree
3764
3647
  # [String] the name of the class variable
3765
3648
  attr_reader :value
3766
3649
 
3767
- # [Location] the location of this node
3768
- attr_reader :location
3769
-
3770
3650
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
3771
3651
  attr_reader :comments
3772
3652
 
@@ -3822,9 +3702,6 @@ module SyntaxTree
3822
3702
  # [BodyStmt] the expressions to be executed by the method
3823
3703
  attr_reader :bodystmt
3824
3704
 
3825
- # [Location] the location of this node
3826
- attr_reader :location
3827
-
3828
3705
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
3829
3706
  attr_reader :comments
3830
3707
 
@@ -3921,9 +3798,6 @@ module SyntaxTree
3921
3798
  # [untyped] the expression to be executed by the method
3922
3799
  attr_reader :statement
3923
3800
 
3924
- # [Location] the location of this node
3925
- attr_reader :location
3926
-
3927
3801
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
3928
3802
  attr_reader :comments
3929
3803
 
@@ -4038,9 +3912,6 @@ module SyntaxTree
4038
3912
  # [untyped] the value being sent to the keyword
4039
3913
  attr_reader :value
4040
3914
 
4041
- # [Location] the location of this node
4042
- attr_reader :location
4043
-
4044
3915
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
4045
3916
  attr_reader :comments
4046
3917
 
@@ -4108,9 +3979,6 @@ module SyntaxTree
4108
3979
  # [BodyStmt] the expressions to be executed by the method
4109
3980
  attr_reader :bodystmt
4110
3981
 
4111
- # [Location] the location of this node
4112
- attr_reader :location
4113
-
4114
3982
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
4115
3983
  attr_reader :comments
4116
3984
 
@@ -4225,9 +4093,6 @@ module SyntaxTree
4225
4093
  # [BodyStmt] the expressions to be executed within this block
4226
4094
  attr_reader :bodystmt
4227
4095
 
4228
- # [Location] the location of this node
4229
- attr_reader :location
4230
-
4231
4096
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
4232
4097
  attr_reader :comments
4233
4098
 
@@ -4332,9 +4197,6 @@ module SyntaxTree
4332
4197
  # [nil | untyped] the right side of the expression
4333
4198
  attr_reader :right
4334
4199
 
4335
- # [Location] the location of this node
4336
- attr_reader :location
4337
-
4338
4200
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
4339
4201
  attr_reader :comments
4340
4202
 
@@ -4407,9 +4269,6 @@ module SyntaxTree
4407
4269
  # [nil | untyped] the right side of the expression
4408
4270
  attr_reader :right
4409
4271
 
4410
- # [Location] the location of this node
4411
- attr_reader :location
4412
-
4413
4272
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
4414
4273
  attr_reader :comments
4415
4274
 
@@ -4521,9 +4380,6 @@ module SyntaxTree
4521
4380
  # [String] the quote used to delimit the dynamic symbol
4522
4381
  attr_reader :quote
4523
4382
 
4524
- # [Location] the location of this node
4525
- attr_reader :location
4526
-
4527
4383
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
4528
4384
  attr_reader :comments
4529
4385
 
@@ -4633,9 +4489,6 @@ module SyntaxTree
4633
4489
  # [Statements] the expressions to be executed
4634
4490
  attr_reader :statements
4635
4491
 
4636
- # [Location] the location of this node
4637
- attr_reader :location
4638
-
4639
4492
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
4640
4493
  attr_reader :comments
4641
4494
 
@@ -4702,9 +4555,6 @@ module SyntaxTree
4702
4555
  # [nil | Elsif | Else] the next clause in the chain
4703
4556
  attr_reader :consequent
4704
4557
 
4705
- # [Location] the location of this node
4706
- attr_reader :location
4707
-
4708
4558
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
4709
4559
  attr_reader :comments
4710
4560
 
@@ -4803,9 +4653,6 @@ module SyntaxTree
4803
4653
  # [String] the contents of the comment
4804
4654
  attr_reader :value
4805
4655
 
4806
- # [Location] the location of this node
4807
- attr_reader :location
4808
-
4809
4656
  def initialize(value:, location:)
4810
4657
  @value = value
4811
4658
  @location = location
@@ -4862,9 +4709,6 @@ module SyntaxTree
4862
4709
  # [String] the #{ used in the string
4863
4710
  attr_reader :value
4864
4711
 
4865
- # [Location] the location of this node
4866
- attr_reader :location
4867
-
4868
4712
  def initialize(value:, location:)
4869
4713
  @value = value
4870
4714
  @location = location
@@ -4881,9 +4725,6 @@ module SyntaxTree
4881
4725
  # [String] the } used in the string
4882
4726
  attr_reader :value
4883
4727
 
4884
- # [Location] the location of this node
4885
- attr_reader :location
4886
-
4887
4728
  def initialize(value:, location:)
4888
4729
  @value = value
4889
4730
  @location = location
@@ -4902,9 +4743,6 @@ module SyntaxTree
4902
4743
  # [String] the # used in the string
4903
4744
  attr_reader :value
4904
4745
 
4905
- # [Location] the location of this node
4906
- attr_reader :location
4907
-
4908
4746
  def initialize(value:, location:)
4909
4747
  @value = value
4910
4748
  @location = location
@@ -4925,9 +4763,6 @@ module SyntaxTree
4925
4763
  # [Statements] the expressions to be executed
4926
4764
  attr_reader :statements
4927
4765
 
4928
- # [Location] the location of this node
4929
- attr_reader :location
4930
-
4931
4766
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
4932
4767
  attr_reader :comments
4933
4768
 
@@ -5000,9 +4835,6 @@ module SyntaxTree
5000
4835
  # [String] the comma
5001
4836
  attr_reader :value
5002
4837
 
5003
- # [Location] the location of this node
5004
- attr_reader :location
5005
-
5006
4838
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
5007
4839
  attr_reader :comments
5008
4840
 
@@ -5061,9 +4893,6 @@ module SyntaxTree
5061
4893
  # [nil | ArgParen | Args] the arguments to the method call
5062
4894
  attr_reader :arguments
5063
4895
 
5064
- # [Location] the location of this node
5065
- attr_reader :location
5066
-
5067
4896
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
5068
4897
  attr_reader :comments
5069
4898
 
@@ -5136,9 +4965,6 @@ module SyntaxTree
5136
4965
  # [Const | Ident] the name of the field being assigned
5137
4966
  attr_reader :name
5138
4967
 
5139
- # [Location] the location of this node
5140
- attr_reader :location
5141
-
5142
4968
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
5143
4969
  attr_reader :comments
5144
4970
 
@@ -5211,9 +5037,6 @@ module SyntaxTree
5211
5037
  # [String] the value of the floating point number literal
5212
5038
  attr_reader :value
5213
5039
 
5214
- # [Location] the location of this node
5215
- attr_reader :location
5216
-
5217
5040
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
5218
5041
  attr_reader :comments
5219
5042
 
@@ -5276,9 +5099,6 @@ module SyntaxTree
5276
5099
  # [VarField] the splat on the right-hand side
5277
5100
  attr_reader :right
5278
5101
 
5279
- # [Location] the location of this node
5280
- attr_reader :location
5281
-
5282
5102
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
5283
5103
  attr_reader :comments
5284
5104
 
@@ -5374,9 +5194,6 @@ module SyntaxTree
5374
5194
  # [Statements] the statements to be executed
5375
5195
  attr_reader :statements
5376
5196
 
5377
- # [Location] the location of this node
5378
- attr_reader :location
5379
-
5380
5197
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
5381
5198
  attr_reader :comments
5382
5199
 
@@ -5460,9 +5277,6 @@ module SyntaxTree
5460
5277
  # [String] the name of the global variable
5461
5278
  attr_reader :value
5462
5279
 
5463
- # [Location] the location of this node
5464
- attr_reader :location
5465
-
5466
5280
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
5467
5281
  attr_reader :comments
5468
5282
 
@@ -5515,9 +5329,6 @@ module SyntaxTree
5515
5329
  # [Array[ AssocNew | AssocSplat ]] the optional contents of the hash
5516
5330
  attr_reader :assocs
5517
5331
 
5518
- # [Location] the location of this node
5519
- attr_reader :location
5520
-
5521
5332
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
5522
5333
  attr_reader :comments
5523
5334
 
@@ -5605,9 +5416,6 @@ module SyntaxTree
5605
5416
  # heredoc string literal
5606
5417
  attr_reader :parts
5607
5418
 
5608
- # [Location] the location of this node
5609
- attr_reader :location
5610
-
5611
5419
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
5612
5420
  attr_reader :comments
5613
5421
 
@@ -5700,9 +5508,6 @@ module SyntaxTree
5700
5508
  # [String] the opening declaration of the heredoc
5701
5509
  attr_reader :value
5702
5510
 
5703
- # [Location] the location of this node
5704
- attr_reader :location
5705
-
5706
5511
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
5707
5512
  attr_reader :comments
5708
5513
 
@@ -5809,9 +5614,6 @@ module SyntaxTree
5809
5614
  # [nil | VarField] an optional parameter to gather up all remaining keywords
5810
5615
  attr_reader :keyword_rest
5811
5616
 
5812
- # [Location] the location of this node
5813
- attr_reader :location
5814
-
5815
5617
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
5816
5618
  attr_reader :comments
5817
5619
 
@@ -5921,9 +5723,6 @@ module SyntaxTree
5921
5723
  # [String] the value of the identifier
5922
5724
  attr_reader :value
5923
5725
 
5924
- # [Location] the location of this node
5925
- attr_reader :location
5926
-
5927
5726
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
5928
5727
  attr_reader :comments
5929
5728
 
@@ -6061,9 +5860,6 @@ module SyntaxTree
6061
5860
  # [nil, Elsif, Else] the next clause in the chain
6062
5861
  attr_reader :consequent
6063
5862
 
6064
- # [Location] the location of this node
6065
- attr_reader :location
6066
-
6067
5863
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
6068
5864
  attr_reader :comments
6069
5865
 
@@ -6146,9 +5942,6 @@ module SyntaxTree
6146
5942
  # [untyped] the expression to be executed if the predicate is falsy
6147
5943
  attr_reader :falsy
6148
5944
 
6149
- # [Location] the location of this node
6150
- attr_reader :location
6151
-
6152
5945
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
6153
5946
  attr_reader :comments
6154
5947
 
@@ -6312,9 +6105,6 @@ module SyntaxTree
6312
6105
  # [untyped] the expression to be checked
6313
6106
  attr_reader :predicate
6314
6107
 
6315
- # [Location] the location of this node
6316
- attr_reader :location
6317
-
6318
6108
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
6319
6109
  attr_reader :comments
6320
6110
 
@@ -6377,9 +6167,6 @@ module SyntaxTree
6377
6167
  # [String] the value of the imaginary number literal
6378
6168
  attr_reader :value
6379
6169
 
6380
- # [Location] the location of this node
6381
- attr_reader :location
6382
-
6383
6170
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
6384
6171
  attr_reader :comments
6385
6172
 
@@ -6438,9 +6225,6 @@ module SyntaxTree
6438
6225
  # [nil | In | Else] the next clause in the chain
6439
6226
  attr_reader :consequent
6440
6227
 
6441
- # [Location] the location of this node
6442
- attr_reader :location
6443
-
6444
6228
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
6445
6229
  attr_reader :comments
6446
6230
 
@@ -6528,9 +6312,6 @@ module SyntaxTree
6528
6312
  # [String] the value of the integer
6529
6313
  attr_reader :value
6530
6314
 
6531
- # [Location] the location of this node
6532
- attr_reader :location
6533
-
6534
6315
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
6535
6316
  attr_reader :comments
6536
6317
 
@@ -6586,9 +6367,6 @@ module SyntaxTree
6586
6367
  # [String] the name of the instance variable
6587
6368
  attr_reader :value
6588
6369
 
6589
- # [Location] the location of this node
6590
- attr_reader :location
6591
-
6592
6370
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
6593
6371
  attr_reader :comments
6594
6372
 
@@ -6647,9 +6425,6 @@ module SyntaxTree
6647
6425
  # [String] the value of the keyword
6648
6426
  attr_reader :value
6649
6427
 
6650
- # [Location] the location of this node
6651
- attr_reader :location
6652
-
6653
6428
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
6654
6429
  attr_reader :comments
6655
6430
 
@@ -6698,9 +6473,6 @@ module SyntaxTree
6698
6473
  # [nil | Ident] the name of the parameter
6699
6474
  attr_reader :name
6700
6475
 
6701
- # [Location] the location of this node
6702
- attr_reader :location
6703
-
6704
6476
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
6705
6477
  attr_reader :comments
6706
6478
 
@@ -6763,9 +6535,6 @@ module SyntaxTree
6763
6535
  # [String] the value of the label
6764
6536
  attr_reader :value
6765
6537
 
6766
- # [Location] the location of this node
6767
- attr_reader :location
6768
-
6769
6538
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
6770
6539
  attr_reader :comments
6771
6540
 
@@ -6819,9 +6588,6 @@ module SyntaxTree
6819
6588
  # [String] the end of the label
6820
6589
  attr_reader :value
6821
6590
 
6822
- # [Location] the location of this node
6823
- attr_reader :location
6824
-
6825
6591
  def initialize(value:, location:)
6826
6592
  @value = value
6827
6593
  @location = location
@@ -6839,9 +6605,6 @@ module SyntaxTree
6839
6605
  # [BodyStmt | Statements] the expressions to be executed in this lambda
6840
6606
  attr_reader :statements
6841
6607
 
6842
- # [Location] the location of this node
6843
- attr_reader :location
6844
-
6845
6608
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
6846
6609
  attr_reader :comments
6847
6610
 
@@ -6932,9 +6695,6 @@ module SyntaxTree
6932
6695
  # [String] the left brace
6933
6696
  attr_reader :value
6934
6697
 
6935
- # [Location] the location of this node
6936
- attr_reader :location
6937
-
6938
6698
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
6939
6699
  attr_reader :comments
6940
6700
 
@@ -6981,9 +6741,6 @@ module SyntaxTree
6981
6741
  # [String] the left bracket
6982
6742
  attr_reader :value
6983
6743
 
6984
- # [Location] the location of this node
6985
- attr_reader :location
6986
-
6987
6744
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
6988
6745
  attr_reader :comments
6989
6746
 
@@ -7030,9 +6787,6 @@ module SyntaxTree
7030
6787
  # [String] the left parenthesis
7031
6788
  attr_reader :value
7032
6789
 
7033
- # [Location] the location of this node
7034
- attr_reader :location
7035
-
7036
6790
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
7037
6791
  attr_reader :comments
7038
6792
 
@@ -7095,9 +6849,6 @@ module SyntaxTree
7095
6849
  # [untyped] the value being assigned
7096
6850
  attr_reader :value
7097
6851
 
7098
- # [Location] the location of this node
7099
- attr_reader :location
7100
-
7101
6852
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
7102
6853
  attr_reader :comments
7103
6854
 
@@ -7165,9 +6916,6 @@ module SyntaxTree
7165
6916
  # [BraceBlock | DoBlock] the block being sent with the method call
7166
6917
  attr_reader :block
7167
6918
 
7168
- # [Location] the location of this node
7169
- attr_reader :location
7170
-
7171
6919
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
7172
6920
  attr_reader :comments
7173
6921
 
@@ -7233,9 +6981,6 @@ module SyntaxTree
7233
6981
  # the syntax tree is being built it can be set by its parent node
7234
6982
  attr_accessor :comma
7235
6983
 
7236
- # [Location] the location of this node
7237
- attr_reader :location
7238
-
7239
6984
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
7240
6985
  attr_reader :comments
7241
6986
 
@@ -7292,9 +7037,6 @@ module SyntaxTree
7292
7037
  # [MLHS | MLHSParen] the contents inside of the parentheses
7293
7038
  attr_reader :contents
7294
7039
 
7295
- # [Location] the location of this node
7296
- attr_reader :location
7297
-
7298
7040
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
7299
7041
  attr_reader :comments
7300
7042
 
@@ -7364,9 +7106,6 @@ module SyntaxTree
7364
7106
  # [BodyStmt] the expressions to be executed in the context of the module
7365
7107
  attr_reader :bodystmt
7366
7108
 
7367
- # [Location] the location of this node
7368
- attr_reader :location
7369
-
7370
7109
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
7371
7110
  attr_reader :comments
7372
7111
 
@@ -7455,9 +7194,6 @@ module SyntaxTree
7455
7194
  # Array[untyped] the parts that are being assigned
7456
7195
  attr_reader :parts
7457
7196
 
7458
- # [Location] the location of this node
7459
- attr_reader :location
7460
-
7461
7197
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
7462
7198
  attr_reader :comments
7463
7199
 
@@ -7520,9 +7256,6 @@ module SyntaxTree
7520
7256
  # [Args] the arguments passed to the next keyword
7521
7257
  attr_reader :arguments
7522
7258
 
7523
- # [Location] the location of this node
7524
- attr_reader :location
7525
-
7526
7259
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
7527
7260
  attr_reader :comments
7528
7261
 
@@ -7573,9 +7306,6 @@ module SyntaxTree
7573
7306
  # [String] the operator
7574
7307
  attr_reader :value
7575
7308
 
7576
- # [Location] the location of this node
7577
- attr_reader :location
7578
-
7579
7309
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
7580
7310
  attr_reader :comments
7581
7311
 
@@ -7631,9 +7361,6 @@ module SyntaxTree
7631
7361
  # [untyped] the expression to be assigned
7632
7362
  attr_reader :value
7633
7363
 
7634
- # [Location] the location of this node
7635
- attr_reader :location
7636
-
7637
7364
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
7638
7365
  attr_reader :comments
7639
7366
 
@@ -7861,9 +7588,6 @@ module SyntaxTree
7861
7588
  # [nil | BlockArg] the optional block parameter
7862
7589
  attr_reader :block
7863
7590
 
7864
- # [Location] the location of this node
7865
- attr_reader :location
7866
-
7867
7591
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
7868
7592
  attr_reader :comments
7869
7593
 
@@ -8053,9 +7777,6 @@ module SyntaxTree
8053
7777
  # [nil | untyped] the expression inside the parentheses
8054
7778
  attr_reader :contents
8055
7779
 
8056
- # [Location] the location of this node
8057
- attr_reader :location
8058
-
8059
7780
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
8060
7781
  attr_reader :comments
8061
7782
 
@@ -8125,9 +7846,6 @@ module SyntaxTree
8125
7846
  # [String] the period
8126
7847
  attr_reader :value
8127
7848
 
8128
- # [Location] the location of this node
8129
- attr_reader :location
8130
-
8131
7849
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
8132
7850
  attr_reader :comments
8133
7851
 
@@ -8174,9 +7892,6 @@ module SyntaxTree
8174
7892
  # [Statements] the top-level expressions of the program
8175
7893
  attr_reader :statements
8176
7894
 
8177
- # [Location] the location of this node
8178
- attr_reader :location
8179
-
8180
7895
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
8181
7896
  attr_reader :comments
8182
7897
 
@@ -8238,9 +7953,6 @@ module SyntaxTree
8238
7953
  # [Array[ TStringContent ]] the elements of the array
8239
7954
  attr_reader :elements
8240
7955
 
8241
- # [Location] the location of this node
8242
- attr_reader :location
8243
-
8244
7956
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
8245
7957
  attr_reader :comments
8246
7958
 
@@ -8317,9 +8029,6 @@ module SyntaxTree
8317
8029
  # [String] the beginning of the array literal
8318
8030
  attr_reader :value
8319
8031
 
8320
- # [Location] the location of this node
8321
- attr_reader :location
8322
-
8323
8032
  def initialize(value:, location:)
8324
8033
  @value = value
8325
8034
  @location = location
@@ -8337,9 +8046,6 @@ module SyntaxTree
8337
8046
  # [Array[ TStringContent ]] the elements of the array
8338
8047
  attr_reader :elements
8339
8048
 
8340
- # [Location] the location of this node
8341
- attr_reader :location
8342
-
8343
8049
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
8344
8050
  attr_reader :comments
8345
8051
 
@@ -8413,9 +8119,6 @@ module SyntaxTree
8413
8119
  # [String] the beginning of the array literal
8414
8120
  attr_reader :value
8415
8121
 
8416
- # [Location] the location of this node
8417
- attr_reader :location
8418
-
8419
8122
  def initialize(value:, location:)
8420
8123
  @value = value
8421
8124
  @location = location
@@ -8430,9 +8133,6 @@ module SyntaxTree
8430
8133
  # [String] the rational number literal
8431
8134
  attr_reader :value
8432
8135
 
8433
- # [Location] the location of this node
8434
- attr_reader :location
8435
-
8436
8136
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
8437
8137
  attr_reader :comments
8438
8138
 
@@ -8479,9 +8179,6 @@ module SyntaxTree
8479
8179
  # [String] the right brace
8480
8180
  attr_reader :value
8481
8181
 
8482
- # [Location] the location of this node
8483
- attr_reader :location
8484
-
8485
8182
  def initialize(value:, location:)
8486
8183
  @value = value
8487
8184
  @location = location
@@ -8493,9 +8190,6 @@ module SyntaxTree
8493
8190
  # [String] the right bracket
8494
8191
  attr_reader :value
8495
8192
 
8496
- # [Location] the location of this node
8497
- attr_reader :location
8498
-
8499
8193
  def initialize(value:, location:)
8500
8194
  @value = value
8501
8195
  @location = location
@@ -8510,9 +8204,6 @@ module SyntaxTree
8510
8204
  # [String] the value of the keyword
8511
8205
  attr_reader :value
8512
8206
 
8513
- # [Location] the location of this node
8514
- attr_reader :location
8515
-
8516
8207
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
8517
8208
  attr_reader :comments
8518
8209
 
@@ -8568,9 +8259,6 @@ module SyntaxTree
8568
8259
  # regular expression
8569
8260
  attr_reader :parts
8570
8261
 
8571
- # [Location] the location of this node
8572
- attr_reader :location
8573
-
8574
8262
  def initialize(beginning:, parts:, location:)
8575
8263
  @beginning = beginning
8576
8264
  @parts = parts
@@ -8591,9 +8279,6 @@ module SyntaxTree
8591
8279
  # [String] the beginning of the regular expression
8592
8280
  attr_reader :value
8593
8281
 
8594
- # [Location] the location of this node
8595
- attr_reader :location
8596
-
8597
8282
  def initialize(value:, location:)
8598
8283
  @value = value
8599
8284
  @location = location
@@ -8614,9 +8299,6 @@ module SyntaxTree
8614
8299
  # [String] the end of the regular expression
8615
8300
  attr_reader :value
8616
8301
 
8617
- # [Location] the location of this node
8618
- attr_reader :location
8619
-
8620
8302
  def initialize(value:, location:)
8621
8303
  @value = value
8622
8304
  @location = location
@@ -8638,9 +8320,6 @@ module SyntaxTree
8638
8320
  # regular expression literal
8639
8321
  attr_reader :parts
8640
8322
 
8641
- # [Location] the location of this node
8642
- attr_reader :location
8643
-
8644
8323
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
8645
8324
  attr_reader :comments
8646
8325
 
@@ -8765,9 +8444,6 @@ module SyntaxTree
8765
8444
  # exception
8766
8445
  attr_reader :variable
8767
8446
 
8768
- # [Location] the location of this node
8769
- attr_reader :location
8770
-
8771
8447
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
8772
8448
  attr_reader :comments
8773
8449
 
@@ -8848,9 +8524,6 @@ module SyntaxTree
8848
8524
  # [nil | Rescue] the optional next clause in the chain
8849
8525
  attr_reader :consequent
8850
8526
 
8851
- # [Location] the location of this node
8852
- attr_reader :location
8853
-
8854
8527
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
8855
8528
  attr_reader :comments
8856
8529
 
@@ -8969,9 +8642,6 @@ module SyntaxTree
8969
8642
  # [untyped] the value to use if the executed expression raises an error
8970
8643
  attr_reader :value
8971
8644
 
8972
- # [Location] the location of this node
8973
- attr_reader :location
8974
-
8975
8645
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
8976
8646
  attr_reader :comments
8977
8647
 
@@ -9047,9 +8717,6 @@ module SyntaxTree
9047
8717
  # [nil | Ident] the name of the parameter
9048
8718
  attr_reader :name
9049
8719
 
9050
- # [Location] the location of this node
9051
- attr_reader :location
9052
-
9053
8720
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
9054
8721
  attr_reader :comments
9055
8722
 
@@ -9100,9 +8767,6 @@ module SyntaxTree
9100
8767
  # [String] the value of the keyword
9101
8768
  attr_reader :value
9102
8769
 
9103
- # [Location] the location of this node
9104
- attr_reader :location
9105
-
9106
8770
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
9107
8771
  attr_reader :comments
9108
8772
 
@@ -9152,9 +8816,6 @@ module SyntaxTree
9152
8816
  # [Args] the arguments being passed to the keyword
9153
8817
  attr_reader :arguments
9154
8818
 
9155
- # [Location] the location of this node
9156
- attr_reader :location
9157
-
9158
8819
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
9159
8820
  attr_reader :comments
9160
8821
 
@@ -9204,9 +8865,6 @@ module SyntaxTree
9204
8865
  # [String] the value of the keyword
9205
8866
  attr_reader :value
9206
8867
 
9207
- # [Location] the location of this node
9208
- attr_reader :location
9209
-
9210
8868
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
9211
8869
  attr_reader :comments
9212
8870
 
@@ -9253,9 +8911,6 @@ module SyntaxTree
9253
8911
  # [String] the parenthesis
9254
8912
  attr_reader :value
9255
8913
 
9256
- # [Location] the location of this node
9257
- attr_reader :location
9258
-
9259
8914
  def initialize(value:, location:)
9260
8915
  @value = value
9261
8916
  @location = location
@@ -9276,9 +8931,6 @@ module SyntaxTree
9276
8931
  # [BodyStmt] the expressions to be executed
9277
8932
  attr_reader :bodystmt
9278
8933
 
9279
- # [Location] the location of this node
9280
- attr_reader :location
9281
-
9282
8934
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
9283
8935
  attr_reader :comments
9284
8936
 
@@ -9354,9 +9006,6 @@ module SyntaxTree
9354
9006
  # [Array[ untyped ]] the list of expressions contained within this node
9355
9007
  attr_reader :body
9356
9008
 
9357
- # [Location] the location of this node
9358
- attr_reader :location
9359
-
9360
9009
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
9361
9010
  attr_reader :comments
9362
9011
 
@@ -9530,9 +9179,6 @@ module SyntaxTree
9530
9179
  # string
9531
9180
  attr_reader :parts
9532
9181
 
9533
- # [Location] the location of this node
9534
- attr_reader :location
9535
-
9536
9182
  def initialize(parts:, location:)
9537
9183
  @parts = parts
9538
9184
  @location = location
@@ -9552,9 +9198,6 @@ module SyntaxTree
9552
9198
  # [StringLiteral] the right side of the concatenation
9553
9199
  attr_reader :right
9554
9200
 
9555
- # [Location] the location of this node
9556
- attr_reader :location
9557
-
9558
9201
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
9559
9202
  attr_reader :comments
9560
9203
 
@@ -9621,9 +9264,6 @@ module SyntaxTree
9621
9264
  # [Backref | VarRef] the variable being interpolated
9622
9265
  attr_reader :variable
9623
9266
 
9624
- # [Location] the location of this node
9625
- attr_reader :location
9626
-
9627
9267
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
9628
9268
  attr_reader :comments
9629
9269
 
@@ -9680,9 +9320,6 @@ module SyntaxTree
9680
9320
  # [Statements] the expressions to be interpolated
9681
9321
  attr_reader :statements
9682
9322
 
9683
- # [Location] the location of this node
9684
- attr_reader :location
9685
-
9686
9323
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
9687
9324
  attr_reader :comments
9688
9325
 
@@ -9756,9 +9393,6 @@ module SyntaxTree
9756
9393
  # [String] which quote was used by the string literal
9757
9394
  attr_reader :quote
9758
9395
 
9759
- # [Location] the location of this node
9760
- attr_reader :location
9761
-
9762
9396
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
9763
9397
  attr_reader :comments
9764
9398
 
@@ -9840,9 +9474,6 @@ module SyntaxTree
9840
9474
  # [ArgParen | Args] the arguments to the keyword
9841
9475
  attr_reader :arguments
9842
9476
 
9843
- # [Location] the location of this node
9844
- attr_reader :location
9845
-
9846
9477
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
9847
9478
  attr_reader :comments
9848
9479
 
@@ -9913,9 +9544,6 @@ module SyntaxTree
9913
9544
  # [String] the beginning of the symbol
9914
9545
  attr_reader :value
9915
9546
 
9916
- # [Location] the location of this node
9917
- attr_reader :location
9918
-
9919
9547
  def initialize(value:, location:)
9920
9548
  @value = value
9921
9549
  @location = location
@@ -9932,9 +9560,6 @@ module SyntaxTree
9932
9560
  # symbol
9933
9561
  attr_reader :value
9934
9562
 
9935
- # [Location] the location of this node
9936
- attr_reader :location
9937
-
9938
9563
  def initialize(value:, location:)
9939
9564
  @value = value
9940
9565
  @location = location
@@ -9951,9 +9576,6 @@ module SyntaxTree
9951
9576
  # symbol
9952
9577
  attr_reader :value
9953
9578
 
9954
- # [Location] the location of this node
9955
- attr_reader :location
9956
-
9957
9579
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
9958
9580
  attr_reader :comments
9959
9581
 
@@ -10010,9 +9632,6 @@ module SyntaxTree
10010
9632
  # [Array[ Word ]] the words in the symbol array literal
10011
9633
  attr_reader :elements
10012
9634
 
10013
- # [Location] the location of this node
10014
- attr_reader :location
10015
-
10016
9635
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
10017
9636
  attr_reader :comments
10018
9637
 
@@ -10090,9 +9709,6 @@ module SyntaxTree
10090
9709
  # [String] the beginning of the symbol literal array
10091
9710
  attr_reader :value
10092
9711
 
10093
- # [Location] the location of this node
10094
- attr_reader :location
10095
-
10096
9712
  def initialize(value:, location:)
10097
9713
  @value = value
10098
9714
  @location = location
@@ -10108,9 +9724,6 @@ module SyntaxTree
10108
9724
  # [String] the beginning of the lambda literal
10109
9725
  attr_reader :value
10110
9726
 
10111
- # [Location] the location of this node
10112
- attr_reader :location
10113
-
10114
9727
  def initialize(value:, location:)
10115
9728
  @value = value
10116
9729
  @location = location
@@ -10127,9 +9740,6 @@ module SyntaxTree
10127
9740
  # [String] the beginning of the body of the lambda literal
10128
9741
  attr_reader :value
10129
9742
 
10130
- # [Location] the location of this node
10131
- attr_reader :location
10132
-
10133
9743
  def initialize(value:, location:)
10134
9744
  @value = value
10135
9745
  @location = location
@@ -10146,9 +9756,6 @@ module SyntaxTree
10146
9756
  # [Const] the constant being assigned
10147
9757
  attr_reader :constant
10148
9758
 
10149
- # [Location] the location of this node
10150
- attr_reader :location
10151
-
10152
9759
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
10153
9760
  attr_reader :comments
10154
9761
 
@@ -10203,9 +9810,6 @@ module SyntaxTree
10203
9810
  # [Const] the constant being referenced
10204
9811
  attr_reader :constant
10205
9812
 
10206
- # [Location] the location of this node
10207
- attr_reader :location
10208
-
10209
9813
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
10210
9814
  attr_reader :comments
10211
9815
 
@@ -10265,9 +9869,6 @@ module SyntaxTree
10265
9869
  # [String] the beginning of the string
10266
9870
  attr_reader :value
10267
9871
 
10268
- # [Location] the location of this node
10269
- attr_reader :location
10270
-
10271
9872
  def initialize(value:, location:)
10272
9873
  @value = value
10273
9874
  @location = location
@@ -10286,9 +9887,6 @@ module SyntaxTree
10286
9887
  # [String] the content of the string
10287
9888
  attr_reader :value
10288
9889
 
10289
- # [Location] the location of this node
10290
- attr_reader :location
10291
-
10292
9890
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
10293
9891
  attr_reader :comments
10294
9892
 
@@ -10351,9 +9949,6 @@ module SyntaxTree
10351
9949
  # [String] the end of the string
10352
9950
  attr_reader :value
10353
9951
 
10354
- # [Location] the location of this node
10355
- attr_reader :location
10356
-
10357
9952
  def initialize(value:, location:)
10358
9953
  @value = value
10359
9954
  @location = location
@@ -10371,9 +9966,6 @@ module SyntaxTree
10371
9966
  # [boolean] whether or not parentheses were used
10372
9967
  attr_reader :parentheses
10373
9968
 
10374
- # [Location] the location of this node
10375
- attr_reader :location
10376
-
10377
9969
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
10378
9970
  attr_reader :comments
10379
9971
 
@@ -10439,9 +10031,6 @@ module SyntaxTree
10439
10031
  # [untyped] the statement on which to operate
10440
10032
  attr_reader :statement
10441
10033
 
10442
- # [Location] the location of this node
10443
- attr_reader :location
10444
-
10445
10034
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
10446
10035
  attr_reader :comments
10447
10036
 
@@ -10526,9 +10115,6 @@ module SyntaxTree
10526
10115
  # [Array[ DynaSymbol | SymbolLiteral ]] the symbols to undefine
10527
10116
  attr_reader :symbols
10528
10117
 
10529
- # [Location] the location of this node
10530
- attr_reader :location
10531
-
10532
10118
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
10533
10119
  attr_reader :comments
10534
10120
 
@@ -10593,9 +10179,6 @@ module SyntaxTree
10593
10179
  # [nil, Elsif, Else] the next clause in the chain
10594
10180
  attr_reader :consequent
10595
10181
 
10596
- # [Location] the location of this node
10597
- attr_reader :location
10598
-
10599
10182
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
10600
10183
  attr_reader :comments
10601
10184
 
@@ -10675,9 +10258,6 @@ module SyntaxTree
10675
10258
  # [untyped] the expression to be checked
10676
10259
  attr_reader :predicate
10677
10260
 
10678
- # [Location] the location of this node
10679
- attr_reader :location
10680
-
10681
10261
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
10682
10262
  attr_reader :comments
10683
10263
 
@@ -10793,9 +10373,6 @@ module SyntaxTree
10793
10373
  # [Statements] the expressions to be executed
10794
10374
  attr_reader :statements
10795
10375
 
10796
- # [Location] the location of this node
10797
- attr_reader :location
10798
-
10799
10376
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
10800
10377
  attr_reader :comments
10801
10378
 
@@ -10872,9 +10449,6 @@ module SyntaxTree
10872
10449
  # [untyped] the expression to be checked
10873
10450
  attr_reader :predicate
10874
10451
 
10875
- # [Location] the location of this node
10876
- attr_reader :location
10877
-
10878
10452
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
10879
10453
  attr_reader :comments
10880
10454
 
@@ -10961,9 +10535,6 @@ module SyntaxTree
10961
10535
  # [Backref | GVar] the current name of the variable to be aliased
10962
10536
  attr_reader :right
10963
10537
 
10964
- # [Location] the location of this node
10965
- attr_reader :location
10966
-
10967
10538
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
10968
10539
  attr_reader :comments
10969
10540
 
@@ -11028,9 +10599,6 @@ module SyntaxTree
11028
10599
  # [nil | Const | CVar | GVar | Ident | IVar] the target of this node
11029
10600
  attr_reader :value
11030
10601
 
11031
- # [Location] the location of this node
11032
- attr_reader :location
11033
-
11034
10602
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
11035
10603
  attr_reader :comments
11036
10604
 
@@ -11084,9 +10652,6 @@ module SyntaxTree
11084
10652
  # [Const | CVar | GVar | Ident | IVar | Kw] the value of this node
11085
10653
  attr_reader :value
11086
10654
 
11087
- # [Location] the location of this node
11088
- attr_reader :location
11089
-
11090
10655
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
11091
10656
  attr_reader :comments
11092
10657
 
@@ -11141,9 +10706,6 @@ module SyntaxTree
11141
10706
  # [VarRef] the value of this node
11142
10707
  attr_reader :value
11143
10708
 
11144
- # [Location] the location of this node
11145
- attr_reader :location
11146
-
11147
10709
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
11148
10710
  attr_reader :comments
11149
10711
 
@@ -11200,9 +10762,6 @@ module SyntaxTree
11200
10762
  # [Ident] the value of this expression
11201
10763
  attr_reader :value
11202
10764
 
11203
- # [Location] the location of this node
11204
- attr_reader :location
11205
-
11206
10765
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
11207
10766
  attr_reader :comments
11208
10767
 
@@ -11301,9 +10860,6 @@ module SyntaxTree
11301
10860
  # [nil | Else | When] the next clause in the chain
11302
10861
  attr_reader :consequent
11303
10862
 
11304
- # [Location] the location of this node
11305
- attr_reader :location
11306
-
11307
10863
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
11308
10864
  attr_reader :comments
11309
10865
 
@@ -11418,9 +10974,6 @@ module SyntaxTree
11418
10974
  # [Statements] the expressions to be executed
11419
10975
  attr_reader :statements
11420
10976
 
11421
- # [Location] the location of this node
11422
- attr_reader :location
11423
-
11424
10977
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
11425
10978
  attr_reader :comments
11426
10979
 
@@ -11497,9 +11050,6 @@ module SyntaxTree
11497
11050
  # [untyped] the expression to be checked
11498
11051
  attr_reader :predicate
11499
11052
 
11500
- # [Location] the location of this node
11501
- attr_reader :location
11502
-
11503
11053
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
11504
11054
  attr_reader :comments
11505
11055
 
@@ -11586,9 +11136,6 @@ module SyntaxTree
11586
11136
  # word
11587
11137
  attr_reader :parts
11588
11138
 
11589
- # [Location] the location of this node
11590
- attr_reader :location
11591
-
11592
11139
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
11593
11140
  attr_reader :comments
11594
11141
 
@@ -11645,9 +11192,6 @@ module SyntaxTree
11645
11192
  # [Array[ Word ]] the elements of this array
11646
11193
  attr_reader :elements
11647
11194
 
11648
- # [Location] the location of this node
11649
- attr_reader :location
11650
-
11651
11195
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
11652
11196
  attr_reader :comments
11653
11197
 
@@ -11722,9 +11266,6 @@ module SyntaxTree
11722
11266
  # [String] the start of the word literal array
11723
11267
  attr_reader :value
11724
11268
 
11725
- # [Location] the location of this node
11726
- attr_reader :location
11727
-
11728
11269
  def initialize(value:, location:)
11729
11270
  @value = value
11730
11271
  @location = location
@@ -11740,9 +11281,6 @@ module SyntaxTree
11740
11281
  # xstring
11741
11282
  attr_reader :parts
11742
11283
 
11743
- # [Location] the location of this node
11744
- attr_reader :location
11745
-
11746
11284
  def initialize(parts:, location:)
11747
11285
  @parts = parts
11748
11286
  @location = location
@@ -11758,9 +11296,6 @@ module SyntaxTree
11758
11296
  # xstring
11759
11297
  attr_reader :parts
11760
11298
 
11761
- # [Location] the location of this node
11762
- attr_reader :location
11763
-
11764
11299
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
11765
11300
  attr_reader :comments
11766
11301
 
@@ -11815,9 +11350,6 @@ module SyntaxTree
11815
11350
  # [Args | Paren] the arguments passed to the yield
11816
11351
  attr_reader :arguments
11817
11352
 
11818
- # [Location] the location of this node
11819
- attr_reader :location
11820
-
11821
11353
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
11822
11354
  attr_reader :comments
11823
11355
 
@@ -11881,9 +11413,6 @@ module SyntaxTree
11881
11413
  # [String] the value of the keyword
11882
11414
  attr_reader :value
11883
11415
 
11884
- # [Location] the location of this node
11885
- attr_reader :location
11886
-
11887
11416
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
11888
11417
  attr_reader :comments
11889
11418
 
@@ -11933,9 +11462,6 @@ module SyntaxTree
11933
11462
  # [String] the value of the keyword
11934
11463
  attr_reader :value
11935
11464
 
11936
- # [Location] the location of this node
11937
- attr_reader :location
11938
-
11939
11465
  # [Array[ Comment | EmbDoc ]] the comments attached to this node
11940
11466
  attr_reader :comments
11941
11467