@@ -1911,9 +1911,9 @@ public struct LifetimeSpecifierArgumentsSyntax: SyntaxProtocol, SyntaxHashable,
1911
1911
///
1912
1912
/// ### Children
1913
1913
///
1914
- /// - `specifier `: `dependsOn`
1914
+ /// - `dependsOnKeyword `: `dependsOn`
1915
1915
/// - `leftParen`: `(`
1916
- /// - `scoped `: `scoped`?
1916
+ /// - `scopedKeyword `: `scoped`?
1917
1917
/// - `arguments`: `LifetimeSpecifierArgumentsSyntax`
1918
1918
/// - `rightParen`: `)`
1919
1919
///
@@ -1935,17 +1935,17 @@ public struct LifetimeTypeSpecifierSyntax: SyntaxProtocol, SyntaxHashable, _Leaf
1935
1935
1936
1936
/// - Parameters:
1937
1937
/// - leadingTrivia: Trivia to be prepended to the leading trivia of the node’s first token. If the node is empty, there is no token to attach the trivia to and the parameter is ignored.
1938
- /// - specifier : The specifier token that's attached to the type.
1938
+ /// - dependsOnKeyword : The specifier token that's attached to the type.
1939
1939
/// - trailingTrivia: Trivia to be appended to the trailing trivia of the node’s last token. If the node is empty, there is no token to attach the trivia to and the parameter is ignored.
1940
1940
public init (
1941
1941
leadingTrivia: Trivia ? = nil ,
1942
- _ unexpectedBeforeSpecifier : UnexpectedNodesSyntax ? = nil ,
1943
- specifier : TokenSyntax = . keyword( . dependsOn) ,
1944
- _ unexpectedBetweenSpecifierAndLeftParen : UnexpectedNodesSyntax ? = nil ,
1942
+ _ unexpectedBeforeDependsOnKeyword : UnexpectedNodesSyntax ? = nil ,
1943
+ dependsOnKeyword : TokenSyntax = . keyword( . dependsOn) ,
1944
+ _ unexpectedBetweenDependsOnKeywordAndLeftParen : UnexpectedNodesSyntax ? = nil ,
1945
1945
leftParen: TokenSyntax = . leftParenToken( ) ,
1946
- _ unexpectedBetweenLeftParenAndScoped : UnexpectedNodesSyntax ? = nil ,
1947
- scoped : TokenSyntax ? = nil ,
1948
- _ unexpectedBetweenScopedAndArguments : UnexpectedNodesSyntax ? = nil ,
1946
+ _ unexpectedBetweenLeftParenAndScopedKeyword : UnexpectedNodesSyntax ? = nil ,
1947
+ scopedKeyword : TokenSyntax ? = nil ,
1948
+ _ unexpectedBetweenScopedKeywordAndArguments : UnexpectedNodesSyntax ? = nil ,
1949
1949
arguments: LifetimeSpecifierArgumentsSyntax ,
1950
1950
_ unexpectedBetweenArgumentsAndRightParen: UnexpectedNodesSyntax ? = nil ,
1951
1951
rightParen: TokenSyntax = . rightParenToken( ) ,
@@ -1956,26 +1956,26 @@ public struct LifetimeTypeSpecifierSyntax: SyntaxProtocol, SyntaxHashable, _Leaf
1956
1956
// Extend the lifetime of all parameters so their arenas don't get destroyed
1957
1957
// before they can be added as children of the new arena.
1958
1958
self = withExtendedLifetime ( ( SyntaxArena ( ) , (
1959
- unexpectedBeforeSpecifier ,
1960
- specifier ,
1961
- unexpectedBetweenSpecifierAndLeftParen ,
1959
+ unexpectedBeforeDependsOnKeyword ,
1960
+ dependsOnKeyword ,
1961
+ unexpectedBetweenDependsOnKeywordAndLeftParen ,
1962
1962
leftParen,
1963
- unexpectedBetweenLeftParenAndScoped ,
1964
- scoped ,
1965
- unexpectedBetweenScopedAndArguments ,
1963
+ unexpectedBetweenLeftParenAndScopedKeyword ,
1964
+ scopedKeyword ,
1965
+ unexpectedBetweenScopedKeywordAndArguments ,
1966
1966
arguments,
1967
1967
unexpectedBetweenArgumentsAndRightParen,
1968
1968
rightParen,
1969
1969
unexpectedAfterRightParen
1970
1970
) ) ) { ( arena, _) in
1971
1971
let layout : [ RawSyntax ? ] = [
1972
- unexpectedBeforeSpecifier ? . raw,
1973
- specifier . raw,
1974
- unexpectedBetweenSpecifierAndLeftParen ? . raw,
1972
+ unexpectedBeforeDependsOnKeyword ? . raw,
1973
+ dependsOnKeyword . raw,
1974
+ unexpectedBetweenDependsOnKeywordAndLeftParen ? . raw,
1975
1975
leftParen. raw,
1976
- unexpectedBetweenLeftParenAndScoped ? . raw,
1977
- scoped ? . raw,
1978
- unexpectedBetweenScopedAndArguments ? . raw,
1976
+ unexpectedBetweenLeftParenAndScopedKeyword ? . raw,
1977
+ scopedKeyword ? . raw,
1978
+ unexpectedBetweenScopedKeywordAndArguments ? . raw,
1979
1979
arguments. raw,
1980
1980
unexpectedBetweenArgumentsAndRightParen? . raw,
1981
1981
rightParen. raw,
@@ -1993,7 +1993,7 @@ public struct LifetimeTypeSpecifierSyntax: SyntaxProtocol, SyntaxHashable, _Leaf
1993
1993
}
1994
1994
}
1995
1995
1996
- public var unexpectedBeforeSpecifier : UnexpectedNodesSyntax ? {
1996
+ public var unexpectedBeforeDependsOnKeyword : UnexpectedNodesSyntax ? {
1997
1997
get {
1998
1998
return Syntax ( self ) . child ( at: 0 ) ? . cast ( UnexpectedNodesSyntax . self)
1999
1999
}
@@ -2007,7 +2007,7 @@ public struct LifetimeTypeSpecifierSyntax: SyntaxProtocol, SyntaxHashable, _Leaf
2007
2007
/// ### Tokens
2008
2008
///
2009
2009
/// For syntax trees generated by the parser, this is guaranteed to be `dependsOn`.
2010
- public var specifier : TokenSyntax {
2010
+ public var dependsOnKeyword : TokenSyntax {
2011
2011
get {
2012
2012
return Syntax ( self ) . child ( at: 1 ) !. cast ( TokenSyntax . self)
2013
2013
}
@@ -2016,7 +2016,7 @@ public struct LifetimeTypeSpecifierSyntax: SyntaxProtocol, SyntaxHashable, _Leaf
2016
2016
}
2017
2017
}
2018
2018
2019
- public var unexpectedBetweenSpecifierAndLeftParen : UnexpectedNodesSyntax ? {
2019
+ public var unexpectedBetweenDependsOnKeywordAndLeftParen : UnexpectedNodesSyntax ? {
2020
2020
get {
2021
2021
return Syntax ( self ) . child ( at: 2 ) ? . cast ( UnexpectedNodesSyntax . self)
2022
2022
}
@@ -2037,7 +2037,7 @@ public struct LifetimeTypeSpecifierSyntax: SyntaxProtocol, SyntaxHashable, _Leaf
2037
2037
}
2038
2038
}
2039
2039
2040
- public var unexpectedBetweenLeftParenAndScoped : UnexpectedNodesSyntax ? {
2040
+ public var unexpectedBetweenLeftParenAndScopedKeyword : UnexpectedNodesSyntax ? {
2041
2041
get {
2042
2042
return Syntax ( self ) . child ( at: 4 ) ? . cast ( UnexpectedNodesSyntax . self)
2043
2043
}
@@ -2049,7 +2049,7 @@ public struct LifetimeTypeSpecifierSyntax: SyntaxProtocol, SyntaxHashable, _Leaf
2049
2049
/// ### Tokens
2050
2050
///
2051
2051
/// For syntax trees generated by the parser, this is guaranteed to be `scoped`.
2052
- public var scoped : TokenSyntax ? {
2052
+ public var scopedKeyword : TokenSyntax ? {
2053
2053
get {
2054
2054
return Syntax ( self ) . child ( at: 5 ) ? . cast ( TokenSyntax . self)
2055
2055
}
@@ -2058,7 +2058,7 @@ public struct LifetimeTypeSpecifierSyntax: SyntaxProtocol, SyntaxHashable, _Leaf
2058
2058
}
2059
2059
}
2060
2060
2061
- public var unexpectedBetweenScopedAndArguments : UnexpectedNodesSyntax ? {
2061
+ public var unexpectedBetweenScopedKeywordAndArguments : UnexpectedNodesSyntax ? {
2062
2062
get {
2063
2063
return Syntax ( self ) . child ( at: 6 ) ? . cast ( UnexpectedNodesSyntax . self)
2064
2064
}
@@ -2108,13 +2108,13 @@ public struct LifetimeTypeSpecifierSyntax: SyntaxProtocol, SyntaxHashable, _Leaf
2108
2108
2109
2109
public static var structure : SyntaxNodeStructure {
2110
2110
return . layout( [
2111
- \Self . unexpectedBeforeSpecifier ,
2112
- \Self . specifier ,
2113
- \Self . unexpectedBetweenSpecifierAndLeftParen ,
2111
+ \Self . unexpectedBeforeDependsOnKeyword ,
2112
+ \Self . dependsOnKeyword ,
2113
+ \Self . unexpectedBetweenDependsOnKeywordAndLeftParen ,
2114
2114
\Self . leftParen,
2115
- \Self . unexpectedBetweenLeftParenAndScoped ,
2116
- \Self . scoped ,
2117
- \Self . unexpectedBetweenScopedAndArguments ,
2115
+ \Self . unexpectedBetweenLeftParenAndScopedKeyword ,
2116
+ \Self . scopedKeyword ,
2117
+ \Self . unexpectedBetweenScopedKeywordAndArguments ,
2118
2118
\Self . arguments,
2119
2119
\Self . unexpectedBetweenArgumentsAndRightParen,
2120
2120
\Self . rightParen,
0 commit comments