Skip to content

Commit 1f4602e

Browse files
committed
Regenerate sources
1 parent 7fbf353 commit 1f4602e

File tree

7 files changed

+0
-250
lines changed

7 files changed

+0
-250
lines changed

CodeGeneration/Sources/SyntaxSupport/gyb_generated/TokenSpec.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,6 @@ public let SYNTAX_TOKENS: [TokenSpec] = [
254254
ExprKeywordSpec(name: "True", text: "true"),
255255
ExprKeywordSpec(name: "Try", text: "try", requiresTrailingSpace: true),
256256
ExprKeywordSpec(name: "Throws", text: "throws", requiresTrailingSpace: true),
257-
KeywordSpec(name: "__FILE__", text: "__FILE__", requiresTrailingSpace: true),
258-
KeywordSpec(name: "__LINE__", text: "__LINE__", requiresTrailingSpace: true),
259-
KeywordSpec(name: "__COLUMN__", text: "__COLUMN__", requiresTrailingSpace: true),
260-
KeywordSpec(name: "__FUNCTION__", text: "__FUNCTION__", requiresTrailingSpace: true),
261-
KeywordSpec(name: "__DSO_HANDLE__", text: "__DSO_HANDLE__", requiresTrailingSpace: true),
262257
PatternKeywordSpec(name: "Wildcard", text: "_", requiresTrailingSpace: true),
263258
PunctuatorSpec(name: "LeftParen", kind: "l_paren", text: "("),
264259
PunctuatorSpec(name: "RightParen", kind: "r_paren", text: ")"),

Sources/IDEUtils/generated/SyntaxClassification.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -246,16 +246,6 @@ extension RawTokenKind {
246246
return .keyword
247247
case .throwsKeyword:
248248
return .keyword
249-
case .__file__Keyword:
250-
return .keyword
251-
case .__line__Keyword:
252-
return .keyword
253-
case .__column__Keyword:
254-
return .keyword
255-
case .__function__Keyword:
256-
return .keyword
257-
case .__dso_handle__Keyword:
258-
return .keyword
259249
case .wildcardKeyword:
260250
return .keyword
261251
case .leftParen:

Sources/SwiftBasicFormat/generated/BasicFormat.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -226,16 +226,6 @@ open class BasicFormat: SyntaxRewriter {
226226
return true
227227
case .throwsKeyword:
228228
return true
229-
case .__file__Keyword:
230-
return true
231-
case .__line__Keyword:
232-
return true
233-
case .__column__Keyword:
234-
return true
235-
case .__function__Keyword:
236-
return true
237-
case .__dso_handle__Keyword:
238-
return true
239229
case .wildcardKeyword:
240230
return true
241231
case .leftAngle:

Sources/SwiftSyntax/gyb_generated/SyntaxFactory.swift

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -9366,51 +9366,6 @@ public enum SyntaxFactory {
93669366
leadingTrivia: leadingTrivia,
93679367
trailingTrivia: trailingTrivia)
93689368
}
9369-
@available(*, deprecated, message: "Use TokenSyntax.__file__KeywordKeyword instead")
9370-
public static func make__FILE__Keyword(
9371-
leadingTrivia: Trivia = [],
9372-
trailingTrivia: Trivia = .space
9373-
) -> TokenSyntax {
9374-
return makeToken(.__file__Keyword, presence: .present,
9375-
leadingTrivia: leadingTrivia,
9376-
trailingTrivia: trailingTrivia)
9377-
}
9378-
@available(*, deprecated, message: "Use TokenSyntax.__line__KeywordKeyword instead")
9379-
public static func make__LINE__Keyword(
9380-
leadingTrivia: Trivia = [],
9381-
trailingTrivia: Trivia = .space
9382-
) -> TokenSyntax {
9383-
return makeToken(.__line__Keyword, presence: .present,
9384-
leadingTrivia: leadingTrivia,
9385-
trailingTrivia: trailingTrivia)
9386-
}
9387-
@available(*, deprecated, message: "Use TokenSyntax.__column__KeywordKeyword instead")
9388-
public static func make__COLUMN__Keyword(
9389-
leadingTrivia: Trivia = [],
9390-
trailingTrivia: Trivia = .space
9391-
) -> TokenSyntax {
9392-
return makeToken(.__column__Keyword, presence: .present,
9393-
leadingTrivia: leadingTrivia,
9394-
trailingTrivia: trailingTrivia)
9395-
}
9396-
@available(*, deprecated, message: "Use TokenSyntax.__function__KeywordKeyword instead")
9397-
public static func make__FUNCTION__Keyword(
9398-
leadingTrivia: Trivia = [],
9399-
trailingTrivia: Trivia = .space
9400-
) -> TokenSyntax {
9401-
return makeToken(.__function__Keyword, presence: .present,
9402-
leadingTrivia: leadingTrivia,
9403-
trailingTrivia: trailingTrivia)
9404-
}
9405-
@available(*, deprecated, message: "Use TokenSyntax.__dso_handle__KeywordKeyword instead")
9406-
public static func make__DSO_HANDLE__Keyword(
9407-
leadingTrivia: Trivia = [],
9408-
trailingTrivia: Trivia = .space
9409-
) -> TokenSyntax {
9410-
return makeToken(.__dso_handle__Keyword, presence: .present,
9411-
leadingTrivia: leadingTrivia,
9412-
trailingTrivia: trailingTrivia)
9413-
}
94149369
@available(*, deprecated, message: "Use TokenSyntax.wildcardKeywordKeyword instead")
94159370
public static func makeWildcardKeyword(
94169371
leadingTrivia: Trivia = [],

Sources/SwiftSyntax/gyb_generated/TokenKind.swift

Lines changed: 0 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,6 @@ public enum TokenKind: Hashable {
6969
case trueKeyword
7070
case tryKeyword
7171
case throwsKeyword
72-
case __file__Keyword
73-
case __line__Keyword
74-
case __column__Keyword
75-
case __function__Keyword
76-
case __dso_handle__Keyword
7772
case wildcardKeyword
7873
case leftParen
7974
case rightParen
@@ -252,16 +247,6 @@ public enum TokenKind: Hashable {
252247
self = .tryKeyword
253248
case "throws":
254249
self = .throwsKeyword
255-
case "__FILE__":
256-
self = .__file__Keyword
257-
case "__LINE__":
258-
self = .__line__Keyword
259-
case "__COLUMN__":
260-
self = .__column__Keyword
261-
case "__FUNCTION__":
262-
self = .__function__Keyword
263-
case "__DSO_HANDLE__":
264-
self = .__dso_handle__Keyword
265250
case "_":
266251
self = .wildcardKeyword
267252
case "#keyPath":
@@ -373,11 +358,6 @@ public enum TokenKind: Hashable {
373358
case .trueKeyword: return "true"
374359
case .tryKeyword: return "try"
375360
case .throwsKeyword: return "throws"
376-
case .__file__Keyword: return "__FILE__"
377-
case .__line__Keyword: return "__LINE__"
378-
case .__column__Keyword: return "__COLUMN__"
379-
case .__function__Keyword: return "__FUNCTION__"
380-
case .__dso_handle__Keyword: return "__DSO_HANDLE__"
381361
case .wildcardKeyword: return "_"
382362
case .leftParen: return "("
383363
case .rightParen: return ")"
@@ -509,11 +489,6 @@ public enum TokenKind: Hashable {
509489
case .trueKeyword: return true
510490
case .tryKeyword: return true
511491
case .throwsKeyword: return true
512-
case .__file__Keyword: return true
513-
case .__line__Keyword: return true
514-
case .__column__Keyword: return true
515-
case .__function__Keyword: return true
516-
case .__dso_handle__Keyword: return true
517492
case .wildcardKeyword: return true
518493
case .leftParen: return false
519494
case .rightParen: return false
@@ -645,11 +620,6 @@ public enum TokenKind: Hashable {
645620
case .trueKeyword: return false
646621
case .tryKeyword: return false
647622
case .throwsKeyword: return false
648-
case .__file__Keyword: return false
649-
case .__line__Keyword: return false
650-
case .__column__Keyword: return false
651-
case .__function__Keyword: return false
652-
case .__dso_handle__Keyword: return false
653623
case .wildcardKeyword: return false
654624
case .leftParen: return true
655625
case .rightParen: return true
@@ -776,11 +746,6 @@ public enum TokenKind: Hashable {
776746
case .trueKeyword: return "kw_true"
777747
case .tryKeyword: return "kw_try"
778748
case .throwsKeyword: return "kw_throws"
779-
case .__file__Keyword: return "kw___FILE__"
780-
case .__line__Keyword: return "kw___LINE__"
781-
case .__column__Keyword: return "kw___COLUMN__"
782-
case .__function__Keyword: return "kw___FUNCTION__"
783-
case .__dso_handle__Keyword: return "kw___DSO_HANDLE__"
784749
case .wildcardKeyword: return "kw__"
785750
case .leftParen: return "l_paren"
786751
case .rightParen: return "r_paren"
@@ -907,11 +872,6 @@ public enum TokenKind: Hashable {
907872
case .trueKeyword: return SourceLength(utf8Length: 4)
908873
case .tryKeyword: return SourceLength(utf8Length: 3)
909874
case .throwsKeyword: return SourceLength(utf8Length: 6)
910-
case .__file__Keyword: return SourceLength(utf8Length: 8)
911-
case .__line__Keyword: return SourceLength(utf8Length: 8)
912-
case .__column__Keyword: return SourceLength(utf8Length: 10)
913-
case .__function__Keyword: return SourceLength(utf8Length: 12)
914-
case .__dso_handle__Keyword: return SourceLength(utf8Length: 14)
915875
case .wildcardKeyword: return SourceLength(utf8Length: 1)
916876
case .leftParen: return SourceLength(utf8Length: 1)
917877
case .rightParen: return SourceLength(utf8Length: 1)
@@ -1040,11 +1000,6 @@ extension TokenKind: Equatable {
10401000
case (.trueKeyword, .trueKeyword): return true
10411001
case (.tryKeyword, .tryKeyword): return true
10421002
case (.throwsKeyword, .throwsKeyword): return true
1043-
case (.__file__Keyword, .__file__Keyword): return true
1044-
case (.__line__Keyword, .__line__Keyword): return true
1045-
case (.__column__Keyword, .__column__Keyword): return true
1046-
case (.__function__Keyword, .__function__Keyword): return true
1047-
case (.__dso_handle__Keyword, .__dso_handle__Keyword): return true
10481003
case (.wildcardKeyword, .wildcardKeyword): return true
10491004
case (.leftParen, .leftParen): return true
10501005
case (.rightParen, .rightParen): return true
@@ -1188,11 +1143,6 @@ public enum RawTokenKind: Equatable, Hashable {
11881143
case trueKeyword
11891144
case tryKeyword
11901145
case throwsKeyword
1191-
case __file__Keyword
1192-
case __line__Keyword
1193-
case __column__Keyword
1194-
case __function__Keyword
1195-
case __dso_handle__Keyword
11961146
case wildcardKeyword
11971147
case leftParen
11981148
case rightParen
@@ -1318,11 +1268,6 @@ public enum RawTokenKind: Equatable, Hashable {
13181268
case .trueKeyword: return "true"
13191269
case .tryKeyword: return "try"
13201270
case .throwsKeyword: return "throws"
1321-
case .__file__Keyword: return "__FILE__"
1322-
case .__line__Keyword: return "__LINE__"
1323-
case .__column__Keyword: return "__COLUMN__"
1324-
case .__function__Keyword: return "__FUNCTION__"
1325-
case .__dso_handle__Keyword: return "__DSO_HANDLE__"
13261271
case .wildcardKeyword: return "_"
13271272
case .leftParen: return "("
13281273
case .rightParen: return ")"
@@ -1436,11 +1381,6 @@ public enum RawTokenKind: Equatable, Hashable {
14361381
case .trueKeyword: return "true"
14371382
case .tryKeyword: return "try"
14381383
case .throwsKeyword: return "throws"
1439-
case .__file__Keyword: return "__FILE__"
1440-
case .__line__Keyword: return "__LINE__"
1441-
case .__column__Keyword: return "__COLUMN__"
1442-
case .__function__Keyword: return "__FUNCTION__"
1443-
case .__dso_handle__Keyword: return "__DSO_HANDLE__"
14441384
case .wildcardKeyword: return "_"
14451385
case .leftParen: return "("
14461386
case .rightParen: return ")"
@@ -1572,11 +1512,6 @@ public enum RawTokenKind: Equatable, Hashable {
15721512
case .trueKeyword: return true
15731513
case .tryKeyword: return true
15741514
case .throwsKeyword: return true
1575-
case .__file__Keyword: return true
1576-
case .__line__Keyword: return true
1577-
case .__column__Keyword: return true
1578-
case .__function__Keyword: return true
1579-
case .__dso_handle__Keyword: return true
15801515
case .wildcardKeyword: return true
15811516
case .leftParen: return false
15821517
case .rightParen: return false
@@ -1708,11 +1643,6 @@ public enum RawTokenKind: Equatable, Hashable {
17081643
case .trueKeyword: return false
17091644
case .tryKeyword: return false
17101645
case .throwsKeyword: return false
1711-
case .__file__Keyword: return false
1712-
case .__line__Keyword: return false
1713-
case .__column__Keyword: return false
1714-
case .__function__Keyword: return false
1715-
case .__dso_handle__Keyword: return false
17161646
case .wildcardKeyword: return false
17171647
case .leftParen: return true
17181648
case .rightParen: return true
@@ -1873,8 +1803,6 @@ public enum RawTokenKind: Equatable, Hashable {
18731803
case "internal": self = .internalKeyword
18741804
case "continue": self = .continueKeyword
18751805
case "rethrows": self = .rethrowsKeyword
1876-
case "__FILE__": self = .__file__Keyword
1877-
case "__LINE__": self = .__line__Keyword
18781806
case "#keyPath": self = .poundKeyPathKeyword
18791807
case "#warning": self = .poundWarningKeyword
18801808
default: return nil
@@ -1891,7 +1819,6 @@ public enum RawTokenKind: Equatable, Hashable {
18911819
}
18921820
case 10:
18931821
switch text {
1894-
case "__COLUMN__": self = .__column__Keyword
18951822
case "#dsohandle": self = .poundDsohandleKeyword
18961823
case "#available": self = .poundAvailableKeyword
18971824
default: return nil
@@ -1905,7 +1832,6 @@ public enum RawTokenKind: Equatable, Hashable {
19051832
}
19061833
case 12:
19071834
switch text {
1908-
case "__FUNCTION__": self = .__function__Keyword
19091835
case "#unavailable": self = .poundUnavailableKeyword
19101836
case "#fileLiteral": self = .poundFileLiteralKeyword
19111837
default: return nil
@@ -1919,7 +1845,6 @@ public enum RawTokenKind: Equatable, Hashable {
19191845
case 14:
19201846
switch text {
19211847
case "associatedtype": self = .associatedtypeKeyword
1922-
case "__DSO_HANDLE__": self = .__dso_handle__Keyword
19231848
default: return nil
19241849
}
19251850
case 15:
@@ -2098,21 +2023,6 @@ extension TokenKind {
20982023
case .throwsKeyword:
20992024
assert(text.isEmpty || rawKind.defaultText.map(String.init) == text)
21002025
return .throwsKeyword
2101-
case .__file__Keyword:
2102-
assert(text.isEmpty || rawKind.defaultText.map(String.init) == text)
2103-
return .__file__Keyword
2104-
case .__line__Keyword:
2105-
assert(text.isEmpty || rawKind.defaultText.map(String.init) == text)
2106-
return .__line__Keyword
2107-
case .__column__Keyword:
2108-
assert(text.isEmpty || rawKind.defaultText.map(String.init) == text)
2109-
return .__column__Keyword
2110-
case .__function__Keyword:
2111-
assert(text.isEmpty || rawKind.defaultText.map(String.init) == text)
2112-
return .__function__Keyword
2113-
case .__dso_handle__Keyword:
2114-
assert(text.isEmpty || rawKind.defaultText.map(String.init) == text)
2115-
return .__dso_handle__Keyword
21162026
case .wildcardKeyword:
21172027
assert(text.isEmpty || rawKind.defaultText.map(String.init) == text)
21182028
return .wildcardKeyword
@@ -2362,11 +2272,6 @@ extension TokenKind {
23622272
case .trueKeyword: return (.trueKeyword, nil)
23632273
case .tryKeyword: return (.tryKeyword, nil)
23642274
case .throwsKeyword: return (.throwsKeyword, nil)
2365-
case .__file__Keyword: return (.__file__Keyword, nil)
2366-
case .__line__Keyword: return (.__line__Keyword, nil)
2367-
case .__column__Keyword: return (.__column__Keyword, nil)
2368-
case .__function__Keyword: return (.__function__Keyword, nil)
2369-
case .__dso_handle__Keyword: return (.__dso_handle__Keyword, nil)
23702275
case .wildcardKeyword: return (.wildcardKeyword, nil)
23712276
case .leftParen: return (.leftParen, nil)
23722277
case .rightParen: return (.rightParen, nil)

Sources/SwiftSyntax/gyb_generated/Tokens.swift

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -658,66 +658,6 @@ extension TokenSyntax {
658658
presence: presence
659659
)
660660
}
661-
public static func __file__Keyword(
662-
leadingTrivia: Trivia = [],
663-
trailingTrivia: Trivia = [],
664-
presence: SourcePresence = .present
665-
) -> TokenSyntax {
666-
return TokenSyntax(
667-
.__file__Keyword,
668-
leadingTrivia: leadingTrivia,
669-
trailingTrivia: trailingTrivia,
670-
presence: presence
671-
)
672-
}
673-
public static func __line__Keyword(
674-
leadingTrivia: Trivia = [],
675-
trailingTrivia: Trivia = [],
676-
presence: SourcePresence = .present
677-
) -> TokenSyntax {
678-
return TokenSyntax(
679-
.__line__Keyword,
680-
leadingTrivia: leadingTrivia,
681-
trailingTrivia: trailingTrivia,
682-
presence: presence
683-
)
684-
}
685-
public static func __column__Keyword(
686-
leadingTrivia: Trivia = [],
687-
trailingTrivia: Trivia = [],
688-
presence: SourcePresence = .present
689-
) -> TokenSyntax {
690-
return TokenSyntax(
691-
.__column__Keyword,
692-
leadingTrivia: leadingTrivia,
693-
trailingTrivia: trailingTrivia,
694-
presence: presence
695-
)
696-
}
697-
public static func __function__Keyword(
698-
leadingTrivia: Trivia = [],
699-
trailingTrivia: Trivia = [],
700-
presence: SourcePresence = .present
701-
) -> TokenSyntax {
702-
return TokenSyntax(
703-
.__function__Keyword,
704-
leadingTrivia: leadingTrivia,
705-
trailingTrivia: trailingTrivia,
706-
presence: presence
707-
)
708-
}
709-
public static func __dso_handle__Keyword(
710-
leadingTrivia: Trivia = [],
711-
trailingTrivia: Trivia = [],
712-
presence: SourcePresence = .present
713-
) -> TokenSyntax {
714-
return TokenSyntax(
715-
.__dso_handle__Keyword,
716-
leadingTrivia: leadingTrivia,
717-
trailingTrivia: trailingTrivia,
718-
presence: presence
719-
)
720-
}
721661
public static func wildcardKeyword(
722662
leadingTrivia: Trivia = [],
723663
trailingTrivia: Trivia = [],

0 commit comments

Comments
 (0)