Skip to content

Commit 6e20f54

Browse files
committed
[generated] Re-generate code
1 parent a99853b commit 6e20f54

File tree

3 files changed

+73
-70
lines changed

3 files changed

+73
-70
lines changed

Sources/SwiftParser/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ add_swift_host_library(SwiftParser
1313
CollectionNodes+Parsable.swift
1414
Declarations.swift
1515
Directives.swift
16-
ExperimentalFeatures.swift
1716
Expressions.swift
1817
IncrementalParseTransition.swift
1918
Lookahead.swift
@@ -39,6 +38,7 @@ add_swift_host_library(SwiftParser
3938
TriviaParser.swift
4039
Types.swift
4140

41+
generated/ExperimentalFeatures.swift
4242
generated/IsLexerClassified.swift
4343
generated/LayoutNodes+Parsable.swift
4444
generated/Parser+TokenSpecSet.swift

Sources/SwiftParser/ExperimentalFeatures.swift renamed to Sources/SwiftParser/generated/ExperimentalFeatures.swift

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
//// Automatically generated by generate-swift-syntax
2+
//// Do not edit directly!
13
//===----------------------------------------------------------------------===//
24
//
35
// This source file is part of the Swift.org open source project
46
//
5-
// Copyright (c) 2023 Apple Inc. and the Swift project authors
7+
// Copyright (c) 2014 - 2023 Apple Inc. and the Swift project authors
68
// Licensed under Apache License v2.0 with Runtime Library Exception
79
//
810
// See https://swift.org/LICENSE.txt for license information
@@ -14,16 +16,17 @@ extension Parser {
1416
@_spi(ExperimentalLanguageFeatures)
1517
public struct ExperimentalFeatures: OptionSet {
1618
public let rawValue: UInt
19+
1720
public init(rawValue: UInt) {
1821
self.rawValue = rawValue
1922
}
2023
}
2124
}
2225

2326
extension Parser.ExperimentalFeatures {
24-
/// Whether to enable the parsing of 'reference bindings'.
27+
/// Whether to enable the parsing of reference bindings.
2528
public static let referenceBindings = Self(rawValue: 1 << 0)
26-
29+
2730
/// Whether to enable the parsing of 'then' statements.
2831
public static let thenStatements = Self(rawValue: 1 << 1)
2932
}

0 commit comments

Comments
 (0)