Skip to content

Commit 7f5f39d

Browse files
committed
Regenerate syntax nodes now that typed throws is not experimental
1 parent dc8559b commit 7f5f39d

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

Sources/SwiftParser/generated/ExperimentalFeatures.swift

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,12 @@ extension Parser.ExperimentalFeatures {
3030
/// Whether to enable the parsing of 'then' statements.
3131
public static let thenStatements = Self (rawValue: 1 << 1)
3232

33-
/// Whether to enable the parsing of typed throws.
34-
public static let typedThrows = Self (rawValue: 1 << 2)
35-
3633
/// Whether to enable the parsing of 'do' expressions.
37-
public static let doExpressions = Self (rawValue: 1 << 3)
34+
public static let doExpressions = Self (rawValue: 1 << 2)
3835

3936
/// Whether to enable the parsing of NonEscableTypes.
40-
public static let nonescapableTypes = Self (rawValue: 1 << 4)
37+
public static let nonescapableTypes = Self (rawValue: 1 << 3)
4138

4239
/// Whether to enable the parsing of TransferringArgsAndResults.
43-
public static let transferringArgsAndResults = Self (rawValue: 1 << 5)
40+
public static let transferringArgsAndResults = Self (rawValue: 1 << 4)
4441
}

Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesD.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3513,7 +3513,6 @@ public struct DoStmtSyntax: StmtSyntaxProtocol, SyntaxHashable, _LeafStmtSyntaxN
35133513
}
35143514

35153515
/// The clause specifying the type of errors thrown from the 'do' block.
3516-
@_spi(ExperimentalLanguageFeatures)
35173516
public var throwsClause: ThrowsClauseSyntax? {
35183517
get {
35193518
return Syntax(self).child(at: 3)?.cast(ThrowsClauseSyntax.self)

Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesTUVWXYZ.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,6 @@ public struct ThrowsClauseSyntax: SyntaxProtocol, SyntaxHashable, _LeafSyntaxNod
589589
/// ### Tokens
590590
///
591591
/// For syntax trees generated by the parser, this is guaranteed to be `(`.
592-
@_spi(ExperimentalLanguageFeatures)
593592
public var leftParen: TokenSyntax? {
594593
get {
595594
return Syntax(self).child(at: 3)?.cast(TokenSyntax.self)
@@ -609,7 +608,6 @@ public struct ThrowsClauseSyntax: SyntaxProtocol, SyntaxHashable, _LeafSyntaxNod
609608
}
610609

611610
/// The thrown error type.
612-
@_spi(ExperimentalLanguageFeatures)
613611
public var type: TypeSyntax? {
614612
get {
615613
return Syntax(self).child(at: 5)?.cast(TypeSyntax.self)
@@ -633,7 +631,6 @@ public struct ThrowsClauseSyntax: SyntaxProtocol, SyntaxHashable, _LeafSyntaxNod
633631
/// ### Tokens
634632
///
635633
/// For syntax trees generated by the parser, this is guaranteed to be `)`.
636-
@_spi(ExperimentalLanguageFeatures)
637634
public var rightParen: TokenSyntax? {
638635
get {
639636
return Syntax(self).child(at: 7)?.cast(TokenSyntax.self)

0 commit comments

Comments
 (0)