File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
CodeGeneration/Sources/generate-swiftsyntax/templates/swiftsyntax Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ func syntaxNode(emitKind: SyntaxNodeKind) -> SourceFileSyntax {
91
91
}
92
92
93
93
let closureSignature = ClosureSignatureSyntax (
94
- input : . input (
94
+ parameterClause : . parameterClause (
95
95
ClosureParameterClauseSyntax (
96
96
parameterList: ClosureParameterListSyntax {
97
97
ClosureParameterSyntax ( firstName: . identifier( " arena " ) )
@@ -105,7 +105,7 @@ func syntaxNode(emitKind: SyntaxNodeKind) -> SourceFileSyntax {
105
105
ArrayElementSyntax (
106
106
expression: MemberAccessExprSyntax (
107
107
base: child. type. optionalChained ( expr: ExprSyntax ( " \( raw: child. varName. backtickedIfNeeded) " ) ) ,
108
- dot : . periodToken( ) ,
108
+ period : . periodToken( ) ,
109
109
name: " raw "
110
110
)
111
111
)
@@ -169,7 +169,7 @@ func syntaxNode(emitKind: SyntaxNodeKind) -> SourceFileSyntax {
169
169
public var \( raw: child. varName. backtickedIfNeeded) : \( type)
170
170
"""
171
171
) {
172
- AccessorDeclSyntax ( accessorKind : . keyword( . get) ) {
172
+ AccessorDeclSyntax ( accessorSpecifier : . keyword( . get) ) {
173
173
if child. isOptional {
174
174
StmtSyntax ( " return data.child(at: \( raw: index) , parent: Syntax(self)).map( \( raw: childType) .init) " )
175
175
} else {
You can’t perform that action at this time.
0 commit comments