@@ -275,6 +275,7 @@ public extension _LeafDeclSyntaxNodeProtocol {
275
275
func `is`< S: DeclSyntaxProtocol > ( _ syntaxType: S . Type ) -> Bool {
276
276
return false
277
277
}
278
+
278
279
279
280
/// Attempts to cast the current leaf syntax node to a different specified type.
280
281
///
@@ -286,6 +287,7 @@ public extension _LeafDeclSyntaxNodeProtocol {
286
287
func `as`< S: DeclSyntaxProtocol > ( _ syntaxType: S . Type ) -> S ? {
287
288
return nil
288
289
}
290
+
289
291
290
292
/// Force-casts the current leaf syntax node to a different specified type.
291
293
///
@@ -591,6 +593,7 @@ public extension _LeafExprSyntaxNodeProtocol {
591
593
func `is`< S: ExprSyntaxProtocol > ( _ syntaxType: S . Type ) -> Bool {
592
594
return false
593
595
}
596
+
594
597
595
598
/// Attempts to cast the current leaf syntax node to a different specified type.
596
599
///
@@ -602,6 +605,7 @@ public extension _LeafExprSyntaxNodeProtocol {
602
605
func `as`< S: ExprSyntaxProtocol > ( _ syntaxType: S . Type ) -> S ? {
603
606
return nil
604
607
}
608
+
605
609
606
610
/// Force-casts the current leaf syntax node to a different specified type.
607
611
///
@@ -862,6 +866,7 @@ public extension _LeafPatternSyntaxNodeProtocol {
862
866
func `is`< S: PatternSyntaxProtocol > ( _ syntaxType: S . Type ) -> Bool {
863
867
return false
864
868
}
869
+
865
870
866
871
/// Attempts to cast the current leaf syntax node to a different specified type.
867
872
///
@@ -873,6 +878,7 @@ public extension _LeafPatternSyntaxNodeProtocol {
873
878
func `as`< S: PatternSyntaxProtocol > ( _ syntaxType: S . Type ) -> S ? {
874
879
return nil
875
880
}
881
+
876
882
877
883
/// Force-casts the current leaf syntax node to a different specified type.
878
884
///
@@ -1143,6 +1149,7 @@ public extension _LeafStmtSyntaxNodeProtocol {
1143
1149
func `is`< S: StmtSyntaxProtocol > ( _ syntaxType: S . Type ) -> Bool {
1144
1150
return false
1145
1151
}
1152
+
1146
1153
1147
1154
/// Attempts to cast the current leaf syntax node to a different specified type.
1148
1155
///
@@ -1154,6 +1161,7 @@ public extension _LeafStmtSyntaxNodeProtocol {
1154
1161
func `as`< S: StmtSyntaxProtocol > ( _ syntaxType: S . Type ) -> S ? {
1155
1162
return nil
1156
1163
}
1164
+
1157
1165
1158
1166
/// Force-casts the current leaf syntax node to a different specified type.
1159
1167
///
@@ -1425,6 +1433,7 @@ public extension _LeafTypeSyntaxNodeProtocol {
1425
1433
func `is`< S: TypeSyntaxProtocol > ( _ syntaxType: S . Type ) -> Bool {
1426
1434
return false
1427
1435
}
1436
+
1428
1437
1429
1438
/// Attempts to cast the current leaf syntax node to a different specified type.
1430
1439
///
@@ -1436,6 +1445,7 @@ public extension _LeafTypeSyntaxNodeProtocol {
1436
1445
func `as`< S: TypeSyntaxProtocol > ( _ syntaxType: S . Type ) -> S ? {
1437
1446
return nil
1438
1447
}
1448
+
1439
1449
1440
1450
/// Force-casts the current leaf syntax node to a different specified type.
1441
1451
///
@@ -1754,6 +1764,7 @@ public extension _LeafSyntaxNodeProtocol {
1754
1764
func `is`< S: SyntaxProtocol > ( _ syntaxType: S . Type ) -> Bool {
1755
1765
return false
1756
1766
}
1767
+
1757
1768
1758
1769
/// Attempts to cast the current leaf syntax node to a different specified type.
1759
1770
///
@@ -1765,6 +1776,7 @@ public extension _LeafSyntaxNodeProtocol {
1765
1776
func `as`< S: SyntaxProtocol > ( _ syntaxType: S . Type ) -> S ? {
1766
1777
return nil
1767
1778
}
1779
+
1768
1780
1769
1781
/// Force-casts the current leaf syntax node to a different specified type.
1770
1782
///
0 commit comments