File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ add_swift_host_library(SwiftSyntax
16
16
SourceLength.swift
17
17
SourceLocation.swift
18
18
SourcePresence.swift
19
+ SwiftSyntaxCompatibility.swift
19
20
Syntax.swift
20
21
SyntaxArena.swift
21
22
SyntaxChildren.swift
Original file line number Diff line number Diff line change
1
+ //===----------------------------------------------------------------------===//
2
+ //
3
+ // This source file is part of the Swift.org open source project
4
+ //
5
+ // Copyright (c) 2014 - 2023 Apple Inc. and the Swift project authors
6
+ // Licensed under Apache License v2.0 with Runtime Library Exception
7
+ //
8
+ // See https://swift.org/LICENSE.txt for license information
9
+ // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ //
11
+ //===----------------------------------------------------------------------===//
12
+
13
+ // This file provides compatiblity aliases to keep dependents of SwiftSyntax building.
14
+ // All users of the declarations in this file should transition away from them ASAP.
15
+
16
+ public extension DeclGroupSyntax {
17
+ @available ( * , deprecated, renamed: " memberBlock " )
18
+ var members : MemberDeclBlockSyntax {
19
+ return self . memberBlock
20
+ }
21
+ }
Original file line number Diff line number Diff line change 61
61
" SyntaxVerifier.swift" ,
62
62
" BumpPtrAllocator.swift" ,
63
63
" PlatformMutex.swift" ,
64
+ " SwiftSyntaxCompatibility.swift" ,
64
65
]
65
66
}
You can’t perform that action at this time.
0 commit comments