@@ -261,6 +261,7 @@ public extension _LeafDeclSyntaxNodeProtocol {
261
261
func `is`< S: DeclSyntaxProtocol > ( _ syntaxType: S . Type ) -> Bool {
262
262
return false
263
263
}
264
+
264
265
265
266
/// Attempts to cast the current leaf syntax node to a different specified type.
266
267
///
@@ -272,6 +273,7 @@ public extension _LeafDeclSyntaxNodeProtocol {
272
273
func `as`< S: DeclSyntaxProtocol > ( _ syntaxType: S . Type ) -> S ? {
273
274
return nil
274
275
}
276
+
275
277
276
278
/// Force-casts the current leaf syntax node to a different specified type.
277
279
///
@@ -563,6 +565,7 @@ public extension _LeafExprSyntaxNodeProtocol {
563
565
func `is`< S: ExprSyntaxProtocol > ( _ syntaxType: S . Type ) -> Bool {
564
566
return false
565
567
}
568
+
566
569
567
570
/// Attempts to cast the current leaf syntax node to a different specified type.
568
571
///
@@ -574,6 +577,7 @@ public extension _LeafExprSyntaxNodeProtocol {
574
577
func `as`< S: ExprSyntaxProtocol > ( _ syntaxType: S . Type ) -> S ? {
575
578
return nil
576
579
}
580
+
577
581
578
582
/// Force-casts the current leaf syntax node to a different specified type.
579
583
///
@@ -820,6 +824,7 @@ public extension _LeafPatternSyntaxNodeProtocol {
820
824
func `is`< S: PatternSyntaxProtocol > ( _ syntaxType: S . Type ) -> Bool {
821
825
return false
822
826
}
827
+
823
828
824
829
/// Attempts to cast the current leaf syntax node to a different specified type.
825
830
///
@@ -831,6 +836,7 @@ public extension _LeafPatternSyntaxNodeProtocol {
831
836
func `as`< S: PatternSyntaxProtocol > ( _ syntaxType: S . Type ) -> S ? {
832
837
return nil
833
838
}
839
+
834
840
835
841
/// Force-casts the current leaf syntax node to a different specified type.
836
842
///
@@ -1087,6 +1093,7 @@ public extension _LeafStmtSyntaxNodeProtocol {
1087
1093
func `is`< S: StmtSyntaxProtocol > ( _ syntaxType: S . Type ) -> Bool {
1088
1094
return false
1089
1095
}
1096
+
1090
1097
1091
1098
/// Attempts to cast the current leaf syntax node to a different specified type.
1092
1099
///
@@ -1098,6 +1105,7 @@ public extension _LeafStmtSyntaxNodeProtocol {
1098
1105
func `as`< S: StmtSyntaxProtocol > ( _ syntaxType: S . Type ) -> S ? {
1099
1106
return nil
1100
1107
}
1108
+
1101
1109
1102
1110
/// Force-casts the current leaf syntax node to a different specified type.
1103
1111
///
@@ -1355,6 +1363,7 @@ public extension _LeafTypeSyntaxNodeProtocol {
1355
1363
func `is`< S: TypeSyntaxProtocol > ( _ syntaxType: S . Type ) -> Bool {
1356
1364
return false
1357
1365
}
1366
+
1358
1367
1359
1368
/// Attempts to cast the current leaf syntax node to a different specified type.
1360
1369
///
@@ -1366,6 +1375,7 @@ public extension _LeafTypeSyntaxNodeProtocol {
1366
1375
func `as`< S: TypeSyntaxProtocol > ( _ syntaxType: S . Type ) -> S ? {
1367
1376
return nil
1368
1377
}
1378
+
1369
1379
1370
1380
/// Force-casts the current leaf syntax node to a different specified type.
1371
1381
///
@@ -1684,6 +1694,7 @@ public extension _LeafSyntaxNodeProtocol {
1684
1694
func `is`< S: SyntaxProtocol > ( _ syntaxType: S . Type ) -> Bool {
1685
1695
return false
1686
1696
}
1697
+
1687
1698
1688
1699
/// Attempts to cast the current leaf syntax node to a different specified type.
1689
1700
///
@@ -1695,6 +1706,7 @@ public extension _LeafSyntaxNodeProtocol {
1695
1706
func `as`< S: SyntaxProtocol > ( _ syntaxType: S . Type ) -> S ? {
1696
1707
return nil
1697
1708
}
1709
+
1698
1710
1699
1711
/// Force-casts the current leaf syntax node to a different specified type.
1700
1712
///
0 commit comments