prism 0.25.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -1
- data/Makefile +17 -14
- data/config.yml +12 -1
- data/docs/configuration.md +1 -0
- data/docs/releasing.md +7 -9
- data/ext/prism/extconf.rb +8 -3
- data/ext/prism/extension.c +28 -2
- data/ext/prism/extension.h +1 -1
- data/include/prism/diagnostic.h +12 -1
- data/include/prism/parser.h +5 -1
- data/include/prism/version.h +2 -2
- data/lib/prism/desugar_compiler.rb +4 -2
- data/lib/prism/ffi.rb +10 -0
- data/lib/prism/node.rb +16 -0
- data/lib/prism/parse_result.rb +5 -0
- data/lib/prism/reflection.rb +421 -0
- data/lib/prism/serialize.rb +13 -2
- data/lib/prism/translation/parser/compiler.rb +48 -11
- data/lib/prism.rb +1 -16
- data/prism.gemspec +7 -3
- data/rbi/prism/node.rbi +453 -0
- data/rbi/prism/parse_result.rbi +3 -0
- data/rbi/prism/reflection.rbi +64 -0
- data/rbi/prism/translation/parser.rbi +11 -0
- data/rbi/prism/translation/parser33.rbi +6 -0
- data/rbi/prism/translation/parser34.rbi +6 -0
- data/rbi/prism.rbi +33 -33
- data/sig/prism/node.rbs +10 -1
- data/sig/prism/parse_result.rbs +1 -0
- data/sig/prism/reflection.rbs +56 -0
- data/sig/prism.rbs +2 -2
- data/src/diagnostic.c +30 -8
- data/src/options.c +30 -19
- data/src/prism.c +404 -67
- data/src/token_type.c +3 -3
- data/src/util/pm_integer.c +14 -8
- metadata +8 -4
- data/include/prism/util/pm_state_stack.h +0 -42
- data/src/util/pm_state_stack.c +0 -25
data/rbi/prism/node.rbi
CHANGED
@@ -45,6 +45,9 @@ class Prism::Node
|
|
45
45
|
sig { abstract.returns(T::Array[T.any(Prism::Node, Prism::Location)]) }
|
46
46
|
def comment_targets; end
|
47
47
|
|
48
|
+
sig { abstract.returns(T::Array[Prism::Reflection::Field]) }
|
49
|
+
def fields; end
|
50
|
+
|
48
51
|
sig { abstract.returns(Symbol) }
|
49
52
|
def type; end
|
50
53
|
|
@@ -93,6 +96,9 @@ class Prism::AliasGlobalVariableNode < Prism::Node
|
|
93
96
|
sig { returns(String) }
|
94
97
|
def keyword; end
|
95
98
|
|
99
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
100
|
+
def fields; end
|
101
|
+
|
96
102
|
sig { params(inspector: T.untyped).returns(String) }
|
97
103
|
def inspect(inspector = nil); end
|
98
104
|
|
@@ -141,6 +147,9 @@ class Prism::AliasMethodNode < Prism::Node
|
|
141
147
|
sig { returns(String) }
|
142
148
|
def keyword; end
|
143
149
|
|
150
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
151
|
+
def fields; end
|
152
|
+
|
144
153
|
sig { params(inspector: T.untyped).returns(String) }
|
145
154
|
def inspect(inspector = nil); end
|
146
155
|
|
@@ -189,6 +198,9 @@ class Prism::AlternationPatternNode < Prism::Node
|
|
189
198
|
sig { returns(String) }
|
190
199
|
def operator; end
|
191
200
|
|
201
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
202
|
+
def fields; end
|
203
|
+
|
192
204
|
sig { params(inspector: T.untyped).returns(String) }
|
193
205
|
def inspect(inspector = nil); end
|
194
206
|
|
@@ -237,6 +249,9 @@ class Prism::AndNode < Prism::Node
|
|
237
249
|
sig { returns(String) }
|
238
250
|
def operator; end
|
239
251
|
|
252
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
253
|
+
def fields; end
|
254
|
+
|
240
255
|
sig { params(inspector: T.untyped).returns(String) }
|
241
256
|
def inspect(inspector = nil); end
|
242
257
|
|
@@ -282,6 +297,9 @@ class Prism::ArgumentsNode < Prism::Node
|
|
282
297
|
sig { returns(T::Boolean) }
|
283
298
|
def contains_keyword_splat?; end
|
284
299
|
|
300
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
301
|
+
def fields; end
|
302
|
+
|
285
303
|
sig { params(inspector: T.untyped).returns(String) }
|
286
304
|
def inspect(inspector = nil); end
|
287
305
|
|
@@ -339,6 +357,9 @@ class Prism::ArrayNode < Prism::Node
|
|
339
357
|
sig { returns(T.nilable(String)) }
|
340
358
|
def closing; end
|
341
359
|
|
360
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
361
|
+
def fields; end
|
362
|
+
|
342
363
|
sig { params(inspector: T.untyped).returns(String) }
|
343
364
|
def inspect(inspector = nil); end
|
344
365
|
|
@@ -411,6 +432,9 @@ class Prism::ArrayPatternNode < Prism::Node
|
|
411
432
|
sig { returns(T.nilable(String)) }
|
412
433
|
def closing; end
|
413
434
|
|
435
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
436
|
+
def fields; end
|
437
|
+
|
414
438
|
sig { params(inspector: T.untyped).returns(String) }
|
415
439
|
def inspect(inspector = nil); end
|
416
440
|
|
@@ -459,6 +483,9 @@ class Prism::AssocNode < Prism::Node
|
|
459
483
|
sig { returns(T.nilable(String)) }
|
460
484
|
def operator; end
|
461
485
|
|
486
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
487
|
+
def fields; end
|
488
|
+
|
462
489
|
sig { params(inspector: T.untyped).returns(String) }
|
463
490
|
def inspect(inspector = nil); end
|
464
491
|
|
@@ -504,6 +531,9 @@ class Prism::AssocSplatNode < Prism::Node
|
|
504
531
|
sig { returns(String) }
|
505
532
|
def operator; end
|
506
533
|
|
534
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
535
|
+
def fields; end
|
536
|
+
|
507
537
|
sig { params(inspector: T.untyped).returns(String) }
|
508
538
|
def inspect(inspector = nil); end
|
509
539
|
|
@@ -543,6 +573,9 @@ class Prism::BackReferenceReadNode < Prism::Node
|
|
543
573
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
544
574
|
def deconstruct_keys(keys); end
|
545
575
|
|
576
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
577
|
+
def fields; end
|
578
|
+
|
546
579
|
sig { params(inspector: T.untyped).returns(String) }
|
547
580
|
def inspect(inspector = nil); end
|
548
581
|
|
@@ -605,6 +638,9 @@ class Prism::BeginNode < Prism::Node
|
|
605
638
|
sig { returns(T.nilable(String)) }
|
606
639
|
def end_keyword; end
|
607
640
|
|
641
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
642
|
+
def fields; end
|
643
|
+
|
608
644
|
sig { params(inspector: T.untyped).returns(String) }
|
609
645
|
def inspect(inspector = nil); end
|
610
646
|
|
@@ -650,6 +686,9 @@ class Prism::BlockArgumentNode < Prism::Node
|
|
650
686
|
sig { returns(String) }
|
651
687
|
def operator; end
|
652
688
|
|
689
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
690
|
+
def fields; end
|
691
|
+
|
653
692
|
sig { params(inspector: T.untyped).returns(String) }
|
654
693
|
def inspect(inspector = nil); end
|
655
694
|
|
@@ -695,6 +734,9 @@ class Prism::BlockLocalVariableNode < Prism::Node
|
|
695
734
|
sig { returns(T::Boolean) }
|
696
735
|
def repeated_parameter?; end
|
697
736
|
|
737
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
738
|
+
def fields; end
|
739
|
+
|
698
740
|
sig { params(inspector: T.untyped).returns(String) }
|
699
741
|
def inspect(inspector = nil); end
|
700
742
|
|
@@ -752,6 +794,9 @@ class Prism::BlockNode < Prism::Node
|
|
752
794
|
sig { returns(String) }
|
753
795
|
def closing; end
|
754
796
|
|
797
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
798
|
+
def fields; end
|
799
|
+
|
755
800
|
sig { params(inspector: T.untyped).returns(String) }
|
756
801
|
def inspect(inspector = nil); end
|
757
802
|
|
@@ -807,6 +852,9 @@ class Prism::BlockParameterNode < Prism::Node
|
|
807
852
|
sig { returns(String) }
|
808
853
|
def operator; end
|
809
854
|
|
855
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
856
|
+
def fields; end
|
857
|
+
|
810
858
|
sig { params(inspector: T.untyped).returns(String) }
|
811
859
|
def inspect(inspector = nil); end
|
812
860
|
|
@@ -865,6 +913,9 @@ class Prism::BlockParametersNode < Prism::Node
|
|
865
913
|
sig { returns(T.nilable(String)) }
|
866
914
|
def closing; end
|
867
915
|
|
916
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
917
|
+
def fields; end
|
918
|
+
|
868
919
|
sig { params(inspector: T.untyped).returns(String) }
|
869
920
|
def inspect(inspector = nil); end
|
870
921
|
|
@@ -910,6 +961,9 @@ class Prism::BreakNode < Prism::Node
|
|
910
961
|
sig { returns(String) }
|
911
962
|
def keyword; end
|
912
963
|
|
964
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
965
|
+
def fields; end
|
966
|
+
|
913
967
|
sig { params(inspector: T.untyped).returns(String) }
|
914
968
|
def inspect(inspector = nil); end
|
915
969
|
|
@@ -991,6 +1045,9 @@ class Prism::CallAndWriteNode < Prism::Node
|
|
991
1045
|
sig { returns(String) }
|
992
1046
|
def operator; end
|
993
1047
|
|
1048
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
1049
|
+
def fields; end
|
1050
|
+
|
994
1051
|
sig { params(inspector: T.untyped).returns(String) }
|
995
1052
|
def inspect(inspector = nil); end
|
996
1053
|
|
@@ -1093,6 +1150,9 @@ class Prism::CallNode < Prism::Node
|
|
1093
1150
|
sig { returns(T.nilable(String)) }
|
1094
1151
|
def closing; end
|
1095
1152
|
|
1153
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
1154
|
+
def fields; end
|
1155
|
+
|
1096
1156
|
sig { params(inspector: T.untyped).returns(String) }
|
1097
1157
|
def inspect(inspector = nil); end
|
1098
1158
|
|
@@ -1174,6 +1234,9 @@ class Prism::CallOperatorWriteNode < Prism::Node
|
|
1174
1234
|
sig { returns(T.nilable(String)) }
|
1175
1235
|
def message; end
|
1176
1236
|
|
1237
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
1238
|
+
def fields; end
|
1239
|
+
|
1177
1240
|
sig { params(inspector: T.untyped).returns(String) }
|
1178
1241
|
def inspect(inspector = nil); end
|
1179
1242
|
|
@@ -1255,6 +1318,9 @@ class Prism::CallOrWriteNode < Prism::Node
|
|
1255
1318
|
sig { returns(String) }
|
1256
1319
|
def operator; end
|
1257
1320
|
|
1321
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
1322
|
+
def fields; end
|
1323
|
+
|
1258
1324
|
sig { params(inspector: T.untyped).returns(String) }
|
1259
1325
|
def inspect(inspector = nil); end
|
1260
1326
|
|
@@ -1332,6 +1398,9 @@ class Prism::CallTargetNode < Prism::Node
|
|
1332
1398
|
sig { returns(String) }
|
1333
1399
|
def message; end
|
1334
1400
|
|
1401
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
1402
|
+
def fields; end
|
1403
|
+
|
1335
1404
|
sig { params(inspector: T.untyped).returns(String) }
|
1336
1405
|
def inspect(inspector = nil); end
|
1337
1406
|
|
@@ -1380,6 +1449,9 @@ class Prism::CapturePatternNode < Prism::Node
|
|
1380
1449
|
sig { returns(String) }
|
1381
1450
|
def operator; end
|
1382
1451
|
|
1452
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
1453
|
+
def fields; end
|
1454
|
+
|
1383
1455
|
sig { params(inspector: T.untyped).returns(String) }
|
1384
1456
|
def inspect(inspector = nil); end
|
1385
1457
|
|
@@ -1439,6 +1511,9 @@ class Prism::CaseMatchNode < Prism::Node
|
|
1439
1511
|
sig { returns(String) }
|
1440
1512
|
def end_keyword; end
|
1441
1513
|
|
1514
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
1515
|
+
def fields; end
|
1516
|
+
|
1442
1517
|
sig { params(inspector: T.untyped).returns(String) }
|
1443
1518
|
def inspect(inspector = nil); end
|
1444
1519
|
|
@@ -1498,6 +1573,9 @@ class Prism::CaseNode < Prism::Node
|
|
1498
1573
|
sig { returns(String) }
|
1499
1574
|
def end_keyword; end
|
1500
1575
|
|
1576
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
1577
|
+
def fields; end
|
1578
|
+
|
1501
1579
|
sig { params(inspector: T.untyped).returns(String) }
|
1502
1580
|
def inspect(inspector = nil); end
|
1503
1581
|
|
@@ -1567,6 +1645,9 @@ class Prism::ClassNode < Prism::Node
|
|
1567
1645
|
sig { returns(String) }
|
1568
1646
|
def end_keyword; end
|
1569
1647
|
|
1648
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
1649
|
+
def fields; end
|
1650
|
+
|
1570
1651
|
sig { params(inspector: T.untyped).returns(String) }
|
1571
1652
|
def inspect(inspector = nil); end
|
1572
1653
|
|
@@ -1618,6 +1699,9 @@ class Prism::ClassVariableAndWriteNode < Prism::Node
|
|
1618
1699
|
sig { returns(String) }
|
1619
1700
|
def operator; end
|
1620
1701
|
|
1702
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
1703
|
+
def fields; end
|
1704
|
+
|
1621
1705
|
sig { params(inspector: T.untyped).returns(String) }
|
1622
1706
|
def inspect(inspector = nil); end
|
1623
1707
|
|
@@ -1669,6 +1753,9 @@ class Prism::ClassVariableOperatorWriteNode < Prism::Node
|
|
1669
1753
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
1670
1754
|
def deconstruct_keys(keys); end
|
1671
1755
|
|
1756
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
1757
|
+
def fields; end
|
1758
|
+
|
1672
1759
|
sig { params(inspector: T.untyped).returns(String) }
|
1673
1760
|
def inspect(inspector = nil); end
|
1674
1761
|
|
@@ -1720,6 +1807,9 @@ class Prism::ClassVariableOrWriteNode < Prism::Node
|
|
1720
1807
|
sig { returns(String) }
|
1721
1808
|
def operator; end
|
1722
1809
|
|
1810
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
1811
|
+
def fields; end
|
1812
|
+
|
1723
1813
|
sig { params(inspector: T.untyped).returns(String) }
|
1724
1814
|
def inspect(inspector = nil); end
|
1725
1815
|
|
@@ -1759,6 +1849,9 @@ class Prism::ClassVariableReadNode < Prism::Node
|
|
1759
1849
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
1760
1850
|
def deconstruct_keys(keys); end
|
1761
1851
|
|
1852
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
1853
|
+
def fields; end
|
1854
|
+
|
1762
1855
|
sig { params(inspector: T.untyped).returns(String) }
|
1763
1856
|
def inspect(inspector = nil); end
|
1764
1857
|
|
@@ -1798,6 +1891,9 @@ class Prism::ClassVariableTargetNode < Prism::Node
|
|
1798
1891
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
1799
1892
|
def deconstruct_keys(keys); end
|
1800
1893
|
|
1894
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
1895
|
+
def fields; end
|
1896
|
+
|
1801
1897
|
sig { params(inspector: T.untyped).returns(String) }
|
1802
1898
|
def inspect(inspector = nil); end
|
1803
1899
|
|
@@ -1849,6 +1945,9 @@ class Prism::ClassVariableWriteNode < Prism::Node
|
|
1849
1945
|
sig { returns(String) }
|
1850
1946
|
def operator; end
|
1851
1947
|
|
1948
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
1949
|
+
def fields; end
|
1950
|
+
|
1852
1951
|
sig { params(inspector: T.untyped).returns(String) }
|
1853
1952
|
def inspect(inspector = nil); end
|
1854
1953
|
|
@@ -1900,6 +1999,9 @@ class Prism::ConstantAndWriteNode < Prism::Node
|
|
1900
1999
|
sig { returns(String) }
|
1901
2000
|
def operator; end
|
1902
2001
|
|
2002
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2003
|
+
def fields; end
|
2004
|
+
|
1903
2005
|
sig { params(inspector: T.untyped).returns(String) }
|
1904
2006
|
def inspect(inspector = nil); end
|
1905
2007
|
|
@@ -1951,6 +2053,9 @@ class Prism::ConstantOperatorWriteNode < Prism::Node
|
|
1951
2053
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
1952
2054
|
def deconstruct_keys(keys); end
|
1953
2055
|
|
2056
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2057
|
+
def fields; end
|
2058
|
+
|
1954
2059
|
sig { params(inspector: T.untyped).returns(String) }
|
1955
2060
|
def inspect(inspector = nil); end
|
1956
2061
|
|
@@ -2002,6 +2107,9 @@ class Prism::ConstantOrWriteNode < Prism::Node
|
|
2002
2107
|
sig { returns(String) }
|
2003
2108
|
def operator; end
|
2004
2109
|
|
2110
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2111
|
+
def fields; end
|
2112
|
+
|
2005
2113
|
sig { params(inspector: T.untyped).returns(String) }
|
2006
2114
|
def inspect(inspector = nil); end
|
2007
2115
|
|
@@ -2050,6 +2158,9 @@ class Prism::ConstantPathAndWriteNode < Prism::Node
|
|
2050
2158
|
sig { returns(String) }
|
2051
2159
|
def operator; end
|
2052
2160
|
|
2161
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2162
|
+
def fields; end
|
2163
|
+
|
2053
2164
|
sig { params(inspector: T.untyped).returns(String) }
|
2054
2165
|
def inspect(inspector = nil); end
|
2055
2166
|
|
@@ -2098,6 +2209,9 @@ class Prism::ConstantPathNode < Prism::Node
|
|
2098
2209
|
sig { returns(String) }
|
2099
2210
|
def delimiter; end
|
2100
2211
|
|
2212
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2213
|
+
def fields; end
|
2214
|
+
|
2101
2215
|
sig { params(inspector: T.untyped).returns(String) }
|
2102
2216
|
def inspect(inspector = nil); end
|
2103
2217
|
|
@@ -2146,6 +2260,9 @@ class Prism::ConstantPathOperatorWriteNode < Prism::Node
|
|
2146
2260
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
2147
2261
|
def deconstruct_keys(keys); end
|
2148
2262
|
|
2263
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2264
|
+
def fields; end
|
2265
|
+
|
2149
2266
|
sig { params(inspector: T.untyped).returns(String) }
|
2150
2267
|
def inspect(inspector = nil); end
|
2151
2268
|
|
@@ -2194,6 +2311,9 @@ class Prism::ConstantPathOrWriteNode < Prism::Node
|
|
2194
2311
|
sig { returns(String) }
|
2195
2312
|
def operator; end
|
2196
2313
|
|
2314
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2315
|
+
def fields; end
|
2316
|
+
|
2197
2317
|
sig { params(inspector: T.untyped).returns(String) }
|
2198
2318
|
def inspect(inspector = nil); end
|
2199
2319
|
|
@@ -2242,6 +2362,9 @@ class Prism::ConstantPathTargetNode < Prism::Node
|
|
2242
2362
|
sig { returns(String) }
|
2243
2363
|
def delimiter; end
|
2244
2364
|
|
2365
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2366
|
+
def fields; end
|
2367
|
+
|
2245
2368
|
sig { params(inspector: T.untyped).returns(String) }
|
2246
2369
|
def inspect(inspector = nil); end
|
2247
2370
|
|
@@ -2296,6 +2419,9 @@ class Prism::ConstantPathWriteNode < Prism::Node
|
|
2296
2419
|
sig { returns(String) }
|
2297
2420
|
def operator; end
|
2298
2421
|
|
2422
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2423
|
+
def fields; end
|
2424
|
+
|
2299
2425
|
sig { params(inspector: T.untyped).returns(String) }
|
2300
2426
|
def inspect(inspector = nil); end
|
2301
2427
|
|
@@ -2335,6 +2461,9 @@ class Prism::ConstantReadNode < Prism::Node
|
|
2335
2461
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
2336
2462
|
def deconstruct_keys(keys); end
|
2337
2463
|
|
2464
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2465
|
+
def fields; end
|
2466
|
+
|
2338
2467
|
sig { params(inspector: T.untyped).returns(String) }
|
2339
2468
|
def inspect(inspector = nil); end
|
2340
2469
|
|
@@ -2374,6 +2503,9 @@ class Prism::ConstantTargetNode < Prism::Node
|
|
2374
2503
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
2375
2504
|
def deconstruct_keys(keys); end
|
2376
2505
|
|
2506
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2507
|
+
def fields; end
|
2508
|
+
|
2377
2509
|
sig { params(inspector: T.untyped).returns(String) }
|
2378
2510
|
def inspect(inspector = nil); end
|
2379
2511
|
|
@@ -2425,6 +2557,9 @@ class Prism::ConstantWriteNode < Prism::Node
|
|
2425
2557
|
sig { returns(String) }
|
2426
2558
|
def operator; end
|
2427
2559
|
|
2560
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2561
|
+
def fields; end
|
2562
|
+
|
2428
2563
|
sig { params(inspector: T.untyped).returns(String) }
|
2429
2564
|
def inspect(inspector = nil); end
|
2430
2565
|
|
@@ -2516,6 +2651,9 @@ class Prism::DefNode < Prism::Node
|
|
2516
2651
|
sig { returns(T.nilable(String)) }
|
2517
2652
|
def end_keyword; end
|
2518
2653
|
|
2654
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2655
|
+
def fields; end
|
2656
|
+
|
2519
2657
|
sig { params(inspector: T.untyped).returns(String) }
|
2520
2658
|
def inspect(inspector = nil); end
|
2521
2659
|
|
@@ -2573,6 +2711,9 @@ class Prism::DefinedNode < Prism::Node
|
|
2573
2711
|
sig { returns(String) }
|
2574
2712
|
def keyword; end
|
2575
2713
|
|
2714
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2715
|
+
def fields; end
|
2716
|
+
|
2576
2717
|
sig { params(inspector: T.untyped).returns(String) }
|
2577
2718
|
def inspect(inspector = nil); end
|
2578
2719
|
|
@@ -2624,6 +2765,9 @@ class Prism::ElseNode < Prism::Node
|
|
2624
2765
|
sig { returns(T.nilable(String)) }
|
2625
2766
|
def end_keyword; end
|
2626
2767
|
|
2768
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2769
|
+
def fields; end
|
2770
|
+
|
2627
2771
|
sig { params(inspector: T.untyped).returns(String) }
|
2628
2772
|
def inspect(inspector = nil); end
|
2629
2773
|
|
@@ -2675,6 +2819,9 @@ class Prism::EmbeddedStatementsNode < Prism::Node
|
|
2675
2819
|
sig { returns(String) }
|
2676
2820
|
def closing; end
|
2677
2821
|
|
2822
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2823
|
+
def fields; end
|
2824
|
+
|
2678
2825
|
sig { params(inspector: T.untyped).returns(String) }
|
2679
2826
|
def inspect(inspector = nil); end
|
2680
2827
|
|
@@ -2720,6 +2867,9 @@ class Prism::EmbeddedVariableNode < Prism::Node
|
|
2720
2867
|
sig { returns(String) }
|
2721
2868
|
def operator; end
|
2722
2869
|
|
2870
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2871
|
+
def fields; end
|
2872
|
+
|
2723
2873
|
sig { params(inspector: T.untyped).returns(String) }
|
2724
2874
|
def inspect(inspector = nil); end
|
2725
2875
|
|
@@ -2775,6 +2925,9 @@ class Prism::EnsureNode < Prism::Node
|
|
2775
2925
|
sig { returns(String) }
|
2776
2926
|
def end_keyword; end
|
2777
2927
|
|
2928
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2929
|
+
def fields; end
|
2930
|
+
|
2778
2931
|
sig { params(inspector: T.untyped).returns(String) }
|
2779
2932
|
def inspect(inspector = nil); end
|
2780
2933
|
|
@@ -2811,6 +2964,9 @@ class Prism::FalseNode < Prism::Node
|
|
2811
2964
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
2812
2965
|
def deconstruct_keys(keys); end
|
2813
2966
|
|
2967
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
2968
|
+
def fields; end
|
2969
|
+
|
2814
2970
|
sig { params(inspector: T.untyped).returns(String) }
|
2815
2971
|
def inspect(inspector = nil); end
|
2816
2972
|
|
@@ -2877,6 +3033,9 @@ class Prism::FindPatternNode < Prism::Node
|
|
2877
3033
|
sig { returns(T.nilable(String)) }
|
2878
3034
|
def closing; end
|
2879
3035
|
|
3036
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3037
|
+
def fields; end
|
3038
|
+
|
2880
3039
|
sig { params(inspector: T.untyped).returns(String) }
|
2881
3040
|
def inspect(inspector = nil); end
|
2882
3041
|
|
@@ -2931,6 +3090,9 @@ class Prism::FlipFlopNode < Prism::Node
|
|
2931
3090
|
sig { returns(String) }
|
2932
3091
|
def operator; end
|
2933
3092
|
|
3093
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3094
|
+
def fields; end
|
3095
|
+
|
2934
3096
|
sig { params(inspector: T.untyped).returns(String) }
|
2935
3097
|
def inspect(inspector = nil); end
|
2936
3098
|
|
@@ -2970,6 +3132,9 @@ class Prism::FloatNode < Prism::Node
|
|
2970
3132
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
2971
3133
|
def deconstruct_keys(keys); end
|
2972
3134
|
|
3135
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3136
|
+
def fields; end
|
3137
|
+
|
2973
3138
|
sig { params(inspector: T.untyped).returns(String) }
|
2974
3139
|
def inspect(inspector = nil); end
|
2975
3140
|
|
@@ -3039,6 +3204,9 @@ class Prism::ForNode < Prism::Node
|
|
3039
3204
|
sig { returns(String) }
|
3040
3205
|
def end_keyword; end
|
3041
3206
|
|
3207
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3208
|
+
def fields; end
|
3209
|
+
|
3042
3210
|
sig { params(inspector: T.untyped).returns(String) }
|
3043
3211
|
def inspect(inspector = nil); end
|
3044
3212
|
|
@@ -3077,6 +3245,9 @@ class Prism::ForwardingArgumentsNode < Prism::Node
|
|
3077
3245
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
3078
3246
|
def deconstruct_keys(keys); end
|
3079
3247
|
|
3248
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3249
|
+
def fields; end
|
3250
|
+
|
3080
3251
|
sig { params(inspector: T.untyped).returns(String) }
|
3081
3252
|
def inspect(inspector = nil); end
|
3082
3253
|
|
@@ -3114,6 +3285,9 @@ class Prism::ForwardingParameterNode < Prism::Node
|
|
3114
3285
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
3115
3286
|
def deconstruct_keys(keys); end
|
3116
3287
|
|
3288
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3289
|
+
def fields; end
|
3290
|
+
|
3117
3291
|
sig { params(inspector: T.untyped).returns(String) }
|
3118
3292
|
def inspect(inspector = nil); end
|
3119
3293
|
|
@@ -3153,6 +3327,9 @@ class Prism::ForwardingSuperNode < Prism::Node
|
|
3153
3327
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
3154
3328
|
def deconstruct_keys(keys); end
|
3155
3329
|
|
3330
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3331
|
+
def fields; end
|
3332
|
+
|
3156
3333
|
sig { params(inspector: T.untyped).returns(String) }
|
3157
3334
|
def inspect(inspector = nil); end
|
3158
3335
|
|
@@ -3204,6 +3381,9 @@ class Prism::GlobalVariableAndWriteNode < Prism::Node
|
|
3204
3381
|
sig { returns(String) }
|
3205
3382
|
def operator; end
|
3206
3383
|
|
3384
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3385
|
+
def fields; end
|
3386
|
+
|
3207
3387
|
sig { params(inspector: T.untyped).returns(String) }
|
3208
3388
|
def inspect(inspector = nil); end
|
3209
3389
|
|
@@ -3255,6 +3435,9 @@ class Prism::GlobalVariableOperatorWriteNode < Prism::Node
|
|
3255
3435
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
3256
3436
|
def deconstruct_keys(keys); end
|
3257
3437
|
|
3438
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3439
|
+
def fields; end
|
3440
|
+
|
3258
3441
|
sig { params(inspector: T.untyped).returns(String) }
|
3259
3442
|
def inspect(inspector = nil); end
|
3260
3443
|
|
@@ -3306,6 +3489,9 @@ class Prism::GlobalVariableOrWriteNode < Prism::Node
|
|
3306
3489
|
sig { returns(String) }
|
3307
3490
|
def operator; end
|
3308
3491
|
|
3492
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3493
|
+
def fields; end
|
3494
|
+
|
3309
3495
|
sig { params(inspector: T.untyped).returns(String) }
|
3310
3496
|
def inspect(inspector = nil); end
|
3311
3497
|
|
@@ -3345,6 +3531,9 @@ class Prism::GlobalVariableReadNode < Prism::Node
|
|
3345
3531
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
3346
3532
|
def deconstruct_keys(keys); end
|
3347
3533
|
|
3534
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3535
|
+
def fields; end
|
3536
|
+
|
3348
3537
|
sig { params(inspector: T.untyped).returns(String) }
|
3349
3538
|
def inspect(inspector = nil); end
|
3350
3539
|
|
@@ -3384,6 +3573,9 @@ class Prism::GlobalVariableTargetNode < Prism::Node
|
|
3384
3573
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
3385
3574
|
def deconstruct_keys(keys); end
|
3386
3575
|
|
3576
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3577
|
+
def fields; end
|
3578
|
+
|
3387
3579
|
sig { params(inspector: T.untyped).returns(String) }
|
3388
3580
|
def inspect(inspector = nil); end
|
3389
3581
|
|
@@ -3435,6 +3627,9 @@ class Prism::GlobalVariableWriteNode < Prism::Node
|
|
3435
3627
|
sig { returns(String) }
|
3436
3628
|
def operator; end
|
3437
3629
|
|
3630
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3631
|
+
def fields; end
|
3632
|
+
|
3438
3633
|
sig { params(inspector: T.untyped).returns(String) }
|
3439
3634
|
def inspect(inspector = nil); end
|
3440
3635
|
|
@@ -3486,6 +3681,9 @@ class Prism::HashNode < Prism::Node
|
|
3486
3681
|
sig { returns(String) }
|
3487
3682
|
def closing; end
|
3488
3683
|
|
3684
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3685
|
+
def fields; end
|
3686
|
+
|
3489
3687
|
sig { params(inspector: T.untyped).returns(String) }
|
3490
3688
|
def inspect(inspector = nil); end
|
3491
3689
|
|
@@ -3546,6 +3744,9 @@ class Prism::HashPatternNode < Prism::Node
|
|
3546
3744
|
sig { returns(T.nilable(String)) }
|
3547
3745
|
def closing; end
|
3548
3746
|
|
3747
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3748
|
+
def fields; end
|
3749
|
+
|
3549
3750
|
sig { params(inspector: T.untyped).returns(String) }
|
3550
3751
|
def inspect(inspector = nil); end
|
3551
3752
|
|
@@ -3612,6 +3813,9 @@ class Prism::IfNode < Prism::Node
|
|
3612
3813
|
sig { returns(T.nilable(String)) }
|
3613
3814
|
def end_keyword; end
|
3614
3815
|
|
3816
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3817
|
+
def fields; end
|
3818
|
+
|
3615
3819
|
sig { params(inspector: T.untyped).returns(String) }
|
3616
3820
|
def inspect(inspector = nil); end
|
3617
3821
|
|
@@ -3651,6 +3855,9 @@ class Prism::ImaginaryNode < Prism::Node
|
|
3651
3855
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
3652
3856
|
def deconstruct_keys(keys); end
|
3653
3857
|
|
3858
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3859
|
+
def fields; end
|
3860
|
+
|
3654
3861
|
sig { params(inspector: T.untyped).returns(String) }
|
3655
3862
|
def inspect(inspector = nil); end
|
3656
3863
|
|
@@ -3696,6 +3903,9 @@ class Prism::ImplicitNode < Prism::Node
|
|
3696
3903
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
3697
3904
|
def deconstruct_keys(keys); end
|
3698
3905
|
|
3906
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3907
|
+
def fields; end
|
3908
|
+
|
3699
3909
|
sig { params(inspector: T.untyped).returns(String) }
|
3700
3910
|
def inspect(inspector = nil); end
|
3701
3911
|
|
@@ -3741,6 +3951,9 @@ class Prism::ImplicitRestNode < Prism::Node
|
|
3741
3951
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
3742
3952
|
def deconstruct_keys(keys); end
|
3743
3953
|
|
3954
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
3955
|
+
def fields; end
|
3956
|
+
|
3744
3957
|
sig { params(inspector: T.untyped).returns(String) }
|
3745
3958
|
def inspect(inspector = nil); end
|
3746
3959
|
|
@@ -3795,6 +4008,9 @@ class Prism::InNode < Prism::Node
|
|
3795
4008
|
sig { returns(T.nilable(String)) }
|
3796
4009
|
def then; end
|
3797
4010
|
|
4011
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
4012
|
+
def fields; end
|
4013
|
+
|
3798
4014
|
sig { params(inspector: T.untyped).returns(String) }
|
3799
4015
|
def inspect(inspector = nil); end
|
3800
4016
|
|
@@ -3882,6 +4098,9 @@ class Prism::IndexAndWriteNode < Prism::Node
|
|
3882
4098
|
sig { returns(String) }
|
3883
4099
|
def operator; end
|
3884
4100
|
|
4101
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
4102
|
+
def fields; end
|
4103
|
+
|
3885
4104
|
sig { params(inspector: T.untyped).returns(String) }
|
3886
4105
|
def inspect(inspector = nil); end
|
3887
4106
|
|
@@ -3969,6 +4188,9 @@ class Prism::IndexOperatorWriteNode < Prism::Node
|
|
3969
4188
|
sig { returns(String) }
|
3970
4189
|
def closing; end
|
3971
4190
|
|
4191
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
4192
|
+
def fields; end
|
4193
|
+
|
3972
4194
|
sig { params(inspector: T.untyped).returns(String) }
|
3973
4195
|
def inspect(inspector = nil); end
|
3974
4196
|
|
@@ -4056,6 +4278,9 @@ class Prism::IndexOrWriteNode < Prism::Node
|
|
4056
4278
|
sig { returns(String) }
|
4057
4279
|
def operator; end
|
4058
4280
|
|
4281
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
4282
|
+
def fields; end
|
4283
|
+
|
4059
4284
|
sig { params(inspector: T.untyped).returns(String) }
|
4060
4285
|
def inspect(inspector = nil); end
|
4061
4286
|
|
@@ -4136,6 +4361,9 @@ class Prism::IndexTargetNode < Prism::Node
|
|
4136
4361
|
sig { returns(String) }
|
4137
4362
|
def closing; end
|
4138
4363
|
|
4364
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
4365
|
+
def fields; end
|
4366
|
+
|
4139
4367
|
sig { params(inspector: T.untyped).returns(String) }
|
4140
4368
|
def inspect(inspector = nil); end
|
4141
4369
|
|
@@ -4187,6 +4415,9 @@ class Prism::InstanceVariableAndWriteNode < Prism::Node
|
|
4187
4415
|
sig { returns(String) }
|
4188
4416
|
def operator; end
|
4189
4417
|
|
4418
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
4419
|
+
def fields; end
|
4420
|
+
|
4190
4421
|
sig { params(inspector: T.untyped).returns(String) }
|
4191
4422
|
def inspect(inspector = nil); end
|
4192
4423
|
|
@@ -4238,6 +4469,9 @@ class Prism::InstanceVariableOperatorWriteNode < Prism::Node
|
|
4238
4469
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
4239
4470
|
def deconstruct_keys(keys); end
|
4240
4471
|
|
4472
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
4473
|
+
def fields; end
|
4474
|
+
|
4241
4475
|
sig { params(inspector: T.untyped).returns(String) }
|
4242
4476
|
def inspect(inspector = nil); end
|
4243
4477
|
|
@@ -4289,6 +4523,9 @@ class Prism::InstanceVariableOrWriteNode < Prism::Node
|
|
4289
4523
|
sig { returns(String) }
|
4290
4524
|
def operator; end
|
4291
4525
|
|
4526
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
4527
|
+
def fields; end
|
4528
|
+
|
4292
4529
|
sig { params(inspector: T.untyped).returns(String) }
|
4293
4530
|
def inspect(inspector = nil); end
|
4294
4531
|
|
@@ -4328,6 +4565,9 @@ class Prism::InstanceVariableReadNode < Prism::Node
|
|
4328
4565
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
4329
4566
|
def deconstruct_keys(keys); end
|
4330
4567
|
|
4568
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
4569
|
+
def fields; end
|
4570
|
+
|
4331
4571
|
sig { params(inspector: T.untyped).returns(String) }
|
4332
4572
|
def inspect(inspector = nil); end
|
4333
4573
|
|
@@ -4367,6 +4607,9 @@ class Prism::InstanceVariableTargetNode < Prism::Node
|
|
4367
4607
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
4368
4608
|
def deconstruct_keys(keys); end
|
4369
4609
|
|
4610
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
4611
|
+
def fields; end
|
4612
|
+
|
4370
4613
|
sig { params(inspector: T.untyped).returns(String) }
|
4371
4614
|
def inspect(inspector = nil); end
|
4372
4615
|
|
@@ -4418,6 +4661,9 @@ class Prism::InstanceVariableWriteNode < Prism::Node
|
|
4418
4661
|
sig { returns(String) }
|
4419
4662
|
def operator; end
|
4420
4663
|
|
4664
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
4665
|
+
def fields; end
|
4666
|
+
|
4421
4667
|
sig { params(inspector: T.untyped).returns(String) }
|
4422
4668
|
def inspect(inspector = nil); end
|
4423
4669
|
|
@@ -4472,6 +4718,9 @@ class Prism::IntegerNode < Prism::Node
|
|
4472
4718
|
sig { returns(T::Boolean) }
|
4473
4719
|
def hexadecimal?; end
|
4474
4720
|
|
4721
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
4722
|
+
def fields; end
|
4723
|
+
|
4475
4724
|
sig { params(inspector: T.untyped).returns(String) }
|
4476
4725
|
def inspect(inspector = nil); end
|
4477
4726
|
|
@@ -4559,6 +4808,9 @@ class Prism::InterpolatedMatchLastLineNode < Prism::Node
|
|
4559
4808
|
sig { returns(String) }
|
4560
4809
|
def closing; end
|
4561
4810
|
|
4811
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
4812
|
+
def fields; end
|
4813
|
+
|
4562
4814
|
sig { params(inspector: T.untyped).returns(String) }
|
4563
4815
|
def inspect(inspector = nil); end
|
4564
4816
|
|
@@ -4646,6 +4898,9 @@ class Prism::InterpolatedRegularExpressionNode < Prism::Node
|
|
4646
4898
|
sig { returns(String) }
|
4647
4899
|
def closing; end
|
4648
4900
|
|
4901
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
4902
|
+
def fields; end
|
4903
|
+
|
4649
4904
|
sig { params(inspector: T.untyped).returns(String) }
|
4650
4905
|
def inspect(inspector = nil); end
|
4651
4906
|
|
@@ -4706,6 +4961,9 @@ class Prism::InterpolatedStringNode < Prism::Node
|
|
4706
4961
|
sig { returns(T.nilable(String)) }
|
4707
4962
|
def closing; end
|
4708
4963
|
|
4964
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
4965
|
+
def fields; end
|
4966
|
+
|
4709
4967
|
sig { params(inspector: T.untyped).returns(String) }
|
4710
4968
|
def inspect(inspector = nil); end
|
4711
4969
|
|
@@ -4757,6 +5015,9 @@ class Prism::InterpolatedSymbolNode < Prism::Node
|
|
4757
5015
|
sig { returns(T.nilable(String)) }
|
4758
5016
|
def closing; end
|
4759
5017
|
|
5018
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5019
|
+
def fields; end
|
5020
|
+
|
4760
5021
|
sig { params(inspector: T.untyped).returns(String) }
|
4761
5022
|
def inspect(inspector = nil); end
|
4762
5023
|
|
@@ -4808,6 +5069,9 @@ class Prism::InterpolatedXStringNode < Prism::Node
|
|
4808
5069
|
sig { returns(String) }
|
4809
5070
|
def closing; end
|
4810
5071
|
|
5072
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5073
|
+
def fields; end
|
5074
|
+
|
4811
5075
|
sig { params(inspector: T.untyped).returns(String) }
|
4812
5076
|
def inspect(inspector = nil); end
|
4813
5077
|
|
@@ -4844,6 +5108,9 @@ class Prism::ItParametersNode < Prism::Node
|
|
4844
5108
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
4845
5109
|
def deconstruct_keys(keys); end
|
4846
5110
|
|
5111
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5112
|
+
def fields; end
|
5113
|
+
|
4847
5114
|
sig { params(inspector: T.untyped).returns(String) }
|
4848
5115
|
def inspect(inspector = nil); end
|
4849
5116
|
|
@@ -4889,6 +5156,9 @@ class Prism::KeywordHashNode < Prism::Node
|
|
4889
5156
|
sig { returns(T::Boolean) }
|
4890
5157
|
def symbol_keys?; end
|
4891
5158
|
|
5159
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5160
|
+
def fields; end
|
5161
|
+
|
4892
5162
|
sig { params(inspector: T.untyped).returns(String) }
|
4893
5163
|
def inspect(inspector = nil); end
|
4894
5164
|
|
@@ -4944,6 +5214,9 @@ class Prism::KeywordRestParameterNode < Prism::Node
|
|
4944
5214
|
sig { returns(String) }
|
4945
5215
|
def operator; end
|
4946
5216
|
|
5217
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5218
|
+
def fields; end
|
5219
|
+
|
4947
5220
|
sig { params(inspector: T.untyped).returns(String) }
|
4948
5221
|
def inspect(inspector = nil); end
|
4949
5222
|
|
@@ -5007,6 +5280,9 @@ class Prism::LambdaNode < Prism::Node
|
|
5007
5280
|
sig { returns(String) }
|
5008
5281
|
def closing; end
|
5009
5282
|
|
5283
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5284
|
+
def fields; end
|
5285
|
+
|
5010
5286
|
sig { params(inspector: T.untyped).returns(String) }
|
5011
5287
|
def inspect(inspector = nil); end
|
5012
5288
|
|
@@ -5061,6 +5337,9 @@ class Prism::LocalVariableAndWriteNode < Prism::Node
|
|
5061
5337
|
sig { returns(String) }
|
5062
5338
|
def operator; end
|
5063
5339
|
|
5340
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5341
|
+
def fields; end
|
5342
|
+
|
5064
5343
|
sig { params(inspector: T.untyped).returns(String) }
|
5065
5344
|
def inspect(inspector = nil); end
|
5066
5345
|
|
@@ -5115,6 +5394,9 @@ class Prism::LocalVariableOperatorWriteNode < Prism::Node
|
|
5115
5394
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
5116
5395
|
def deconstruct_keys(keys); end
|
5117
5396
|
|
5397
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5398
|
+
def fields; end
|
5399
|
+
|
5118
5400
|
sig { params(inspector: T.untyped).returns(String) }
|
5119
5401
|
def inspect(inspector = nil); end
|
5120
5402
|
|
@@ -5169,6 +5451,9 @@ class Prism::LocalVariableOrWriteNode < Prism::Node
|
|
5169
5451
|
sig { returns(String) }
|
5170
5452
|
def operator; end
|
5171
5453
|
|
5454
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5455
|
+
def fields; end
|
5456
|
+
|
5172
5457
|
sig { params(inspector: T.untyped).returns(String) }
|
5173
5458
|
def inspect(inspector = nil); end
|
5174
5459
|
|
@@ -5211,6 +5496,9 @@ class Prism::LocalVariableReadNode < Prism::Node
|
|
5211
5496
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
5212
5497
|
def deconstruct_keys(keys); end
|
5213
5498
|
|
5499
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5500
|
+
def fields; end
|
5501
|
+
|
5214
5502
|
sig { params(inspector: T.untyped).returns(String) }
|
5215
5503
|
def inspect(inspector = nil); end
|
5216
5504
|
|
@@ -5253,6 +5541,9 @@ class Prism::LocalVariableTargetNode < Prism::Node
|
|
5253
5541
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
5254
5542
|
def deconstruct_keys(keys); end
|
5255
5543
|
|
5544
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5545
|
+
def fields; end
|
5546
|
+
|
5256
5547
|
sig { params(inspector: T.untyped).returns(String) }
|
5257
5548
|
def inspect(inspector = nil); end
|
5258
5549
|
|
@@ -5307,6 +5598,9 @@ class Prism::LocalVariableWriteNode < Prism::Node
|
|
5307
5598
|
sig { returns(String) }
|
5308
5599
|
def operator; end
|
5309
5600
|
|
5601
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5602
|
+
def fields; end
|
5603
|
+
|
5310
5604
|
sig { params(inspector: T.untyped).returns(String) }
|
5311
5605
|
def inspect(inspector = nil); end
|
5312
5606
|
|
@@ -5400,6 +5694,9 @@ class Prism::MatchLastLineNode < Prism::Node
|
|
5400
5694
|
sig { returns(String) }
|
5401
5695
|
def closing; end
|
5402
5696
|
|
5697
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5698
|
+
def fields; end
|
5699
|
+
|
5403
5700
|
sig { params(inspector: T.untyped).returns(String) }
|
5404
5701
|
def inspect(inspector = nil); end
|
5405
5702
|
|
@@ -5448,6 +5745,9 @@ class Prism::MatchPredicateNode < Prism::Node
|
|
5448
5745
|
sig { returns(String) }
|
5449
5746
|
def operator; end
|
5450
5747
|
|
5748
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5749
|
+
def fields; end
|
5750
|
+
|
5451
5751
|
sig { params(inspector: T.untyped).returns(String) }
|
5452
5752
|
def inspect(inspector = nil); end
|
5453
5753
|
|
@@ -5496,6 +5796,9 @@ class Prism::MatchRequiredNode < Prism::Node
|
|
5496
5796
|
sig { returns(String) }
|
5497
5797
|
def operator; end
|
5498
5798
|
|
5799
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5800
|
+
def fields; end
|
5801
|
+
|
5499
5802
|
sig { params(inspector: T.untyped).returns(String) }
|
5500
5803
|
def inspect(inspector = nil); end
|
5501
5804
|
|
@@ -5538,6 +5841,9 @@ class Prism::MatchWriteNode < Prism::Node
|
|
5538
5841
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
5539
5842
|
def deconstruct_keys(keys); end
|
5540
5843
|
|
5844
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5845
|
+
def fields; end
|
5846
|
+
|
5541
5847
|
sig { params(inspector: T.untyped).returns(String) }
|
5542
5848
|
def inspect(inspector = nil); end
|
5543
5849
|
|
@@ -5571,6 +5877,9 @@ class Prism::MissingNode < Prism::Node
|
|
5571
5877
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
5572
5878
|
def deconstruct_keys(keys); end
|
5573
5879
|
|
5880
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5881
|
+
def fields; end
|
5882
|
+
|
5574
5883
|
sig { params(inspector: T.untyped).returns(String) }
|
5575
5884
|
def inspect(inspector = nil); end
|
5576
5885
|
|
@@ -5631,6 +5940,9 @@ class Prism::ModuleNode < Prism::Node
|
|
5631
5940
|
sig { returns(String) }
|
5632
5941
|
def end_keyword; end
|
5633
5942
|
|
5943
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
5944
|
+
def fields; end
|
5945
|
+
|
5634
5946
|
sig { params(inspector: T.untyped).returns(String) }
|
5635
5947
|
def inspect(inspector = nil); end
|
5636
5948
|
|
@@ -5688,6 +6000,9 @@ class Prism::MultiTargetNode < Prism::Node
|
|
5688
6000
|
sig { returns(T.nilable(String)) }
|
5689
6001
|
def rparen; end
|
5690
6002
|
|
6003
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6004
|
+
def fields; end
|
6005
|
+
|
5691
6006
|
sig { params(inspector: T.untyped).returns(String) }
|
5692
6007
|
def inspect(inspector = nil); end
|
5693
6008
|
|
@@ -5754,6 +6069,9 @@ class Prism::MultiWriteNode < Prism::Node
|
|
5754
6069
|
sig { returns(String) }
|
5755
6070
|
def operator; end
|
5756
6071
|
|
6072
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6073
|
+
def fields; end
|
6074
|
+
|
5757
6075
|
sig { params(inspector: T.untyped).returns(String) }
|
5758
6076
|
def inspect(inspector = nil); end
|
5759
6077
|
|
@@ -5799,6 +6117,9 @@ class Prism::NextNode < Prism::Node
|
|
5799
6117
|
sig { returns(String) }
|
5800
6118
|
def keyword; end
|
5801
6119
|
|
6120
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6121
|
+
def fields; end
|
6122
|
+
|
5802
6123
|
sig { params(inspector: T.untyped).returns(String) }
|
5803
6124
|
def inspect(inspector = nil); end
|
5804
6125
|
|
@@ -5835,6 +6156,9 @@ class Prism::NilNode < Prism::Node
|
|
5835
6156
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
5836
6157
|
def deconstruct_keys(keys); end
|
5837
6158
|
|
6159
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6160
|
+
def fields; end
|
6161
|
+
|
5838
6162
|
sig { params(inspector: T.untyped).returns(String) }
|
5839
6163
|
def inspect(inspector = nil); end
|
5840
6164
|
|
@@ -5884,6 +6208,9 @@ class Prism::NoKeywordsParameterNode < Prism::Node
|
|
5884
6208
|
sig { returns(String) }
|
5885
6209
|
def keyword; end
|
5886
6210
|
|
6211
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6212
|
+
def fields; end
|
6213
|
+
|
5887
6214
|
sig { params(inspector: T.untyped).returns(String) }
|
5888
6215
|
def inspect(inspector = nil); end
|
5889
6216
|
|
@@ -5923,6 +6250,9 @@ class Prism::NumberedParametersNode < Prism::Node
|
|
5923
6250
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
5924
6251
|
def deconstruct_keys(keys); end
|
5925
6252
|
|
6253
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6254
|
+
def fields; end
|
6255
|
+
|
5926
6256
|
sig { params(inspector: T.untyped).returns(String) }
|
5927
6257
|
def inspect(inspector = nil); end
|
5928
6258
|
|
@@ -5962,6 +6292,9 @@ class Prism::NumberedReferenceReadNode < Prism::Node
|
|
5962
6292
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
5963
6293
|
def deconstruct_keys(keys); end
|
5964
6294
|
|
6295
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6296
|
+
def fields; end
|
6297
|
+
|
5965
6298
|
sig { params(inspector: T.untyped).returns(String) }
|
5966
6299
|
def inspect(inspector = nil); end
|
5967
6300
|
|
@@ -6014,6 +6347,9 @@ class Prism::OptionalKeywordParameterNode < Prism::Node
|
|
6014
6347
|
sig { returns(T::Boolean) }
|
6015
6348
|
def repeated_parameter?; end
|
6016
6349
|
|
6350
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6351
|
+
def fields; end
|
6352
|
+
|
6017
6353
|
sig { params(inspector: T.untyped).returns(String) }
|
6018
6354
|
def inspect(inspector = nil); end
|
6019
6355
|
|
@@ -6072,6 +6408,9 @@ class Prism::OptionalParameterNode < Prism::Node
|
|
6072
6408
|
sig { returns(String) }
|
6073
6409
|
def operator; end
|
6074
6410
|
|
6411
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6412
|
+
def fields; end
|
6413
|
+
|
6075
6414
|
sig { params(inspector: T.untyped).returns(String) }
|
6076
6415
|
def inspect(inspector = nil); end
|
6077
6416
|
|
@@ -6120,6 +6459,9 @@ class Prism::OrNode < Prism::Node
|
|
6120
6459
|
sig { returns(String) }
|
6121
6460
|
def operator; end
|
6122
6461
|
|
6462
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6463
|
+
def fields; end
|
6464
|
+
|
6123
6465
|
sig { params(inspector: T.untyped).returns(String) }
|
6124
6466
|
def inspect(inspector = nil); end
|
6125
6467
|
|
@@ -6178,6 +6520,9 @@ class Prism::ParametersNode < Prism::Node
|
|
6178
6520
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
6179
6521
|
def deconstruct_keys(keys); end
|
6180
6522
|
|
6523
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6524
|
+
def fields; end
|
6525
|
+
|
6181
6526
|
sig { params(inspector: T.untyped).returns(String) }
|
6182
6527
|
def inspect(inspector = nil); end
|
6183
6528
|
|
@@ -6229,6 +6574,9 @@ class Prism::ParenthesesNode < Prism::Node
|
|
6229
6574
|
sig { returns(String) }
|
6230
6575
|
def closing; end
|
6231
6576
|
|
6577
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6578
|
+
def fields; end
|
6579
|
+
|
6232
6580
|
sig { params(inspector: T.untyped).returns(String) }
|
6233
6581
|
def inspect(inspector = nil); end
|
6234
6582
|
|
@@ -6286,6 +6634,9 @@ class Prism::PinnedExpressionNode < Prism::Node
|
|
6286
6634
|
sig { returns(String) }
|
6287
6635
|
def rparen; end
|
6288
6636
|
|
6637
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6638
|
+
def fields; end
|
6639
|
+
|
6289
6640
|
sig { params(inspector: T.untyped).returns(String) }
|
6290
6641
|
def inspect(inspector = nil); end
|
6291
6642
|
|
@@ -6331,6 +6682,9 @@ class Prism::PinnedVariableNode < Prism::Node
|
|
6331
6682
|
sig { returns(String) }
|
6332
6683
|
def operator; end
|
6333
6684
|
|
6685
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6686
|
+
def fields; end
|
6687
|
+
|
6334
6688
|
sig { params(inspector: T.untyped).returns(String) }
|
6335
6689
|
def inspect(inspector = nil); end
|
6336
6690
|
|
@@ -6388,6 +6742,9 @@ class Prism::PostExecutionNode < Prism::Node
|
|
6388
6742
|
sig { returns(String) }
|
6389
6743
|
def closing; end
|
6390
6744
|
|
6745
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6746
|
+
def fields; end
|
6747
|
+
|
6391
6748
|
sig { params(inspector: T.untyped).returns(String) }
|
6392
6749
|
def inspect(inspector = nil); end
|
6393
6750
|
|
@@ -6445,6 +6802,9 @@ class Prism::PreExecutionNode < Prism::Node
|
|
6445
6802
|
sig { returns(String) }
|
6446
6803
|
def closing; end
|
6447
6804
|
|
6805
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6806
|
+
def fields; end
|
6807
|
+
|
6448
6808
|
sig { params(inspector: T.untyped).returns(String) }
|
6449
6809
|
def inspect(inspector = nil); end
|
6450
6810
|
|
@@ -6484,6 +6844,9 @@ class Prism::ProgramNode < Prism::Node
|
|
6484
6844
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
6485
6845
|
def deconstruct_keys(keys); end
|
6486
6846
|
|
6847
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6848
|
+
def fields; end
|
6849
|
+
|
6487
6850
|
sig { params(inspector: T.untyped).returns(String) }
|
6488
6851
|
def inspect(inspector = nil); end
|
6489
6852
|
|
@@ -6541,6 +6904,9 @@ class Prism::RangeNode < Prism::Node
|
|
6541
6904
|
sig { returns(String) }
|
6542
6905
|
def operator; end
|
6543
6906
|
|
6907
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6908
|
+
def fields; end
|
6909
|
+
|
6544
6910
|
sig { params(inspector: T.untyped).returns(String) }
|
6545
6911
|
def inspect(inspector = nil); end
|
6546
6912
|
|
@@ -6580,6 +6946,9 @@ class Prism::RationalNode < Prism::Node
|
|
6580
6946
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
6581
6947
|
def deconstruct_keys(keys); end
|
6582
6948
|
|
6949
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6950
|
+
def fields; end
|
6951
|
+
|
6583
6952
|
sig { params(inspector: T.untyped).returns(String) }
|
6584
6953
|
def inspect(inspector = nil); end
|
6585
6954
|
|
@@ -6616,6 +6985,9 @@ class Prism::RedoNode < Prism::Node
|
|
6616
6985
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
6617
6986
|
def deconstruct_keys(keys); end
|
6618
6987
|
|
6988
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
6989
|
+
def fields; end
|
6990
|
+
|
6619
6991
|
sig { params(inspector: T.untyped).returns(String) }
|
6620
6992
|
def inspect(inspector = nil); end
|
6621
6993
|
|
@@ -6709,6 +7081,9 @@ class Prism::RegularExpressionNode < Prism::Node
|
|
6709
7081
|
sig { returns(String) }
|
6710
7082
|
def closing; end
|
6711
7083
|
|
7084
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7085
|
+
def fields; end
|
7086
|
+
|
6712
7087
|
sig { params(inspector: T.untyped).returns(String) }
|
6713
7088
|
def inspect(inspector = nil); end
|
6714
7089
|
|
@@ -6758,6 +7133,9 @@ class Prism::RequiredKeywordParameterNode < Prism::Node
|
|
6758
7133
|
sig { returns(T::Boolean) }
|
6759
7134
|
def repeated_parameter?; end
|
6760
7135
|
|
7136
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7137
|
+
def fields; end
|
7138
|
+
|
6761
7139
|
sig { params(inspector: T.untyped).returns(String) }
|
6762
7140
|
def inspect(inspector = nil); end
|
6763
7141
|
|
@@ -6804,6 +7182,9 @@ class Prism::RequiredParameterNode < Prism::Node
|
|
6804
7182
|
sig { returns(T::Boolean) }
|
6805
7183
|
def repeated_parameter?; end
|
6806
7184
|
|
7185
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7186
|
+
def fields; end
|
7187
|
+
|
6807
7188
|
sig { params(inspector: T.untyped).returns(String) }
|
6808
7189
|
def inspect(inspector = nil); end
|
6809
7190
|
|
@@ -6852,6 +7233,9 @@ class Prism::RescueModifierNode < Prism::Node
|
|
6852
7233
|
sig { returns(String) }
|
6853
7234
|
def keyword; end
|
6854
7235
|
|
7236
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7237
|
+
def fields; end
|
7238
|
+
|
6855
7239
|
sig { params(inspector: T.untyped).returns(String) }
|
6856
7240
|
def inspect(inspector = nil); end
|
6857
7241
|
|
@@ -6917,6 +7301,9 @@ class Prism::RescueNode < Prism::Node
|
|
6917
7301
|
sig { returns(T.nilable(String)) }
|
6918
7302
|
def operator; end
|
6919
7303
|
|
7304
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7305
|
+
def fields; end
|
7306
|
+
|
6920
7307
|
sig { params(inspector: T.untyped).returns(String) }
|
6921
7308
|
def inspect(inspector = nil); end
|
6922
7309
|
|
@@ -6972,6 +7359,9 @@ class Prism::RestParameterNode < Prism::Node
|
|
6972
7359
|
sig { returns(String) }
|
6973
7360
|
def operator; end
|
6974
7361
|
|
7362
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7363
|
+
def fields; end
|
7364
|
+
|
6975
7365
|
sig { params(inspector: T.untyped).returns(String) }
|
6976
7366
|
def inspect(inspector = nil); end
|
6977
7367
|
|
@@ -7008,6 +7398,9 @@ class Prism::RetryNode < Prism::Node
|
|
7008
7398
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
7009
7399
|
def deconstruct_keys(keys); end
|
7010
7400
|
|
7401
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7402
|
+
def fields; end
|
7403
|
+
|
7011
7404
|
sig { params(inspector: T.untyped).returns(String) }
|
7012
7405
|
def inspect(inspector = nil); end
|
7013
7406
|
|
@@ -7053,6 +7446,9 @@ class Prism::ReturnNode < Prism::Node
|
|
7053
7446
|
sig { returns(String) }
|
7054
7447
|
def keyword; end
|
7055
7448
|
|
7449
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7450
|
+
def fields; end
|
7451
|
+
|
7056
7452
|
sig { params(inspector: T.untyped).returns(String) }
|
7057
7453
|
def inspect(inspector = nil); end
|
7058
7454
|
|
@@ -7089,6 +7485,9 @@ class Prism::SelfNode < Prism::Node
|
|
7089
7485
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
7090
7486
|
def deconstruct_keys(keys); end
|
7091
7487
|
|
7488
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7489
|
+
def fields; end
|
7490
|
+
|
7092
7491
|
sig { params(inspector: T.untyped).returns(String) }
|
7093
7492
|
def inspect(inspector = nil); end
|
7094
7493
|
|
@@ -7141,6 +7540,9 @@ class Prism::ShareableConstantNode < Prism::Node
|
|
7141
7540
|
sig { returns(T::Boolean) }
|
7142
7541
|
def experimental_copy?; end
|
7143
7542
|
|
7543
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7544
|
+
def fields; end
|
7545
|
+
|
7144
7546
|
sig { params(inspector: T.untyped).returns(String) }
|
7145
7547
|
def inspect(inspector = nil); end
|
7146
7548
|
|
@@ -7204,6 +7606,9 @@ class Prism::SingletonClassNode < Prism::Node
|
|
7204
7606
|
sig { returns(String) }
|
7205
7607
|
def end_keyword; end
|
7206
7608
|
|
7609
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7610
|
+
def fields; end
|
7611
|
+
|
7207
7612
|
sig { params(inspector: T.untyped).returns(String) }
|
7208
7613
|
def inspect(inspector = nil); end
|
7209
7614
|
|
@@ -7240,6 +7645,9 @@ class Prism::SourceEncodingNode < Prism::Node
|
|
7240
7645
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
7241
7646
|
def deconstruct_keys(keys); end
|
7242
7647
|
|
7648
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7649
|
+
def fields; end
|
7650
|
+
|
7243
7651
|
sig { params(inspector: T.untyped).returns(String) }
|
7244
7652
|
def inspect(inspector = nil); end
|
7245
7653
|
|
@@ -7294,6 +7702,9 @@ class Prism::SourceFileNode < Prism::Node
|
|
7294
7702
|
sig { returns(T::Boolean) }
|
7295
7703
|
def mutable?; end
|
7296
7704
|
|
7705
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7706
|
+
def fields; end
|
7707
|
+
|
7297
7708
|
sig { params(inspector: T.untyped).returns(String) }
|
7298
7709
|
def inspect(inspector = nil); end
|
7299
7710
|
|
@@ -7330,6 +7741,9 @@ class Prism::SourceLineNode < Prism::Node
|
|
7330
7741
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
7331
7742
|
def deconstruct_keys(keys); end
|
7332
7743
|
|
7744
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7745
|
+
def fields; end
|
7746
|
+
|
7333
7747
|
sig { params(inspector: T.untyped).returns(String) }
|
7334
7748
|
def inspect(inspector = nil); end
|
7335
7749
|
|
@@ -7375,6 +7789,9 @@ class Prism::SplatNode < Prism::Node
|
|
7375
7789
|
sig { returns(String) }
|
7376
7790
|
def operator; end
|
7377
7791
|
|
7792
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7793
|
+
def fields; end
|
7794
|
+
|
7378
7795
|
sig { params(inspector: T.untyped).returns(String) }
|
7379
7796
|
def inspect(inspector = nil); end
|
7380
7797
|
|
@@ -7414,6 +7831,9 @@ class Prism::StatementsNode < Prism::Node
|
|
7414
7831
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
7415
7832
|
def deconstruct_keys(keys); end
|
7416
7833
|
|
7834
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7835
|
+
def fields; end
|
7836
|
+
|
7417
7837
|
sig { params(inspector: T.untyped).returns(String) }
|
7418
7838
|
def inspect(inspector = nil); end
|
7419
7839
|
|
@@ -7492,6 +7912,9 @@ class Prism::StringNode < Prism::Node
|
|
7492
7912
|
sig { returns(T.nilable(String)) }
|
7493
7913
|
def closing; end
|
7494
7914
|
|
7915
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7916
|
+
def fields; end
|
7917
|
+
|
7495
7918
|
sig { params(inspector: T.untyped).returns(String) }
|
7496
7919
|
def inspect(inspector = nil); end
|
7497
7920
|
|
@@ -7555,6 +7978,9 @@ class Prism::SuperNode < Prism::Node
|
|
7555
7978
|
sig { returns(T.nilable(String)) }
|
7556
7979
|
def rparen; end
|
7557
7980
|
|
7981
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
7982
|
+
def fields; end
|
7983
|
+
|
7558
7984
|
sig { params(inspector: T.untyped).returns(String) }
|
7559
7985
|
def inspect(inspector = nil); end
|
7560
7986
|
|
@@ -7627,6 +8053,9 @@ class Prism::SymbolNode < Prism::Node
|
|
7627
8053
|
sig { returns(T.nilable(String)) }
|
7628
8054
|
def closing; end
|
7629
8055
|
|
8056
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
8057
|
+
def fields; end
|
8058
|
+
|
7630
8059
|
sig { params(inspector: T.untyped).returns(String) }
|
7631
8060
|
def inspect(inspector = nil); end
|
7632
8061
|
|
@@ -7663,6 +8092,9 @@ class Prism::TrueNode < Prism::Node
|
|
7663
8092
|
sig { params(keys: T.nilable(T::Array[Symbol])).returns(T::Hash[Symbol, T.untyped]) }
|
7664
8093
|
def deconstruct_keys(keys); end
|
7665
8094
|
|
8095
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
8096
|
+
def fields; end
|
8097
|
+
|
7666
8098
|
sig { params(inspector: T.untyped).returns(String) }
|
7667
8099
|
def inspect(inspector = nil); end
|
7668
8100
|
|
@@ -7708,6 +8140,9 @@ class Prism::UndefNode < Prism::Node
|
|
7708
8140
|
sig { returns(String) }
|
7709
8141
|
def keyword; end
|
7710
8142
|
|
8143
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
8144
|
+
def fields; end
|
8145
|
+
|
7711
8146
|
sig { params(inspector: T.untyped).returns(String) }
|
7712
8147
|
def inspect(inspector = nil); end
|
7713
8148
|
|
@@ -7774,6 +8209,9 @@ class Prism::UnlessNode < Prism::Node
|
|
7774
8209
|
sig { returns(T.nilable(String)) }
|
7775
8210
|
def end_keyword; end
|
7776
8211
|
|
8212
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
8213
|
+
def fields; end
|
8214
|
+
|
7777
8215
|
sig { params(inspector: T.untyped).returns(String) }
|
7778
8216
|
def inspect(inspector = nil); end
|
7779
8217
|
|
@@ -7837,6 +8275,9 @@ class Prism::UntilNode < Prism::Node
|
|
7837
8275
|
sig { returns(T.nilable(String)) }
|
7838
8276
|
def closing; end
|
7839
8277
|
|
8278
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
8279
|
+
def fields; end
|
8280
|
+
|
7840
8281
|
sig { params(inspector: T.untyped).returns(String) }
|
7841
8282
|
def inspect(inspector = nil); end
|
7842
8283
|
|
@@ -7893,6 +8334,9 @@ class Prism::WhenNode < Prism::Node
|
|
7893
8334
|
sig { returns(T.nilable(String)) }
|
7894
8335
|
def then_keyword; end
|
7895
8336
|
|
8337
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
8338
|
+
def fields; end
|
8339
|
+
|
7896
8340
|
sig { params(inspector: T.untyped).returns(String) }
|
7897
8341
|
def inspect(inspector = nil); end
|
7898
8342
|
|
@@ -7956,6 +8400,9 @@ class Prism::WhileNode < Prism::Node
|
|
7956
8400
|
sig { returns(T.nilable(String)) }
|
7957
8401
|
def closing; end
|
7958
8402
|
|
8403
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
8404
|
+
def fields; end
|
8405
|
+
|
7959
8406
|
sig { params(inspector: T.untyped).returns(String) }
|
7960
8407
|
def inspect(inspector = nil); end
|
7961
8408
|
|
@@ -8022,6 +8469,9 @@ class Prism::XStringNode < Prism::Node
|
|
8022
8469
|
sig { returns(String) }
|
8023
8470
|
def closing; end
|
8024
8471
|
|
8472
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
8473
|
+
def fields; end
|
8474
|
+
|
8025
8475
|
sig { params(inspector: T.untyped).returns(String) }
|
8026
8476
|
def inspect(inspector = nil); end
|
8027
8477
|
|
@@ -8079,6 +8529,9 @@ class Prism::YieldNode < Prism::Node
|
|
8079
8529
|
sig { returns(T.nilable(String)) }
|
8080
8530
|
def rparen; end
|
8081
8531
|
|
8532
|
+
sig { override.returns(T::Array[Prism::Reflection::Field]) }
|
8533
|
+
def fields; end
|
8534
|
+
|
8082
8535
|
sig { params(inspector: T.untyped).returns(String) }
|
8083
8536
|
def inspect(inspector = nil); end
|
8084
8537
|
|