@@ -1538,7 +1538,12 @@ def format(q)
1538
1538
attr_reader :comments
1539
1539
1540
1540
def initialize (
1541
- constant :, requireds :, rest :, posts :, location :, comments : [ ]
1541
+ constant :,
1542
+ requireds :,
1543
+ rest :,
1544
+ posts :,
1545
+ location :,
1546
+ comments : [ ]
1542
1547
)
1543
1548
@constant = constant
1544
1549
@requireds = requireds
@@ -3489,7 +3494,12 @@ class CommandCall
3489
3494
attr_reader :comments
3490
3495
3491
3496
def initialize (
3492
- receiver :, operator :, message :, arguments :, location :, comments : [ ]
3497
+ receiver :,
3498
+ operator :,
3499
+ message :,
3500
+ arguments :,
3501
+ location :,
3502
+ comments : [ ]
3493
3503
)
3494
3504
@receiver = receiver
3495
3505
@operator = operator
@@ -4333,7 +4343,13 @@ class Defs
4333
4343
attr_reader :comments
4334
4344
4335
4345
def initialize (
4336
- target :, operator :, name :, params :, bodystmt :, location :, comments : [ ]
4346
+ target :,
4347
+ operator :,
4348
+ name :,
4349
+ params :,
4350
+ bodystmt :,
4351
+ location :,
4352
+ comments : [ ]
4337
4353
)
4338
4354
@target = target
4339
4355
@operator = operator
@@ -5025,7 +5041,11 @@ class Elsif
5025
5041
attr_reader :comments
5026
5042
5027
5043
def initialize (
5028
- predicate :, statements :, consequent :, location :, comments : [ ]
5044
+ predicate :,
5045
+ statements :,
5046
+ consequent :,
5047
+ location :,
5048
+ comments : [ ]
5029
5049
)
5030
5050
@predicate = predicate
5031
5051
@statements = statements
@@ -6479,7 +6499,11 @@ class If
6479
6499
attr_reader :comments
6480
6500
6481
6501
def initialize (
6482
- predicate :, statements :, consequent :, location :, comments : [ ]
6502
+ predicate :,
6503
+ statements :,
6504
+ consequent :,
6505
+ location :,
6506
+ comments : [ ]
6483
6507
)
6484
6508
@predicate = predicate
6485
6509
@statements = statements
@@ -8547,10 +8571,8 @@ def format(q)
8547
8571
parts << KeywordRestFormatter . new ( keyword_rest ) if keyword_rest
8548
8572
parts << block if block
8549
8573
8550
- q . group do
8551
- q . seplist ( parts ) { |part | q . format ( part ) }
8552
- q . format ( rest ) if rest && rest . is_a? ( ExcessedComma )
8553
- end
8574
+ q . seplist ( parts ) { |part | q . format ( part ) }
8575
+ q . format ( rest ) if rest && rest . is_a? ( ExcessedComma )
8554
8576
end
8555
8577
8556
8578
def pretty_print ( q )
@@ -8644,7 +8666,13 @@ def to_json(*opts)
8644
8666
# (nil | BlockArg) block
8645
8667
# ) -> Params
8646
8668
def on_params (
8647
- requireds , optionals , rest , posts , keywords , keyword_rest , block
8669
+ requireds ,
8670
+ optionals ,
8671
+ rest ,
8672
+ posts ,
8673
+ keywords ,
8674
+ keyword_rest ,
8675
+ block
8648
8676
)
8649
8677
parts =
8650
8678
[
@@ -9692,7 +9720,11 @@ class Rescue
9692
9720
attr_reader :comments
9693
9721
9694
9722
def initialize (
9695
- exception :, statements :, consequent :, location :, comments : [ ]
9723
+ exception :,
9724
+ statements :,
9725
+ consequent :,
9726
+ location :,
9727
+ comments : [ ]
9696
9728
)
9697
9729
@exception = exception
9698
9730
@statements = statements
@@ -11721,7 +11753,11 @@ class Unless
11721
11753
attr_reader :comments
11722
11754
11723
11755
def initialize (
11724
- predicate :, statements :, consequent :, location :, comments : [ ]
11756
+ predicate :,
11757
+ statements :,
11758
+ consequent :,
11759
+ location :,
11760
+ comments : [ ]
11725
11761
)
11726
11762
@predicate = predicate
11727
11763
@statements = statements
@@ -12426,7 +12462,11 @@ class When
12426
12462
attr_reader :comments
12427
12463
12428
12464
def initialize (
12429
- arguments :, statements :, consequent :, location :, comments : [ ]
12465
+ arguments :,
12466
+ statements :,
12467
+ consequent :,
12468
+ location :,
12469
+ comments : [ ]
12430
12470
)
12431
12471
@arguments = arguments
12432
12472
@statements = statements
0 commit comments