Skip to content

Commit 7443dab

Browse files
committed
[Features] Added CoroutineAccessors.
1 parent f37d4de commit 7443dab

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CodeGeneration/Sources/SyntaxSupport/ExperimentalFeatures.swift

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public enum ExperimentalFeature: String, CaseIterable {
1818
case doExpressions
1919
case nonescapableTypes
2020
case trailingComma
21+
case coroutineAccessors
2122

2223
/// The name of the feature, which is used in the doc comment.
2324
public var featureName: String {
@@ -32,6 +33,8 @@ public enum ExperimentalFeature: String, CaseIterable {
3233
return "NonEscableTypes"
3334
case .trailingComma:
3435
return "trailing comma"
36+
case .coroutineAccessors:
37+
return "CoroutineAccessors"
3538
}
3639
}
3740

Sources/SwiftParser/generated/ExperimentalFeatures.swift

+3
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,7 @@ extension Parser.ExperimentalFeatures {
3838

3939
/// Whether to enable the parsing of trailing comma.
4040
public static let trailingComma = Self (rawValue: 1 << 4)
41+
42+
/// Whether to enable the parsing of CoroutineAccessors.
43+
public static let coroutineAccessors = Self (rawValue: 1 << 5)
4144
}

0 commit comments

Comments
 (0)