diff --git a/CodeGeneration/Sources/generate-swift-syntax/templates/swiftsyntax/SyntaxNodesFile.swift b/CodeGeneration/Sources/generate-swift-syntax/templates/swiftsyntax/SyntaxNodesFile.swift index 3866b307467..26de3ceb651 100644 --- a/CodeGeneration/Sources/generate-swift-syntax/templates/swiftsyntax/SyntaxNodesFile.swift +++ b/CodeGeneration/Sources/generate-swift-syntax/templates/swiftsyntax/SyntaxNodesFile.swift @@ -171,9 +171,9 @@ func syntaxNode(nodesStartingWith: [Character]) -> SourceFileSyntax { ) { AccessorDeclSyntax(accessorSpecifier: .keyword(.get)) { if child.isOptional { - StmtSyntax("return data.child(at: \(raw: index), parent: Syntax(self)).map(\(childType).init)") + StmtSyntax("return data.child(at: \(raw: index)).map(\(childType).init)") } else { - StmtSyntax("return \(childType)(data.child(at: \(raw: index), parent: Syntax(self))!)") + StmtSyntax("return \(childType)(data.child(at: \(raw: index))!)") } } diff --git a/Sources/SwiftSyntax/SyntaxData.swift b/Sources/SwiftSyntax/SyntaxData.swift index 10e9ba27401..2338d712424 100644 --- a/Sources/SwiftSyntax/SyntaxData.swift +++ b/Sources/SwiftSyntax/SyntaxData.swift @@ -292,10 +292,8 @@ struct SyntaxData { /// data's layout. /// /// - Parameter index: The index to create and cache. - /// - Parameter parent: The parent to associate the child with. This is - /// normally the Syntax node that this `SyntaxData` belongs to. /// - Returns: The child's data at the provided index. - func child(at index: Int, parent: Syntax) -> SyntaxData? { + func child(at index: Int) -> SyntaxData? { if raw.layoutView!.children[index] == nil { return nil } var iter = RawSyntaxChildren(absoluteRaw).makeIterator() for _ in 0..`. public var placeholder: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = EditorPlaceholderDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -202,7 +202,7 @@ public struct EditorPlaceholderDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterPlaceholder: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = EditorPlaceholderDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -276,7 +276,7 @@ public struct EditorPlaceholderExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforePlaceholder: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = EditorPlaceholderExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -285,7 +285,7 @@ public struct EditorPlaceholderExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var placeholder: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = EditorPlaceholderExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -294,7 +294,7 @@ public struct EditorPlaceholderExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterPlaceholder: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = EditorPlaceholderExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -395,7 +395,7 @@ public struct EnumCaseDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -405,7 +405,7 @@ public struct EnumCaseDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The attributes applied to the case declaration. public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = EnumCaseDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -440,7 +440,7 @@ public struct EnumCaseDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -450,7 +450,7 @@ public struct EnumCaseDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The declaration modifiers applied to the case declaration. public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = EnumCaseDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -485,7 +485,7 @@ public struct EnumCaseDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndCaseKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -495,7 +495,7 @@ public struct EnumCaseDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The `case` keyword for this case. public var caseKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = EnumCaseDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -504,7 +504,7 @@ public struct EnumCaseDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenCaseKeywordAndElements: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -514,7 +514,7 @@ public struct EnumCaseDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The elements this case declares. public var elements: EnumCaseElementListSyntax { get { - return EnumCaseElementListSyntax(data.child(at: 7, parent: Syntax(self))!) + return EnumCaseElementListSyntax(data.child(at: 7)!) } set(value) { self = EnumCaseDeclSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -549,7 +549,7 @@ public struct EnumCaseDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterElements: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseDeclSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -664,7 +664,7 @@ public struct EnumCaseElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeName: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseElementSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -674,7 +674,7 @@ public struct EnumCaseElementSyntax: SyntaxProtocol, SyntaxHashable { /// The name of this case. public var name: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = EnumCaseElementSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -683,7 +683,7 @@ public struct EnumCaseElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndParameterClause: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseElementSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -693,7 +693,7 @@ public struct EnumCaseElementSyntax: SyntaxProtocol, SyntaxHashable { /// The set of associated values of the case. public var parameterClause: EnumCaseParameterClauseSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(EnumCaseParameterClauseSyntax.init) + return data.child(at: 3).map(EnumCaseParameterClauseSyntax.init) } set(value) { self = EnumCaseElementSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -702,7 +702,7 @@ public struct EnumCaseElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenParameterClauseAndRawValue: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseElementSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -712,7 +712,7 @@ public struct EnumCaseElementSyntax: SyntaxProtocol, SyntaxHashable { /// The raw value of this enum element, if present. public var rawValue: InitializerClauseSyntax? { get { - return data.child(at: 5, parent: Syntax(self)).map(InitializerClauseSyntax.init) + return data.child(at: 5).map(InitializerClauseSyntax.init) } set(value) { self = EnumCaseElementSyntax(data.replacingChild(at: 5, with: value?.data, arena: SyntaxArena())) @@ -721,7 +721,7 @@ public struct EnumCaseElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenRawValueAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseElementSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -731,7 +731,7 @@ public struct EnumCaseElementSyntax: SyntaxProtocol, SyntaxHashable { /// The trailing comma of this element, if the case has multiple elements. public var trailingComma: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = EnumCaseElementSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -740,7 +740,7 @@ public struct EnumCaseElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseElementSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -845,7 +845,7 @@ public struct EnumCaseParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLeftParen: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseParameterClauseSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -855,7 +855,7 @@ public struct EnumCaseParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { /// The '(' to open the parameter clause. public var leftParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = EnumCaseParameterClauseSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -864,7 +864,7 @@ public struct EnumCaseParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftParenAndParameters: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseParameterClauseSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -874,7 +874,7 @@ public struct EnumCaseParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { /// The actual parameters. public var parameters: EnumCaseParameterListSyntax { get { - return EnumCaseParameterListSyntax(data.child(at: 3, parent: Syntax(self))!) + return EnumCaseParameterListSyntax(data.child(at: 3)!) } set(value) { self = EnumCaseParameterClauseSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -909,7 +909,7 @@ public struct EnumCaseParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenParametersAndRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseParameterClauseSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -919,7 +919,7 @@ public struct EnumCaseParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { /// The ')' to close the parameter clause. public var rightParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = EnumCaseParameterClauseSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -928,7 +928,7 @@ public struct EnumCaseParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseParameterClauseSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1060,7 +1060,7 @@ public struct EnumCaseParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseParameterSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1069,7 +1069,7 @@ public struct EnumCaseParameterSyntax: SyntaxProtocol, SyntaxHashable { public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 1, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 1)!) } set(value) { self = EnumCaseParameterSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1104,7 +1104,7 @@ public struct EnumCaseParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndFirstName: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseParameterSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1113,7 +1113,7 @@ public struct EnumCaseParameterSyntax: SyntaxProtocol, SyntaxHashable { public var firstName: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = EnumCaseParameterSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -1122,7 +1122,7 @@ public struct EnumCaseParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenFirstNameAndSecondName: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseParameterSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1131,7 +1131,7 @@ public struct EnumCaseParameterSyntax: SyntaxProtocol, SyntaxHashable { public var secondName: TokenSyntax? { get { - return data.child(at: 5, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 5).map(TokenSyntax.init) } set(value) { self = EnumCaseParameterSyntax(data.replacingChild(at: 5, with: value?.data, arena: SyntaxArena())) @@ -1140,7 +1140,7 @@ public struct EnumCaseParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenSecondNameAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseParameterSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1150,7 +1150,7 @@ public struct EnumCaseParameterSyntax: SyntaxProtocol, SyntaxHashable { /// If the parameter has a label, the colon separating the label from the type. public var colon: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = EnumCaseParameterSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -1159,7 +1159,7 @@ public struct EnumCaseParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenColonAndType: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseParameterSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -1169,7 +1169,7 @@ public struct EnumCaseParameterSyntax: SyntaxProtocol, SyntaxHashable { /// The parameter's type. public var type: TypeSyntax { get { - return TypeSyntax(data.child(at: 9, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 9)!) } set(value) { self = EnumCaseParameterSyntax(data.replacingChild(at: 9, with: value.data, arena: SyntaxArena())) @@ -1178,7 +1178,7 @@ public struct EnumCaseParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTypeAndDefaultValue: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseParameterSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -1188,7 +1188,7 @@ public struct EnumCaseParameterSyntax: SyntaxProtocol, SyntaxHashable { /// If the parameter has a default value, the initializer clause describing the default value. public var defaultValue: InitializerClauseSyntax? { get { - return data.child(at: 11, parent: Syntax(self)).map(InitializerClauseSyntax.init) + return data.child(at: 11).map(InitializerClauseSyntax.init) } set(value) { self = EnumCaseParameterSyntax(data.replacingChild(at: 11, with: value?.data, arena: SyntaxArena())) @@ -1197,7 +1197,7 @@ public struct EnumCaseParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenDefaultValueAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseParameterSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -1207,7 +1207,7 @@ public struct EnumCaseParameterSyntax: SyntaxProtocol, SyntaxHashable { /// If the parameter is followed by another parameter, the comma separating them. public var trailingComma: TokenSyntax? { get { - return data.child(at: 13, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 13).map(TokenSyntax.init) } set(value) { self = EnumCaseParameterSyntax(data.replacingChild(at: 13, with: value?.data, arena: SyntaxArena())) @@ -1216,7 +1216,7 @@ public struct EnumCaseParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumCaseParameterSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -1365,7 +1365,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1375,7 +1375,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The attributes applied to the enum declaration. public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1410,7 +1410,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1420,7 +1420,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The declaration modifiers applied to the enum declaration. public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1455,7 +1455,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndEnumKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1465,7 +1465,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The `enum` keyword for this declaration. public var enumKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1474,7 +1474,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenEnumKeywordAndName: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1484,7 +1484,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// Declares the name of this enum. If the name matches a reserved keyword use backticks to escape it. public var name: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -1493,7 +1493,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndGenericParameterClause: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -1503,7 +1503,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The generic parameters, if any, for this enum declaration. public var genericParameterClause: GenericParameterClauseSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(GenericParameterClauseSyntax.init) + return data.child(at: 9).map(GenericParameterClauseSyntax.init) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -1512,7 +1512,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericParameterClauseAndInheritanceClause: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -1522,7 +1522,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The inheritance clause describing conformances or raw values for this enum declaration. public var inheritanceClause: InheritanceClauseSyntax? { get { - return data.child(at: 11, parent: Syntax(self)).map(InheritanceClauseSyntax.init) + return data.child(at: 11).map(InheritanceClauseSyntax.init) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 11, with: value?.data, arena: SyntaxArena())) @@ -1531,7 +1531,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenInheritanceClauseAndGenericWhereClause: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -1541,7 +1541,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The `where` clause that applies to the generic parameters of this enum declaration. public var genericWhereClause: GenericWhereClauseSyntax? { get { - return data.child(at: 13, parent: Syntax(self)).map(GenericWhereClauseSyntax.init) + return data.child(at: 13).map(GenericWhereClauseSyntax.init) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 13, with: value?.data, arena: SyntaxArena())) @@ -1550,7 +1550,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericWhereClauseAndMemberBlock: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -1560,7 +1560,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The cases and other members associated with this enum declaration. Because enum extension declarations may declare additional members the contents of this member block isn't guaranteed to be a complete list of members for this type. public var memberBlock: MemberBlockSyntax { get { - return MemberBlockSyntax(data.child(at: 15, parent: Syntax(self))!) + return MemberBlockSyntax(data.child(at: 15)!) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 15, with: value.data, arena: SyntaxArena())) @@ -1569,7 +1569,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterMemberBlock: UnexpectedNodesSyntax? { get { - return data.child(at: 16, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 16).map(UnexpectedNodesSyntax.init) } set(value) { self = EnumDeclSyntax(data.replacingChild(at: 16, with: value?.data, arena: SyntaxArena())) @@ -1681,7 +1681,7 @@ public struct ExposeAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLanguage: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ExposeAttributeArgumentsSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1690,7 +1690,7 @@ public struct ExposeAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHashable { public var language: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = ExposeAttributeArgumentsSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1699,7 +1699,7 @@ public struct ExposeAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLanguageAndComma: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ExposeAttributeArgumentsSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1708,7 +1708,7 @@ public struct ExposeAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHashable { public var comma: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = ExposeAttributeArgumentsSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -1717,7 +1717,7 @@ public struct ExposeAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenCommaAndCxxName: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = ExposeAttributeArgumentsSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1726,7 +1726,7 @@ public struct ExposeAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHashable { public var cxxName: StringLiteralExprSyntax? { get { - return data.child(at: 5, parent: Syntax(self)).map(StringLiteralExprSyntax.init) + return data.child(at: 5).map(StringLiteralExprSyntax.init) } set(value) { self = ExposeAttributeArgumentsSyntax(data.replacingChild(at: 5, with: value?.data, arena: SyntaxArena())) @@ -1735,7 +1735,7 @@ public struct ExposeAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterCxxName: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = ExposeAttributeArgumentsSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1809,7 +1809,7 @@ public struct ExpressionPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ExpressionPatternSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1818,7 +1818,7 @@ public struct ExpressionPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var expression: ExprSyntax { get { - return ExprSyntax(data.child(at: 1, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 1)!) } set(value) { self = ExpressionPatternSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1827,7 +1827,7 @@ public struct ExpressionPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedAfterExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ExpressionPatternSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1933,7 +1933,7 @@ public struct ExpressionSegmentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeBackslash: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ExpressionSegmentSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1942,7 +1942,7 @@ public struct ExpressionSegmentSyntax: SyntaxProtocol, SyntaxHashable { public var backslash: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = ExpressionSegmentSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1951,7 +1951,7 @@ public struct ExpressionSegmentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenBackslashAndPounds: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ExpressionSegmentSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1960,7 +1960,7 @@ public struct ExpressionSegmentSyntax: SyntaxProtocol, SyntaxHashable { public var pounds: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = ExpressionSegmentSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -1969,7 +1969,7 @@ public struct ExpressionSegmentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPoundsAndLeftParen: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = ExpressionSegmentSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1978,7 +1978,7 @@ public struct ExpressionSegmentSyntax: SyntaxProtocol, SyntaxHashable { public var leftParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = ExpressionSegmentSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1987,7 +1987,7 @@ public struct ExpressionSegmentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftParenAndExpressions: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = ExpressionSegmentSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1996,7 +1996,7 @@ public struct ExpressionSegmentSyntax: SyntaxProtocol, SyntaxHashable { public var expressions: LabeledExprListSyntax { get { - return LabeledExprListSyntax(data.child(at: 7, parent: Syntax(self))!) + return LabeledExprListSyntax(data.child(at: 7)!) } set(value) { self = ExpressionSegmentSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -2031,7 +2031,7 @@ public struct ExpressionSegmentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenExpressionsAndRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = ExpressionSegmentSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -2040,7 +2040,7 @@ public struct ExpressionSegmentSyntax: SyntaxProtocol, SyntaxHashable { public var rightParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 9, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 9)!) } set(value) { self = ExpressionSegmentSyntax(data.replacingChild(at: 9, with: value.data, arena: SyntaxArena())) @@ -2049,7 +2049,7 @@ public struct ExpressionSegmentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = ExpressionSegmentSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -2127,7 +2127,7 @@ public struct ExpressionStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ExpressionStmtSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2136,7 +2136,7 @@ public struct ExpressionStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var expression: ExprSyntax { get { - return ExprSyntax(data.child(at: 1, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 1)!) } set(value) { self = ExpressionStmtSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2145,7 +2145,7 @@ public struct ExpressionStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedAfterExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ExpressionStmtSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2262,7 +2262,7 @@ public struct ExtensionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ExtensionDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2271,7 +2271,7 @@ public struct ExtensionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = ExtensionDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2306,7 +2306,7 @@ public struct ExtensionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ExtensionDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2315,7 +2315,7 @@ public struct ExtensionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = ExtensionDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2350,7 +2350,7 @@ public struct ExtensionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndExtensionKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = ExtensionDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2359,7 +2359,7 @@ public struct ExtensionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var extensionKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = ExtensionDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -2368,7 +2368,7 @@ public struct ExtensionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenExtensionKeywordAndExtendedType: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = ExtensionDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2377,7 +2377,7 @@ public struct ExtensionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var extendedType: TypeSyntax { get { - return TypeSyntax(data.child(at: 7, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 7)!) } set(value) { self = ExtensionDeclSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -2386,7 +2386,7 @@ public struct ExtensionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenExtendedTypeAndInheritanceClause: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = ExtensionDeclSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -2395,7 +2395,7 @@ public struct ExtensionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var inheritanceClause: InheritanceClauseSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(InheritanceClauseSyntax.init) + return data.child(at: 9).map(InheritanceClauseSyntax.init) } set(value) { self = ExtensionDeclSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -2404,7 +2404,7 @@ public struct ExtensionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenInheritanceClauseAndGenericWhereClause: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = ExtensionDeclSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -2414,7 +2414,7 @@ public struct ExtensionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// A `where` clause that places additional constraints on generic parameters like `where Element: Hashable`. public var genericWhereClause: GenericWhereClauseSyntax? { get { - return data.child(at: 11, parent: Syntax(self)).map(GenericWhereClauseSyntax.init) + return data.child(at: 11).map(GenericWhereClauseSyntax.init) } set(value) { self = ExtensionDeclSyntax(data.replacingChild(at: 11, with: value?.data, arena: SyntaxArena())) @@ -2423,7 +2423,7 @@ public struct ExtensionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericWhereClauseAndMemberBlock: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = ExtensionDeclSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -2432,7 +2432,7 @@ public struct ExtensionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var memberBlock: MemberBlockSyntax { get { - return MemberBlockSyntax(data.child(at: 13, parent: Syntax(self))!) + return MemberBlockSyntax(data.child(at: 13)!) } set(value) { self = ExtensionDeclSyntax(data.replacingChild(at: 13, with: value.data, arena: SyntaxArena())) @@ -2441,7 +2441,7 @@ public struct ExtensionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterMemberBlock: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = ExtensionDeclSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -2523,7 +2523,7 @@ public struct FallThroughStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeFallthroughKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = FallThroughStmtSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2532,7 +2532,7 @@ public struct FallThroughStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var fallthroughKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = FallThroughStmtSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2541,7 +2541,7 @@ public struct FallThroughStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedAfterFallthroughKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = FallThroughStmtSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2607,7 +2607,7 @@ public struct FloatLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLiteral: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = FloatLiteralExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2616,7 +2616,7 @@ public struct FloatLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var literal: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = FloatLiteralExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2625,7 +2625,7 @@ public struct FloatLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterLiteral: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = FloatLiteralExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2762,7 +2762,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeForKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2771,7 +2771,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var forKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2780,7 +2780,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenForKeywordAndTryKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2789,7 +2789,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var tryKeyword: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -2798,7 +2798,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTryKeywordAndAwaitKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2807,7 +2807,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var awaitKeyword: TokenSyntax? { get { - return data.child(at: 5, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 5).map(TokenSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 5, with: value?.data, arena: SyntaxArena())) @@ -2816,7 +2816,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAwaitKeywordAndCaseKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2825,7 +2825,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var caseKeyword: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -2834,7 +2834,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenCaseKeywordAndPattern: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -2843,7 +2843,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var pattern: PatternSyntax { get { - return PatternSyntax(data.child(at: 9, parent: Syntax(self))!) + return PatternSyntax(data.child(at: 9)!) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 9, with: value.data, arena: SyntaxArena())) @@ -2852,7 +2852,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPatternAndTypeAnnotation: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -2861,7 +2861,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var typeAnnotation: TypeAnnotationSyntax? { get { - return data.child(at: 11, parent: Syntax(self)).map(TypeAnnotationSyntax.init) + return data.child(at: 11).map(TypeAnnotationSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 11, with: value?.data, arena: SyntaxArena())) @@ -2870,7 +2870,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTypeAnnotationAndInKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -2879,7 +2879,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var inKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 13, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 13)!) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 13, with: value.data, arena: SyntaxArena())) @@ -2888,7 +2888,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenInKeywordAndSequence: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -2897,7 +2897,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var sequence: ExprSyntax { get { - return ExprSyntax(data.child(at: 15, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 15)!) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 15, with: value.data, arena: SyntaxArena())) @@ -2906,7 +2906,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenSequenceAndWhereClause: UnexpectedNodesSyntax? { get { - return data.child(at: 16, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 16).map(UnexpectedNodesSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 16, with: value?.data, arena: SyntaxArena())) @@ -2915,7 +2915,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var whereClause: WhereClauseSyntax? { get { - return data.child(at: 17, parent: Syntax(self)).map(WhereClauseSyntax.init) + return data.child(at: 17).map(WhereClauseSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 17, with: value?.data, arena: SyntaxArena())) @@ -2924,7 +2924,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenWhereClauseAndBody: UnexpectedNodesSyntax? { get { - return data.child(at: 18, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 18).map(UnexpectedNodesSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 18, with: value?.data, arena: SyntaxArena())) @@ -2933,7 +2933,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var body: CodeBlockSyntax { get { - return CodeBlockSyntax(data.child(at: 19, parent: Syntax(self))!) + return CodeBlockSyntax(data.child(at: 19)!) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 19, with: value.data, arena: SyntaxArena())) @@ -2942,7 +2942,7 @@ public struct ForStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedAfterBody: UnexpectedNodesSyntax? { get { - return data.child(at: 20, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 20).map(UnexpectedNodesSyntax.init) } set(value) { self = ForStmtSyntax(data.replacingChild(at: 20, with: value?.data, arena: SyntaxArena())) @@ -3045,7 +3045,7 @@ public struct ForceUnwrapExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ForceUnwrapExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3054,7 +3054,7 @@ public struct ForceUnwrapExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var expression: ExprSyntax { get { - return ExprSyntax(data.child(at: 1, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 1)!) } set(value) { self = ForceUnwrapExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3063,7 +3063,7 @@ public struct ForceUnwrapExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenExpressionAndExclamationMark: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ForceUnwrapExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3072,7 +3072,7 @@ public struct ForceUnwrapExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var exclamationMark: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = ForceUnwrapExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3081,7 +3081,7 @@ public struct ForceUnwrapExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterExclamationMark: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = ForceUnwrapExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3196,7 +3196,7 @@ public struct FunctionCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeCalledExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionCallExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3205,7 +3205,7 @@ public struct FunctionCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var calledExpression: ExprSyntax { get { - return ExprSyntax(data.child(at: 1, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 1)!) } set(value) { self = FunctionCallExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3214,7 +3214,7 @@ public struct FunctionCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenCalledExpressionAndLeftParen: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionCallExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3223,7 +3223,7 @@ public struct FunctionCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var leftParen: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = FunctionCallExprSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -3232,7 +3232,7 @@ public struct FunctionCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftParenAndArguments: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionCallExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3241,7 +3241,7 @@ public struct FunctionCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var arguments: LabeledExprListSyntax { get { - return LabeledExprListSyntax(data.child(at: 5, parent: Syntax(self))!) + return LabeledExprListSyntax(data.child(at: 5)!) } set(value) { self = FunctionCallExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3276,7 +3276,7 @@ public struct FunctionCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenArgumentsAndRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionCallExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3285,7 +3285,7 @@ public struct FunctionCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var rightParen: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = FunctionCallExprSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -3294,7 +3294,7 @@ public struct FunctionCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenRightParenAndTrailingClosure: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionCallExprSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -3303,7 +3303,7 @@ public struct FunctionCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var trailingClosure: ClosureExprSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(ClosureExprSyntax.init) + return data.child(at: 9).map(ClosureExprSyntax.init) } set(value) { self = FunctionCallExprSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -3312,7 +3312,7 @@ public struct FunctionCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTrailingClosureAndAdditionalTrailingClosures: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionCallExprSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -3321,7 +3321,7 @@ public struct FunctionCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var additionalTrailingClosures: MultipleTrailingClosureElementListSyntax { get { - return MultipleTrailingClosureElementListSyntax(data.child(at: 11, parent: Syntax(self))!) + return MultipleTrailingClosureElementListSyntax(data.child(at: 11)!) } set(value) { self = FunctionCallExprSyntax(data.replacingChild(at: 11, with: value.data, arena: SyntaxArena())) @@ -3356,7 +3356,7 @@ public struct FunctionCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterAdditionalTrailingClosures: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionCallExprSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -3495,7 +3495,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3504,7 +3504,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3539,7 +3539,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3548,7 +3548,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3583,7 +3583,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndFuncKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3592,7 +3592,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var funcKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3601,7 +3601,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenFuncKeywordAndName: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3610,7 +3610,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var name: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -3619,7 +3619,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndGenericParameterClause: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -3629,7 +3629,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The parameter clause that defines the generic parameters. public var genericParameterClause: GenericParameterClauseSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(GenericParameterClauseSyntax.init) + return data.child(at: 9).map(GenericParameterClauseSyntax.init) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -3638,7 +3638,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericParameterClauseAndSignature: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -3647,7 +3647,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var signature: FunctionSignatureSyntax { get { - return FunctionSignatureSyntax(data.child(at: 11, parent: Syntax(self))!) + return FunctionSignatureSyntax(data.child(at: 11)!) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 11, with: value.data, arena: SyntaxArena())) @@ -3656,7 +3656,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenSignatureAndGenericWhereClause: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -3666,7 +3666,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// A `where` clause that places additional constraints on generic parameters like `where Element: Hashable`. public var genericWhereClause: GenericWhereClauseSyntax? { get { - return data.child(at: 13, parent: Syntax(self)).map(GenericWhereClauseSyntax.init) + return data.child(at: 13).map(GenericWhereClauseSyntax.init) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 13, with: value?.data, arena: SyntaxArena())) @@ -3675,7 +3675,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericWhereClauseAndBody: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -3684,7 +3684,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var body: CodeBlockSyntax? { get { - return data.child(at: 15, parent: Syntax(self)).map(CodeBlockSyntax.init) + return data.child(at: 15).map(CodeBlockSyntax.init) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 15, with: value?.data, arena: SyntaxArena())) @@ -3693,7 +3693,7 @@ public struct FunctionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterBody: UnexpectedNodesSyntax? { get { - return data.child(at: 16, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 16).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionDeclSyntax(data.replacingChild(at: 16, with: value?.data, arena: SyntaxArena())) @@ -3796,7 +3796,7 @@ public struct FunctionEffectSpecifiersSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAsyncSpecifier: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionEffectSpecifiersSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3805,7 +3805,7 @@ public struct FunctionEffectSpecifiersSyntax: SyntaxProtocol, SyntaxHashable { public var asyncSpecifier: TokenSyntax? { get { - return data.child(at: 1, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 1).map(TokenSyntax.init) } set(value) { self = FunctionEffectSpecifiersSyntax(data.replacingChild(at: 1, with: value?.data, arena: SyntaxArena())) @@ -3814,7 +3814,7 @@ public struct FunctionEffectSpecifiersSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAsyncSpecifierAndThrowsSpecifier: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionEffectSpecifiersSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3823,7 +3823,7 @@ public struct FunctionEffectSpecifiersSyntax: SyntaxProtocol, SyntaxHashable { public var throwsSpecifier: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = FunctionEffectSpecifiersSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -3832,7 +3832,7 @@ public struct FunctionEffectSpecifiersSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterThrowsSpecifier: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionEffectSpecifiersSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3931,7 +3931,7 @@ public struct FunctionParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLeftParen: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionParameterClauseSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3940,7 +3940,7 @@ public struct FunctionParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var leftParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = FunctionParameterClauseSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3949,7 +3949,7 @@ public struct FunctionParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftParenAndParameters: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionParameterClauseSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3958,7 +3958,7 @@ public struct FunctionParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var parameters: FunctionParameterListSyntax { get { - return FunctionParameterListSyntax(data.child(at: 3, parent: Syntax(self))!) + return FunctionParameterListSyntax(data.child(at: 3)!) } set(value) { self = FunctionParameterClauseSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3993,7 +3993,7 @@ public struct FunctionParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenParametersAndRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionParameterClauseSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4002,7 +4002,7 @@ public struct FunctionParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var rightParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = FunctionParameterClauseSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -4011,7 +4011,7 @@ public struct FunctionParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionParameterClauseSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -4153,7 +4153,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4162,7 +4162,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4197,7 +4197,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4206,7 +4206,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -4241,7 +4241,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndFirstName: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4250,7 +4250,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var firstName: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -4259,7 +4259,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenFirstNameAndSecondName: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -4268,7 +4268,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var secondName: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -4277,7 +4277,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenSecondNameAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -4286,7 +4286,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 9, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 9)!) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 9, with: value.data, arena: SyntaxArena())) @@ -4295,7 +4295,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenColonAndType: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -4304,7 +4304,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var type: TypeSyntax { get { - return TypeSyntax(data.child(at: 11, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 11)!) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 11, with: value.data, arena: SyntaxArena())) @@ -4313,7 +4313,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTypeAndEllipsis: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -4322,7 +4322,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var ellipsis: TokenSyntax? { get { - return data.child(at: 13, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 13).map(TokenSyntax.init) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 13, with: value?.data, arena: SyntaxArena())) @@ -4331,7 +4331,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenEllipsisAndDefaultValue: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -4340,7 +4340,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var defaultValue: InitializerClauseSyntax? { get { - return data.child(at: 15, parent: Syntax(self)).map(InitializerClauseSyntax.init) + return data.child(at: 15).map(InitializerClauseSyntax.init) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 15, with: value?.data, arena: SyntaxArena())) @@ -4349,7 +4349,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenDefaultValueAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 16, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 16).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 16, with: value?.data, arena: SyntaxArena())) @@ -4358,7 +4358,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var trailingComma: TokenSyntax? { get { - return data.child(at: 17, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 17).map(TokenSyntax.init) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 17, with: value?.data, arena: SyntaxArena())) @@ -4367,7 +4367,7 @@ public struct FunctionParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 18, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 18).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionParameterSyntax(data.replacingChild(at: 18, with: value?.data, arena: SyntaxArena())) @@ -4481,7 +4481,7 @@ public struct FunctionSignatureSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeParameterClause: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionSignatureSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4490,7 +4490,7 @@ public struct FunctionSignatureSyntax: SyntaxProtocol, SyntaxHashable { public var parameterClause: FunctionParameterClauseSyntax { get { - return FunctionParameterClauseSyntax(data.child(at: 1, parent: Syntax(self))!) + return FunctionParameterClauseSyntax(data.child(at: 1)!) } set(value) { self = FunctionSignatureSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4499,7 +4499,7 @@ public struct FunctionSignatureSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenParameterClauseAndEffectSpecifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionSignatureSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4508,7 +4508,7 @@ public struct FunctionSignatureSyntax: SyntaxProtocol, SyntaxHashable { public var effectSpecifiers: FunctionEffectSpecifiersSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(FunctionEffectSpecifiersSyntax.init) + return data.child(at: 3).map(FunctionEffectSpecifiersSyntax.init) } set(value) { self = FunctionSignatureSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -4517,7 +4517,7 @@ public struct FunctionSignatureSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenEffectSpecifiersAndReturnClause: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionSignatureSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4526,7 +4526,7 @@ public struct FunctionSignatureSyntax: SyntaxProtocol, SyntaxHashable { public var returnClause: ReturnClauseSyntax? { get { - return data.child(at: 5, parent: Syntax(self)).map(ReturnClauseSyntax.init) + return data.child(at: 5).map(ReturnClauseSyntax.init) } set(value) { self = FunctionSignatureSyntax(data.replacingChild(at: 5, with: value?.data, arena: SyntaxArena())) @@ -4535,7 +4535,7 @@ public struct FunctionSignatureSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterReturnClause: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionSignatureSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -4645,7 +4645,7 @@ public struct FunctionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLeftParen: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionTypeSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4654,7 +4654,7 @@ public struct FunctionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var leftParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = FunctionTypeSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4663,7 +4663,7 @@ public struct FunctionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftParenAndParameters: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionTypeSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4672,7 +4672,7 @@ public struct FunctionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var parameters: TupleTypeElementListSyntax { get { - return TupleTypeElementListSyntax(data.child(at: 3, parent: Syntax(self))!) + return TupleTypeElementListSyntax(data.child(at: 3)!) } set(value) { self = FunctionTypeSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -4707,7 +4707,7 @@ public struct FunctionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenParametersAndRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionTypeSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4716,7 +4716,7 @@ public struct FunctionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var rightParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = FunctionTypeSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -4725,7 +4725,7 @@ public struct FunctionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenRightParenAndEffectSpecifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionTypeSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -4734,7 +4734,7 @@ public struct FunctionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var effectSpecifiers: TypeEffectSpecifiersSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TypeEffectSpecifiersSyntax.init) + return data.child(at: 7).map(TypeEffectSpecifiersSyntax.init) } set(value) { self = FunctionTypeSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -4743,7 +4743,7 @@ public struct FunctionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenEffectSpecifiersAndReturnClause: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionTypeSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -4752,7 +4752,7 @@ public struct FunctionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var returnClause: ReturnClauseSyntax { get { - return ReturnClauseSyntax(data.child(at: 9, parent: Syntax(self))!) + return ReturnClauseSyntax(data.child(at: 9)!) } set(value) { self = FunctionTypeSyntax(data.replacingChild(at: 9, with: value.data, arena: SyntaxArena())) @@ -4761,7 +4761,7 @@ public struct FunctionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedAfterReturnClause: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = FunctionTypeSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) diff --git a/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesGHI.swift b/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesGHI.swift index 3a20c66403f..e8a5f42fa07 100644 --- a/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesGHI.swift +++ b/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesGHI.swift @@ -97,7 +97,7 @@ public struct GenericArgumentClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLeftAngle: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericArgumentClauseSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -106,7 +106,7 @@ public struct GenericArgumentClauseSyntax: SyntaxProtocol, SyntaxHashable { public var leftAngle: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = GenericArgumentClauseSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -115,7 +115,7 @@ public struct GenericArgumentClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftAngleAndArguments: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericArgumentClauseSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -124,7 +124,7 @@ public struct GenericArgumentClauseSyntax: SyntaxProtocol, SyntaxHashable { public var arguments: GenericArgumentListSyntax { get { - return GenericArgumentListSyntax(data.child(at: 3, parent: Syntax(self))!) + return GenericArgumentListSyntax(data.child(at: 3)!) } set(value) { self = GenericArgumentClauseSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -159,7 +159,7 @@ public struct GenericArgumentClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenArgumentsAndRightAngle: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericArgumentClauseSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -168,7 +168,7 @@ public struct GenericArgumentClauseSyntax: SyntaxProtocol, SyntaxHashable { public var rightAngle: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = GenericArgumentClauseSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -177,7 +177,7 @@ public struct GenericArgumentClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightAngle: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericArgumentClauseSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -270,7 +270,7 @@ public struct GenericArgumentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeArgument: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericArgumentSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -279,7 +279,7 @@ public struct GenericArgumentSyntax: SyntaxProtocol, SyntaxHashable { public var argument: TypeSyntax { get { - return TypeSyntax(data.child(at: 1, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 1)!) } set(value) { self = GenericArgumentSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -288,7 +288,7 @@ public struct GenericArgumentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenArgumentAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericArgumentSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -297,7 +297,7 @@ public struct GenericArgumentSyntax: SyntaxProtocol, SyntaxHashable { public var trailingComma: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = GenericArgumentSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -306,7 +306,7 @@ public struct GenericArgumentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericArgumentSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -426,7 +426,7 @@ public struct GenericParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLeftAngle: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericParameterClauseSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -436,7 +436,7 @@ public struct GenericParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { /// The opening angle bracket (`<`) of the generic parameter clause. public var leftAngle: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = GenericParameterClauseSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -445,7 +445,7 @@ public struct GenericParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftAngleAndParameters: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericParameterClauseSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -455,7 +455,7 @@ public struct GenericParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { /// The list of generic parameters in the clause. public var parameters: GenericParameterListSyntax { get { - return GenericParameterListSyntax(data.child(at: 3, parent: Syntax(self))!) + return GenericParameterListSyntax(data.child(at: 3)!) } set(value) { self = GenericParameterClauseSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -490,7 +490,7 @@ public struct GenericParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenParametersAndGenericWhereClause: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericParameterClauseSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -500,7 +500,7 @@ public struct GenericParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { /// A `where` clause that places additional constraints on generic parameters like `where Element: Hashable`. public var genericWhereClause: GenericWhereClauseSyntax? { get { - return data.child(at: 5, parent: Syntax(self)).map(GenericWhereClauseSyntax.init) + return data.child(at: 5).map(GenericWhereClauseSyntax.init) } set(value) { self = GenericParameterClauseSyntax(data.replacingChild(at: 5, with: value?.data, arena: SyntaxArena())) @@ -509,7 +509,7 @@ public struct GenericParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericWhereClauseAndRightAngle: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericParameterClauseSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -519,7 +519,7 @@ public struct GenericParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { /// The closing angle bracket (`>`) of the generic parameter clause. public var rightAngle: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = GenericParameterClauseSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -528,7 +528,7 @@ public struct GenericParameterClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightAngle: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericParameterClauseSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -651,7 +651,7 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericParameterSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -660,7 +660,7 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable { public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = GenericParameterSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -695,7 +695,7 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndEachKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericParameterSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -704,7 +704,7 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable { public var eachKeyword: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = GenericParameterSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -713,7 +713,7 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenEachKeywordAndName: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericParameterSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -722,7 +722,7 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable { public var name: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = GenericParameterSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -731,7 +731,7 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericParameterSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -740,7 +740,7 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = GenericParameterSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -749,7 +749,7 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenColonAndInheritedType: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericParameterSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -758,7 +758,7 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable { public var inheritedType: TypeSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(TypeSyntax.init) + return data.child(at: 9).map(TypeSyntax.init) } set(value) { self = GenericParameterSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -767,7 +767,7 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenInheritedTypeAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericParameterSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -776,7 +776,7 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable { public var trailingComma: TokenSyntax? { get { - return data.child(at: 11, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 11).map(TokenSyntax.init) } set(value) { self = GenericParameterSyntax(data.replacingChild(at: 11, with: value?.data, arena: SyntaxArena())) @@ -785,7 +785,7 @@ public struct GenericParameterSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericParameterSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -937,7 +937,7 @@ public struct GenericRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeRequirement: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericRequirementSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -946,7 +946,7 @@ public struct GenericRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var requirement: Requirement { get { - return Requirement(data.child(at: 1, parent: Syntax(self))!) + return Requirement(data.child(at: 1)!) } set(value) { self = GenericRequirementSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -955,7 +955,7 @@ public struct GenericRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenRequirementAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericRequirementSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -964,7 +964,7 @@ public struct GenericRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var trailingComma: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = GenericRequirementSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -973,7 +973,7 @@ public struct GenericRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericRequirementSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1060,7 +1060,7 @@ public struct GenericSpecializationExprSyntax: ExprSyntaxProtocol, SyntaxHashabl public var unexpectedBeforeExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericSpecializationExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1069,7 +1069,7 @@ public struct GenericSpecializationExprSyntax: ExprSyntaxProtocol, SyntaxHashabl public var expression: ExprSyntax { get { - return ExprSyntax(data.child(at: 1, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 1)!) } set(value) { self = GenericSpecializationExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1078,7 +1078,7 @@ public struct GenericSpecializationExprSyntax: ExprSyntaxProtocol, SyntaxHashabl public var unexpectedBetweenExpressionAndGenericArgumentClause: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericSpecializationExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1087,7 +1087,7 @@ public struct GenericSpecializationExprSyntax: ExprSyntaxProtocol, SyntaxHashabl public var genericArgumentClause: GenericArgumentClauseSyntax { get { - return GenericArgumentClauseSyntax(data.child(at: 3, parent: Syntax(self))!) + return GenericArgumentClauseSyntax(data.child(at: 3)!) } set(value) { self = GenericSpecializationExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1096,7 +1096,7 @@ public struct GenericSpecializationExprSyntax: ExprSyntaxProtocol, SyntaxHashabl public var unexpectedAfterGenericArgumentClause: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericSpecializationExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1205,7 +1205,7 @@ public struct GenericWhereClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeWhereKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericWhereClauseSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1215,7 +1215,7 @@ public struct GenericWhereClauseSyntax: SyntaxProtocol, SyntaxHashable { /// The `where` keyword in the clause. public var whereKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = GenericWhereClauseSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1224,7 +1224,7 @@ public struct GenericWhereClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenWhereKeywordAndRequirements: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericWhereClauseSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1234,7 +1234,7 @@ public struct GenericWhereClauseSyntax: SyntaxProtocol, SyntaxHashable { /// The list of requirements in the clause. public var requirements: GenericRequirementListSyntax { get { - return GenericRequirementListSyntax(data.child(at: 3, parent: Syntax(self))!) + return GenericRequirementListSyntax(data.child(at: 3)!) } set(value) { self = GenericWhereClauseSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1269,7 +1269,7 @@ public struct GenericWhereClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterRequirements: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = GenericWhereClauseSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1370,7 +1370,7 @@ public struct GuardStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeGuardKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = GuardStmtSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1379,7 +1379,7 @@ public struct GuardStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var guardKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = GuardStmtSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1388,7 +1388,7 @@ public struct GuardStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGuardKeywordAndConditions: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = GuardStmtSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1397,7 +1397,7 @@ public struct GuardStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var conditions: ConditionElementListSyntax { get { - return ConditionElementListSyntax(data.child(at: 3, parent: Syntax(self))!) + return ConditionElementListSyntax(data.child(at: 3)!) } set(value) { self = GuardStmtSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1432,7 +1432,7 @@ public struct GuardStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenConditionsAndElseKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = GuardStmtSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1441,7 +1441,7 @@ public struct GuardStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var elseKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = GuardStmtSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1450,7 +1450,7 @@ public struct GuardStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenElseKeywordAndBody: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = GuardStmtSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1459,7 +1459,7 @@ public struct GuardStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var body: CodeBlockSyntax { get { - return CodeBlockSyntax(data.child(at: 7, parent: Syntax(self))!) + return CodeBlockSyntax(data.child(at: 7)!) } set(value) { self = GuardStmtSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -1468,7 +1468,7 @@ public struct GuardStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedAfterBody: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = GuardStmtSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -1544,7 +1544,7 @@ public struct IdentifierPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeIdentifier: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = IdentifierPatternSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1553,7 +1553,7 @@ public struct IdentifierPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var identifier: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = IdentifierPatternSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1562,7 +1562,7 @@ public struct IdentifierPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedAfterIdentifier: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = IdentifierPatternSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1643,7 +1643,7 @@ public struct IdentifierTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeName: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = IdentifierTypeSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1652,7 +1652,7 @@ public struct IdentifierTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var name: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = IdentifierTypeSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1661,7 +1661,7 @@ public struct IdentifierTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndGenericArgumentClause: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = IdentifierTypeSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1670,7 +1670,7 @@ public struct IdentifierTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var genericArgumentClause: GenericArgumentClauseSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(GenericArgumentClauseSyntax.init) + return data.child(at: 3).map(GenericArgumentClauseSyntax.init) } set(value) { self = IdentifierTypeSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -1679,7 +1679,7 @@ public struct IdentifierTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedAfterGenericArgumentClause: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = IdentifierTypeSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1858,7 +1858,7 @@ public struct IfConfigClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforePoundKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = IfConfigClauseSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1867,7 +1867,7 @@ public struct IfConfigClauseSyntax: SyntaxProtocol, SyntaxHashable { public var poundKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = IfConfigClauseSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1876,7 +1876,7 @@ public struct IfConfigClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPoundKeywordAndCondition: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = IfConfigClauseSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1885,7 +1885,7 @@ public struct IfConfigClauseSyntax: SyntaxProtocol, SyntaxHashable { public var condition: ExprSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(ExprSyntax.init) + return data.child(at: 3).map(ExprSyntax.init) } set(value) { self = IfConfigClauseSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -1894,7 +1894,7 @@ public struct IfConfigClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenConditionAndElements: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = IfConfigClauseSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1903,7 +1903,7 @@ public struct IfConfigClauseSyntax: SyntaxProtocol, SyntaxHashable { public var elements: Elements? { get { - return data.child(at: 5, parent: Syntax(self)).map(Elements.init) + return data.child(at: 5).map(Elements.init) } set(value) { self = IfConfigClauseSyntax(data.replacingChild(at: 5, with: value?.data, arena: SyntaxArena())) @@ -1912,7 +1912,7 @@ public struct IfConfigClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterElements: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = IfConfigClauseSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2007,7 +2007,7 @@ public struct IfConfigDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeClauses: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = IfConfigDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2016,7 +2016,7 @@ public struct IfConfigDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var clauses: IfConfigClauseListSyntax { get { - return IfConfigClauseListSyntax(data.child(at: 1, parent: Syntax(self))!) + return IfConfigClauseListSyntax(data.child(at: 1)!) } set(value) { self = IfConfigDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2051,7 +2051,7 @@ public struct IfConfigDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenClausesAndPoundEndif: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = IfConfigDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2060,7 +2060,7 @@ public struct IfConfigDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var poundEndif: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = IfConfigDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2069,7 +2069,7 @@ public struct IfConfigDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterPoundEndif: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = IfConfigDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2223,7 +2223,7 @@ public struct IfExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeIfKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = IfExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2232,7 +2232,7 @@ public struct IfExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var ifKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = IfExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2241,7 +2241,7 @@ public struct IfExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenIfKeywordAndConditions: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = IfExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2250,7 +2250,7 @@ public struct IfExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var conditions: ConditionElementListSyntax { get { - return ConditionElementListSyntax(data.child(at: 3, parent: Syntax(self))!) + return ConditionElementListSyntax(data.child(at: 3)!) } set(value) { self = IfExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2285,7 +2285,7 @@ public struct IfExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenConditionsAndBody: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = IfExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2294,7 +2294,7 @@ public struct IfExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var body: CodeBlockSyntax { get { - return CodeBlockSyntax(data.child(at: 5, parent: Syntax(self))!) + return CodeBlockSyntax(data.child(at: 5)!) } set(value) { self = IfExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -2303,7 +2303,7 @@ public struct IfExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenBodyAndElseKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = IfExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2312,7 +2312,7 @@ public struct IfExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var elseKeyword: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = IfExprSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -2321,7 +2321,7 @@ public struct IfExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenElseKeywordAndElseBody: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = IfExprSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -2330,7 +2330,7 @@ public struct IfExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var elseBody: ElseBody? { get { - return data.child(at: 9, parent: Syntax(self)).map(ElseBody.init) + return data.child(at: 9).map(ElseBody.init) } set(value) { self = IfExprSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -2339,7 +2339,7 @@ public struct IfExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterElseBody: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = IfExprSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -2448,7 +2448,7 @@ public struct ImplementsAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBeforeType: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ImplementsAttributeArgumentsSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2458,7 +2458,7 @@ public struct ImplementsAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHashable /// The type for which the method with this attribute implements a requirement. public var type: TypeSyntax { get { - return TypeSyntax(data.child(at: 1, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 1)!) } set(value) { self = ImplementsAttributeArgumentsSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2467,7 +2467,7 @@ public struct ImplementsAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBetweenTypeAndComma: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ImplementsAttributeArgumentsSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2477,7 +2477,7 @@ public struct ImplementsAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHashable /// The comma separating the type and method name public var comma: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = ImplementsAttributeArgumentsSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2486,7 +2486,7 @@ public struct ImplementsAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBetweenCommaAndDeclName: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = ImplementsAttributeArgumentsSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2496,7 +2496,7 @@ public struct ImplementsAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHashable /// The value for this argument public var declName: DeclReferenceExprSyntax { get { - return DeclReferenceExprSyntax(data.child(at: 5, parent: Syntax(self))!) + return DeclReferenceExprSyntax(data.child(at: 5)!) } set(value) { self = ImplementsAttributeArgumentsSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -2505,7 +2505,7 @@ public struct ImplementsAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedAfterDeclName: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = ImplementsAttributeArgumentsSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2594,7 +2594,7 @@ public struct ImplicitlyUnwrappedOptionalTypeSyntax: TypeSyntaxProtocol, SyntaxH public var unexpectedBeforeWrappedType: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ImplicitlyUnwrappedOptionalTypeSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2603,7 +2603,7 @@ public struct ImplicitlyUnwrappedOptionalTypeSyntax: TypeSyntaxProtocol, SyntaxH public var wrappedType: TypeSyntax { get { - return TypeSyntax(data.child(at: 1, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 1)!) } set(value) { self = ImplicitlyUnwrappedOptionalTypeSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2612,7 +2612,7 @@ public struct ImplicitlyUnwrappedOptionalTypeSyntax: TypeSyntaxProtocol, SyntaxH public var unexpectedBetweenWrappedTypeAndExclamationMark: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ImplicitlyUnwrappedOptionalTypeSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2621,7 +2621,7 @@ public struct ImplicitlyUnwrappedOptionalTypeSyntax: TypeSyntaxProtocol, SyntaxH public var exclamationMark: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = ImplicitlyUnwrappedOptionalTypeSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2630,7 +2630,7 @@ public struct ImplicitlyUnwrappedOptionalTypeSyntax: TypeSyntaxProtocol, SyntaxH public var unexpectedAfterExclamationMark: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = ImplicitlyUnwrappedOptionalTypeSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2751,7 +2751,7 @@ public struct ImportDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ImportDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2761,7 +2761,7 @@ public struct ImportDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// Attributes attached to the import declaration, for example `@testable`. public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = ImportDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2796,7 +2796,7 @@ public struct ImportDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ImportDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2806,7 +2806,7 @@ public struct ImportDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// Modifiers attached to the import declaration. Currently, no modifiers are supported by Swift. public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = ImportDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2841,7 +2841,7 @@ public struct ImportDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndImportKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = ImportDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2851,7 +2851,7 @@ public struct ImportDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The `import` keyword for this declaration. public var importKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = ImportDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -2860,7 +2860,7 @@ public struct ImportDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenImportKeywordAndImportKindSpecifier: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = ImportDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2872,7 +2872,7 @@ public struct ImportDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// A struct can be imported from a specific module. public var importKindSpecifier: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = ImportDeclSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -2881,7 +2881,7 @@ public struct ImportDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenImportKindSpecifierAndPath: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = ImportDeclSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -2891,7 +2891,7 @@ public struct ImportDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The path to the module, submodule or symbol being imported. public var path: ImportPathComponentListSyntax { get { - return ImportPathComponentListSyntax(data.child(at: 9, parent: Syntax(self))!) + return ImportPathComponentListSyntax(data.child(at: 9)!) } set(value) { self = ImportDeclSyntax(data.replacingChild(at: 9, with: value.data, arena: SyntaxArena())) @@ -2926,7 +2926,7 @@ public struct ImportDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterPath: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = ImportDeclSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -3023,7 +3023,7 @@ public struct ImportPathComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeName: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ImportPathComponentSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3032,7 +3032,7 @@ public struct ImportPathComponentSyntax: SyntaxProtocol, SyntaxHashable { public var name: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = ImportPathComponentSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3041,7 +3041,7 @@ public struct ImportPathComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndTrailingPeriod: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ImportPathComponentSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3050,7 +3050,7 @@ public struct ImportPathComponentSyntax: SyntaxProtocol, SyntaxHashable { public var trailingPeriod: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = ImportPathComponentSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -3059,7 +3059,7 @@ public struct ImportPathComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingPeriod: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = ImportPathComponentSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3146,7 +3146,7 @@ public struct InOutExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAmpersand: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = InOutExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3155,7 +3155,7 @@ public struct InOutExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var ampersand: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = InOutExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3164,7 +3164,7 @@ public struct InOutExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAmpersandAndExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = InOutExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3173,7 +3173,7 @@ public struct InOutExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var expression: ExprSyntax { get { - return ExprSyntax(data.child(at: 3, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 3)!) } set(value) { self = InOutExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3182,7 +3182,7 @@ public struct InOutExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = InOutExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3276,7 +3276,7 @@ public struct InfixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLeftOperand: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = InfixOperatorExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3285,7 +3285,7 @@ public struct InfixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var leftOperand: ExprSyntax { get { - return ExprSyntax(data.child(at: 1, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 1)!) } set(value) { self = InfixOperatorExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3294,7 +3294,7 @@ public struct InfixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftOperandAndOperator: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = InfixOperatorExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3303,7 +3303,7 @@ public struct InfixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var `operator`: ExprSyntax { get { - return ExprSyntax(data.child(at: 3, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 3)!) } set(value) { self = InfixOperatorExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3312,7 +3312,7 @@ public struct InfixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenOperatorAndRightOperand: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = InfixOperatorExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3321,7 +3321,7 @@ public struct InfixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var rightOperand: ExprSyntax { get { - return ExprSyntax(data.child(at: 5, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 5)!) } set(value) { self = InfixOperatorExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3330,7 +3330,7 @@ public struct InfixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightOperand: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = InfixOperatorExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3429,7 +3429,7 @@ public struct InheritanceClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeColon: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = InheritanceClauseSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3438,7 +3438,7 @@ public struct InheritanceClauseSyntax: SyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = InheritanceClauseSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3447,7 +3447,7 @@ public struct InheritanceClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenColonAndInheritedTypes: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = InheritanceClauseSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3456,7 +3456,7 @@ public struct InheritanceClauseSyntax: SyntaxProtocol, SyntaxHashable { public var inheritedTypes: InheritedTypeListSyntax { get { - return InheritedTypeListSyntax(data.child(at: 3, parent: Syntax(self))!) + return InheritedTypeListSyntax(data.child(at: 3)!) } set(value) { self = InheritanceClauseSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3491,7 +3491,7 @@ public struct InheritanceClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterInheritedTypes: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = InheritanceClauseSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3582,7 +3582,7 @@ public struct InheritedTypeSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeType: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = InheritedTypeSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3591,7 +3591,7 @@ public struct InheritedTypeSyntax: SyntaxProtocol, SyntaxHashable { public var type: TypeSyntax { get { - return TypeSyntax(data.child(at: 1, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 1)!) } set(value) { self = InheritedTypeSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3600,7 +3600,7 @@ public struct InheritedTypeSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTypeAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = InheritedTypeSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3609,7 +3609,7 @@ public struct InheritedTypeSyntax: SyntaxProtocol, SyntaxHashable { public var trailingComma: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = InheritedTypeSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -3618,7 +3618,7 @@ public struct InheritedTypeSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = InheritedTypeSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3715,7 +3715,7 @@ public struct InitializerClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeEqual: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = InitializerClauseSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3724,7 +3724,7 @@ public struct InitializerClauseSyntax: SyntaxProtocol, SyntaxHashable { public var equal: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = InitializerClauseSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3733,7 +3733,7 @@ public struct InitializerClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenEqualAndValue: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = InitializerClauseSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3742,7 +3742,7 @@ public struct InitializerClauseSyntax: SyntaxProtocol, SyntaxHashable { public var value: ExprSyntax { get { - return ExprSyntax(data.child(at: 3, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 3)!) } set(value) { self = InitializerClauseSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3751,7 +3751,7 @@ public struct InitializerClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterValue: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = InitializerClauseSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3899,7 +3899,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3909,7 +3909,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// Attributes that are attached to the initializer. public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3944,7 +3944,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3954,7 +3954,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// Modifiers attached to the initializer public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3989,7 +3989,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndInitKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3999,7 +3999,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The init keyword public var initKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -4008,7 +4008,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenInitKeywordAndOptionalMark: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -4018,7 +4018,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// If the initializer is failable, a question mark to indicate that. public var optionalMark: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -4027,7 +4027,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenOptionalMarkAndGenericParameterClause: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -4037,7 +4037,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// Generic parameters of the initializer. public var genericParameterClause: GenericParameterClauseSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(GenericParameterClauseSyntax.init) + return data.child(at: 9).map(GenericParameterClauseSyntax.init) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -4046,7 +4046,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericParameterClauseAndSignature: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -4056,7 +4056,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The arguments of the initializer. While the function signature allows specifying a return clause, doing so is not semantically valid. public var signature: FunctionSignatureSyntax { get { - return FunctionSignatureSyntax(data.child(at: 11, parent: Syntax(self))!) + return FunctionSignatureSyntax(data.child(at: 11)!) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 11, with: value.data, arena: SyntaxArena())) @@ -4065,7 +4065,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenSignatureAndGenericWhereClause: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -4075,7 +4075,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// If the initializer had generic parameters, a where clause that can restrict those public var genericWhereClause: GenericWhereClauseSyntax? { get { - return data.child(at: 13, parent: Syntax(self)).map(GenericWhereClauseSyntax.init) + return data.child(at: 13).map(GenericWhereClauseSyntax.init) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 13, with: value?.data, arena: SyntaxArena())) @@ -4084,7 +4084,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericWhereClauseAndBody: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -4094,7 +4094,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The initializer’s body. Missing if the initializer is a requirement of a protocol declaration. public var body: CodeBlockSyntax? { get { - return data.child(at: 15, parent: Syntax(self)).map(CodeBlockSyntax.init) + return data.child(at: 15).map(CodeBlockSyntax.init) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 15, with: value?.data, arena: SyntaxArena())) @@ -4103,7 +4103,7 @@ public struct InitializerDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterBody: UnexpectedNodesSyntax? { get { - return data.child(at: 16, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 16).map(UnexpectedNodesSyntax.init) } set(value) { self = InitializerDeclSyntax(data.replacingChild(at: 16, with: value?.data, arena: SyntaxArena())) @@ -4187,7 +4187,7 @@ public struct IntegerLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLiteral: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = IntegerLiteralExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4196,7 +4196,7 @@ public struct IntegerLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var literal: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = IntegerLiteralExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4205,7 +4205,7 @@ public struct IntegerLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterLiteral: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = IntegerLiteralExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4306,7 +4306,7 @@ public struct IsExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = IsExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4316,7 +4316,7 @@ public struct IsExprSyntax: ExprSyntaxProtocol, SyntaxHashable { /// The expression which will be checked to determine whether it can be cast to a specific type. public var expression: ExprSyntax { get { - return ExprSyntax(data.child(at: 1, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 1)!) } set(value) { self = IsExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4325,7 +4325,7 @@ public struct IsExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenExpressionAndIsKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = IsExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4335,7 +4335,7 @@ public struct IsExprSyntax: ExprSyntaxProtocol, SyntaxHashable { /// The `is` keyword for this expression. public var isKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = IsExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -4344,7 +4344,7 @@ public struct IsExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenIsKeywordAndType: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = IsExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4354,7 +4354,7 @@ public struct IsExprSyntax: ExprSyntaxProtocol, SyntaxHashable { /// The type against which the expression will be checked to see if the expression can be cast to it. public var type: TypeSyntax { get { - return TypeSyntax(data.child(at: 5, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 5)!) } set(value) { self = IsExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -4363,7 +4363,7 @@ public struct IsExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterType: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = IsExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -4452,7 +4452,7 @@ public struct IsTypePatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeIsKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = IsTypePatternSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4461,7 +4461,7 @@ public struct IsTypePatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var isKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = IsTypePatternSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4470,7 +4470,7 @@ public struct IsTypePatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenIsKeywordAndType: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = IsTypePatternSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4479,7 +4479,7 @@ public struct IsTypePatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var type: TypeSyntax { get { - return TypeSyntax(data.child(at: 3, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 3)!) } set(value) { self = IsTypePatternSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -4488,7 +4488,7 @@ public struct IsTypePatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedAfterType: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = IsTypePatternSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) diff --git a/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesJKLMN.swift b/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesJKLMN.swift index 82eba2ab903..84431102b7b 100644 --- a/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesJKLMN.swift +++ b/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesJKLMN.swift @@ -138,7 +138,7 @@ public struct KeyPathComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforePeriod: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathComponentSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -147,7 +147,7 @@ public struct KeyPathComponentSyntax: SyntaxProtocol, SyntaxHashable { public var period: TokenSyntax? { get { - return data.child(at: 1, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 1).map(TokenSyntax.init) } set(value) { self = KeyPathComponentSyntax(data.replacingChild(at: 1, with: value?.data, arena: SyntaxArena())) @@ -156,7 +156,7 @@ public struct KeyPathComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPeriodAndComponent: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathComponentSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -165,7 +165,7 @@ public struct KeyPathComponentSyntax: SyntaxProtocol, SyntaxHashable { public var component: Component { get { - return Component(data.child(at: 3, parent: Syntax(self))!) + return Component(data.child(at: 3)!) } set(value) { self = KeyPathComponentSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -174,7 +174,7 @@ public struct KeyPathComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterComponent: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathComponentSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -268,7 +268,7 @@ public struct KeyPathExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeBackslash: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -277,7 +277,7 @@ public struct KeyPathExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var backslash: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = KeyPathExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -286,7 +286,7 @@ public struct KeyPathExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenBackslashAndRoot: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -295,7 +295,7 @@ public struct KeyPathExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var root: TypeSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TypeSyntax.init) + return data.child(at: 3).map(TypeSyntax.init) } set(value) { self = KeyPathExprSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -304,7 +304,7 @@ public struct KeyPathExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenRootAndComponents: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -313,7 +313,7 @@ public struct KeyPathExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var components: KeyPathComponentListSyntax { get { - return KeyPathComponentListSyntax(data.child(at: 5, parent: Syntax(self))!) + return KeyPathComponentListSyntax(data.child(at: 5)!) } set(value) { self = KeyPathExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -348,7 +348,7 @@ public struct KeyPathExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterComponents: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -426,7 +426,7 @@ public struct KeyPathOptionalComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeQuestionOrExclamationMark: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathOptionalComponentSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -435,7 +435,7 @@ public struct KeyPathOptionalComponentSyntax: SyntaxProtocol, SyntaxHashable { public var questionOrExclamationMark: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = KeyPathOptionalComponentSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -444,7 +444,7 @@ public struct KeyPathOptionalComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterQuestionOrExclamationMark: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathOptionalComponentSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -529,7 +529,7 @@ public struct KeyPathPropertyComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeDeclName: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathPropertyComponentSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -538,7 +538,7 @@ public struct KeyPathPropertyComponentSyntax: SyntaxProtocol, SyntaxHashable { public var declName: DeclReferenceExprSyntax { get { - return DeclReferenceExprSyntax(data.child(at: 1, parent: Syntax(self))!) + return DeclReferenceExprSyntax(data.child(at: 1)!) } set(value) { self = KeyPathPropertyComponentSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -547,7 +547,7 @@ public struct KeyPathPropertyComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenDeclNameAndGenericArgumentClause: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathPropertyComponentSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -556,7 +556,7 @@ public struct KeyPathPropertyComponentSyntax: SyntaxProtocol, SyntaxHashable { public var genericArgumentClause: GenericArgumentClauseSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(GenericArgumentClauseSyntax.init) + return data.child(at: 3).map(GenericArgumentClauseSyntax.init) } set(value) { self = KeyPathPropertyComponentSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -565,7 +565,7 @@ public struct KeyPathPropertyComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterGenericArgumentClause: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathPropertyComponentSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -663,7 +663,7 @@ public struct KeyPathSubscriptComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLeftSquare: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathSubscriptComponentSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -672,7 +672,7 @@ public struct KeyPathSubscriptComponentSyntax: SyntaxProtocol, SyntaxHashable { public var leftSquare: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = KeyPathSubscriptComponentSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -681,7 +681,7 @@ public struct KeyPathSubscriptComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftSquareAndArguments: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathSubscriptComponentSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -690,7 +690,7 @@ public struct KeyPathSubscriptComponentSyntax: SyntaxProtocol, SyntaxHashable { public var arguments: LabeledExprListSyntax { get { - return LabeledExprListSyntax(data.child(at: 3, parent: Syntax(self))!) + return LabeledExprListSyntax(data.child(at: 3)!) } set(value) { self = KeyPathSubscriptComponentSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -725,7 +725,7 @@ public struct KeyPathSubscriptComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenArgumentsAndRightSquare: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathSubscriptComponentSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -734,7 +734,7 @@ public struct KeyPathSubscriptComponentSyntax: SyntaxProtocol, SyntaxHashable { public var rightSquare: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = KeyPathSubscriptComponentSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -743,7 +743,7 @@ public struct KeyPathSubscriptComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightSquare: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = KeyPathSubscriptComponentSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -850,7 +850,7 @@ public struct LabeledExprSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = LabeledExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -859,7 +859,7 @@ public struct LabeledExprSyntax: SyntaxProtocol, SyntaxHashable { public var label: TokenSyntax? { get { - return data.child(at: 1, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 1).map(TokenSyntax.init) } set(value) { self = LabeledExprSyntax(data.replacingChild(at: 1, with: value?.data, arena: SyntaxArena())) @@ -868,7 +868,7 @@ public struct LabeledExprSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLabelAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = LabeledExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -877,7 +877,7 @@ public struct LabeledExprSyntax: SyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = LabeledExprSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -886,7 +886,7 @@ public struct LabeledExprSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenColonAndExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = LabeledExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -895,7 +895,7 @@ public struct LabeledExprSyntax: SyntaxProtocol, SyntaxHashable { public var expression: ExprSyntax { get { - return ExprSyntax(data.child(at: 5, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 5)!) } set(value) { self = LabeledExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -904,7 +904,7 @@ public struct LabeledExprSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenExpressionAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = LabeledExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -913,7 +913,7 @@ public struct LabeledExprSyntax: SyntaxProtocol, SyntaxHashable { public var trailingComma: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = LabeledExprSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -922,7 +922,7 @@ public struct LabeledExprSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = LabeledExprSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -1037,7 +1037,7 @@ public struct LabeledSpecializeArgumentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = LabeledSpecializeArgumentSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1047,7 +1047,7 @@ public struct LabeledSpecializeArgumentSyntax: SyntaxProtocol, SyntaxHashable { /// The label of the argument public var label: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = LabeledSpecializeArgumentSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1056,7 +1056,7 @@ public struct LabeledSpecializeArgumentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLabelAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = LabeledSpecializeArgumentSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1066,7 +1066,7 @@ public struct LabeledSpecializeArgumentSyntax: SyntaxProtocol, SyntaxHashable { /// The colon separating the label and the value public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = LabeledSpecializeArgumentSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1075,7 +1075,7 @@ public struct LabeledSpecializeArgumentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenColonAndValue: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = LabeledSpecializeArgumentSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1085,7 +1085,7 @@ public struct LabeledSpecializeArgumentSyntax: SyntaxProtocol, SyntaxHashable { /// The value for this argument public var value: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = LabeledSpecializeArgumentSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1094,7 +1094,7 @@ public struct LabeledSpecializeArgumentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenValueAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = LabeledSpecializeArgumentSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1104,7 +1104,7 @@ public struct LabeledSpecializeArgumentSyntax: SyntaxProtocol, SyntaxHashable { /// A trailing comma if this argument is followed by another one public var trailingComma: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = LabeledSpecializeArgumentSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -1113,7 +1113,7 @@ public struct LabeledSpecializeArgumentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = LabeledSpecializeArgumentSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -1211,7 +1211,7 @@ public struct LabeledStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = LabeledStmtSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1220,7 +1220,7 @@ public struct LabeledStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var label: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = LabeledStmtSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1229,7 +1229,7 @@ public struct LabeledStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLabelAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = LabeledStmtSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1238,7 +1238,7 @@ public struct LabeledStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = LabeledStmtSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1247,7 +1247,7 @@ public struct LabeledStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenColonAndStatement: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = LabeledStmtSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1256,7 +1256,7 @@ public struct LabeledStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var statement: StmtSyntax { get { - return StmtSyntax(data.child(at: 5, parent: Syntax(self))!) + return StmtSyntax(data.child(at: 5)!) } set(value) { self = LabeledStmtSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1265,7 +1265,7 @@ public struct LabeledStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedAfterStatement: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = LabeledStmtSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1400,7 +1400,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeType: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1409,7 +1409,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var type: TypeSyntax { get { - return TypeSyntax(data.child(at: 1, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 1)!) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1418,7 +1418,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTypeAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1427,7 +1427,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1436,7 +1436,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenColonAndLayoutSpecifier: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1445,7 +1445,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var layoutSpecifier: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1454,7 +1454,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLayoutSpecifierAndLeftParen: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1463,7 +1463,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var leftParen: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -1472,7 +1472,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftParenAndSize: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -1481,7 +1481,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var size: TokenSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 9).map(TokenSyntax.init) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -1490,7 +1490,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenSizeAndComma: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -1499,7 +1499,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var comma: TokenSyntax? { get { - return data.child(at: 11, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 11).map(TokenSyntax.init) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 11, with: value?.data, arena: SyntaxArena())) @@ -1508,7 +1508,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenCommaAndAlignment: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -1517,7 +1517,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var alignment: TokenSyntax? { get { - return data.child(at: 13, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 13).map(TokenSyntax.init) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 13, with: value?.data, arena: SyntaxArena())) @@ -1526,7 +1526,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAlignmentAndRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -1535,7 +1535,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var rightParen: TokenSyntax? { get { - return data.child(at: 15, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 15).map(TokenSyntax.init) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 15, with: value?.data, arena: SyntaxArena())) @@ -1544,7 +1544,7 @@ public struct LayoutRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 16, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 16).map(UnexpectedNodesSyntax.init) } set(value) { self = LayoutRequirementSyntax(data.replacingChild(at: 16, with: value?.data, arena: SyntaxArena())) @@ -1687,7 +1687,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1696,7 +1696,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1731,7 +1731,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1740,7 +1740,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1775,7 +1775,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndMacroKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1784,7 +1784,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var macroKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1793,7 +1793,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenMacroKeywordAndName: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1802,7 +1802,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var name: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -1811,7 +1811,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndGenericParameterClause: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -1821,7 +1821,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The parameter clause that defines the generic parameters. public var genericParameterClause: GenericParameterClauseSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(GenericParameterClauseSyntax.init) + return data.child(at: 9).map(GenericParameterClauseSyntax.init) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -1830,7 +1830,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericParameterClauseAndSignature: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -1839,7 +1839,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var signature: FunctionSignatureSyntax { get { - return FunctionSignatureSyntax(data.child(at: 11, parent: Syntax(self))!) + return FunctionSignatureSyntax(data.child(at: 11)!) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 11, with: value.data, arena: SyntaxArena())) @@ -1848,7 +1848,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenSignatureAndDefinition: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -1857,7 +1857,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var definition: InitializerClauseSyntax? { get { - return data.child(at: 13, parent: Syntax(self)).map(InitializerClauseSyntax.init) + return data.child(at: 13).map(InitializerClauseSyntax.init) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 13, with: value?.data, arena: SyntaxArena())) @@ -1866,7 +1866,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenDefinitionAndGenericWhereClause: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -1876,7 +1876,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// A `where` clause that places additional constraints on generic parameters like `where Element: Hashable`. public var genericWhereClause: GenericWhereClauseSyntax? { get { - return data.child(at: 15, parent: Syntax(self)).map(GenericWhereClauseSyntax.init) + return data.child(at: 15).map(GenericWhereClauseSyntax.init) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 15, with: value?.data, arena: SyntaxArena())) @@ -1885,7 +1885,7 @@ public struct MacroDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterGenericWhereClause: UnexpectedNodesSyntax? { get { - return data.child(at: 16, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 16).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroDeclSyntax(data.replacingChild(at: 16, with: value?.data, arena: SyntaxArena())) @@ -2041,7 +2041,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2050,7 +2050,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2085,7 +2085,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2094,7 +2094,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2129,7 +2129,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndPound: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2139,7 +2139,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The `#` sign. public var pound: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -2148,7 +2148,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPoundAndMacroName: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2157,7 +2157,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var macroName: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -2166,7 +2166,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenMacroNameAndGenericArgumentClause: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -2175,7 +2175,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var genericArgumentClause: GenericArgumentClauseSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(GenericArgumentClauseSyntax.init) + return data.child(at: 9).map(GenericArgumentClauseSyntax.init) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -2184,7 +2184,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericArgumentClauseAndLeftParen: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -2193,7 +2193,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var leftParen: TokenSyntax? { get { - return data.child(at: 11, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 11).map(TokenSyntax.init) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 11, with: value?.data, arena: SyntaxArena())) @@ -2202,7 +2202,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftParenAndArguments: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -2211,7 +2211,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var arguments: LabeledExprListSyntax { get { - return LabeledExprListSyntax(data.child(at: 13, parent: Syntax(self))!) + return LabeledExprListSyntax(data.child(at: 13)!) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 13, with: value.data, arena: SyntaxArena())) @@ -2246,7 +2246,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenArgumentsAndRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -2255,7 +2255,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var rightParen: TokenSyntax? { get { - return data.child(at: 15, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 15).map(TokenSyntax.init) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 15, with: value?.data, arena: SyntaxArena())) @@ -2264,7 +2264,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenRightParenAndTrailingClosure: UnexpectedNodesSyntax? { get { - return data.child(at: 16, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 16).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 16, with: value?.data, arena: SyntaxArena())) @@ -2273,7 +2273,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var trailingClosure: ClosureExprSyntax? { get { - return data.child(at: 17, parent: Syntax(self)).map(ClosureExprSyntax.init) + return data.child(at: 17).map(ClosureExprSyntax.init) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 17, with: value?.data, arena: SyntaxArena())) @@ -2282,7 +2282,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTrailingClosureAndAdditionalTrailingClosures: UnexpectedNodesSyntax? { get { - return data.child(at: 18, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 18).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 18, with: value?.data, arena: SyntaxArena())) @@ -2291,7 +2291,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var additionalTrailingClosures: MultipleTrailingClosureElementListSyntax { get { - return MultipleTrailingClosureElementListSyntax(data.child(at: 19, parent: Syntax(self))!) + return MultipleTrailingClosureElementListSyntax(data.child(at: 19)!) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 19, with: value.data, arena: SyntaxArena())) @@ -2326,7 +2326,7 @@ public struct MacroExpansionDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterAdditionalTrailingClosures: UnexpectedNodesSyntax? { get { - return data.child(at: 20, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 20).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionDeclSyntax(data.replacingChild(at: 20, with: value?.data, arena: SyntaxArena())) @@ -2472,7 +2472,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforePound: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2482,7 +2482,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { /// The `#` sign. public var pound: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2491,7 +2491,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPoundAndMacroName: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2500,7 +2500,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var macroName: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2509,7 +2509,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenMacroNameAndGenericArgumentClause: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2518,7 +2518,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var genericArgumentClause: GenericArgumentClauseSyntax? { get { - return data.child(at: 5, parent: Syntax(self)).map(GenericArgumentClauseSyntax.init) + return data.child(at: 5).map(GenericArgumentClauseSyntax.init) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 5, with: value?.data, arena: SyntaxArena())) @@ -2527,7 +2527,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericArgumentClauseAndLeftParen: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2536,7 +2536,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var leftParen: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -2545,7 +2545,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftParenAndArguments: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -2554,7 +2554,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var arguments: LabeledExprListSyntax { get { - return LabeledExprListSyntax(data.child(at: 9, parent: Syntax(self))!) + return LabeledExprListSyntax(data.child(at: 9)!) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 9, with: value.data, arena: SyntaxArena())) @@ -2589,7 +2589,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenArgumentsAndRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -2598,7 +2598,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var rightParen: TokenSyntax? { get { - return data.child(at: 11, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 11).map(TokenSyntax.init) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 11, with: value?.data, arena: SyntaxArena())) @@ -2607,7 +2607,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenRightParenAndTrailingClosure: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -2616,7 +2616,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var trailingClosure: ClosureExprSyntax? { get { - return data.child(at: 13, parent: Syntax(self)).map(ClosureExprSyntax.init) + return data.child(at: 13).map(ClosureExprSyntax.init) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 13, with: value?.data, arena: SyntaxArena())) @@ -2625,7 +2625,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTrailingClosureAndAdditionalTrailingClosures: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -2634,7 +2634,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var additionalTrailingClosures: MultipleTrailingClosureElementListSyntax { get { - return MultipleTrailingClosureElementListSyntax(data.child(at: 15, parent: Syntax(self))!) + return MultipleTrailingClosureElementListSyntax(data.child(at: 15)!) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 15, with: value.data, arena: SyntaxArena())) @@ -2669,7 +2669,7 @@ public struct MacroExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterAdditionalTrailingClosures: UnexpectedNodesSyntax? { get { - return data.child(at: 16, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 16).map(UnexpectedNodesSyntax.init) } set(value) { self = MacroExpansionExprSyntax(data.replacingChild(at: 16, with: value?.data, arena: SyntaxArena())) @@ -2786,7 +2786,7 @@ public struct MatchingPatternConditionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeCaseKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MatchingPatternConditionSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2795,7 +2795,7 @@ public struct MatchingPatternConditionSyntax: SyntaxProtocol, SyntaxHashable { public var caseKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = MatchingPatternConditionSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2804,7 +2804,7 @@ public struct MatchingPatternConditionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenCaseKeywordAndPattern: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MatchingPatternConditionSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2813,7 +2813,7 @@ public struct MatchingPatternConditionSyntax: SyntaxProtocol, SyntaxHashable { public var pattern: PatternSyntax { get { - return PatternSyntax(data.child(at: 3, parent: Syntax(self))!) + return PatternSyntax(data.child(at: 3)!) } set(value) { self = MatchingPatternConditionSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2822,7 +2822,7 @@ public struct MatchingPatternConditionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPatternAndTypeAnnotation: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = MatchingPatternConditionSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2831,7 +2831,7 @@ public struct MatchingPatternConditionSyntax: SyntaxProtocol, SyntaxHashable { public var typeAnnotation: TypeAnnotationSyntax? { get { - return data.child(at: 5, parent: Syntax(self)).map(TypeAnnotationSyntax.init) + return data.child(at: 5).map(TypeAnnotationSyntax.init) } set(value) { self = MatchingPatternConditionSyntax(data.replacingChild(at: 5, with: value?.data, arena: SyntaxArena())) @@ -2840,7 +2840,7 @@ public struct MatchingPatternConditionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTypeAnnotationAndInitializer: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = MatchingPatternConditionSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2849,7 +2849,7 @@ public struct MatchingPatternConditionSyntax: SyntaxProtocol, SyntaxHashable { public var initializer: InitializerClauseSyntax { get { - return InitializerClauseSyntax(data.child(at: 7, parent: Syntax(self))!) + return InitializerClauseSyntax(data.child(at: 7)!) } set(value) { self = MatchingPatternConditionSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -2858,7 +2858,7 @@ public struct MatchingPatternConditionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterInitializer: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = MatchingPatternConditionSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -2960,7 +2960,7 @@ public struct MemberAccessExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeBase: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberAccessExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2970,7 +2970,7 @@ public struct MemberAccessExprSyntax: ExprSyntaxProtocol, SyntaxHashable { /// The base of the member access, optionally specified. public var base: ExprSyntax? { get { - return data.child(at: 1, parent: Syntax(self)).map(ExprSyntax.init) + return data.child(at: 1).map(ExprSyntax.init) } set(value) { self = MemberAccessExprSyntax(data.replacingChild(at: 1, with: value?.data, arena: SyntaxArena())) @@ -2979,7 +2979,7 @@ public struct MemberAccessExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenBaseAndPeriod: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberAccessExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2988,7 +2988,7 @@ public struct MemberAccessExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var period: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = MemberAccessExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2997,7 +2997,7 @@ public struct MemberAccessExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPeriodAndDeclName: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberAccessExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3007,7 +3007,7 @@ public struct MemberAccessExprSyntax: ExprSyntaxProtocol, SyntaxHashable { /// The name of the referenced function or a property. public var declName: DeclReferenceExprSyntax { get { - return DeclReferenceExprSyntax(data.child(at: 5, parent: Syntax(self))!) + return DeclReferenceExprSyntax(data.child(at: 5)!) } set(value) { self = MemberAccessExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3016,7 +3016,7 @@ public struct MemberAccessExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterDeclName: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberAccessExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3113,7 +3113,7 @@ public struct MemberBlockItemSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeDecl: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberBlockItemSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3123,7 +3123,7 @@ public struct MemberBlockItemSyntax: SyntaxProtocol, SyntaxHashable { /// The declaration of the type member. public var decl: DeclSyntax { get { - return DeclSyntax(data.child(at: 1, parent: Syntax(self))!) + return DeclSyntax(data.child(at: 1)!) } set(value) { self = MemberBlockItemSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3132,7 +3132,7 @@ public struct MemberBlockItemSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenDeclAndSemicolon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberBlockItemSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3142,7 +3142,7 @@ public struct MemberBlockItemSyntax: SyntaxProtocol, SyntaxHashable { /// An optional trailing semicolon. public var semicolon: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = MemberBlockItemSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -3151,7 +3151,7 @@ public struct MemberBlockItemSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterSemicolon: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberBlockItemSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3254,7 +3254,7 @@ public struct MemberBlockSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLeftBrace: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberBlockSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3263,7 +3263,7 @@ public struct MemberBlockSyntax: SyntaxProtocol, SyntaxHashable { public var leftBrace: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = MemberBlockSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3272,7 +3272,7 @@ public struct MemberBlockSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftBraceAndMembers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberBlockSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3281,7 +3281,7 @@ public struct MemberBlockSyntax: SyntaxProtocol, SyntaxHashable { public var members: MemberBlockItemListSyntax { get { - return MemberBlockItemListSyntax(data.child(at: 3, parent: Syntax(self))!) + return MemberBlockItemListSyntax(data.child(at: 3)!) } set(value) { self = MemberBlockSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3316,7 +3316,7 @@ public struct MemberBlockSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenMembersAndRightBrace: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberBlockSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3325,7 +3325,7 @@ public struct MemberBlockSyntax: SyntaxProtocol, SyntaxHashable { public var rightBrace: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = MemberBlockSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3334,7 +3334,7 @@ public struct MemberBlockSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightBrace: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberBlockSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3437,7 +3437,7 @@ public struct MemberTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeBaseType: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberTypeSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3446,7 +3446,7 @@ public struct MemberTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var baseType: TypeSyntax { get { - return TypeSyntax(data.child(at: 1, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 1)!) } set(value) { self = MemberTypeSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3455,7 +3455,7 @@ public struct MemberTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenBaseTypeAndPeriod: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberTypeSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3464,7 +3464,7 @@ public struct MemberTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var period: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = MemberTypeSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3473,7 +3473,7 @@ public struct MemberTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPeriodAndName: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberTypeSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3482,7 +3482,7 @@ public struct MemberTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var name: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = MemberTypeSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3491,7 +3491,7 @@ public struct MemberTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndGenericArgumentClause: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberTypeSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3500,7 +3500,7 @@ public struct MemberTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var genericArgumentClause: GenericArgumentClauseSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(GenericArgumentClauseSyntax.init) + return data.child(at: 7).map(GenericArgumentClauseSyntax.init) } set(value) { self = MemberTypeSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -3509,7 +3509,7 @@ public struct MemberTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedAfterGenericArgumentClause: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = MemberTypeSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -3607,7 +3607,7 @@ public struct MetatypeTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeBaseType: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MetatypeTypeSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3616,7 +3616,7 @@ public struct MetatypeTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var baseType: TypeSyntax { get { - return TypeSyntax(data.child(at: 1, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 1)!) } set(value) { self = MetatypeTypeSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3625,7 +3625,7 @@ public struct MetatypeTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenBaseTypeAndPeriod: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MetatypeTypeSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3634,7 +3634,7 @@ public struct MetatypeTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var period: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = MetatypeTypeSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3643,7 +3643,7 @@ public struct MetatypeTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPeriodAndMetatypeSpecifier: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = MetatypeTypeSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3652,7 +3652,7 @@ public struct MetatypeTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var metatypeSpecifier: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = MetatypeTypeSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3661,7 +3661,7 @@ public struct MetatypeTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedAfterMetatypeSpecifier: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = MetatypeTypeSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3762,7 +3762,7 @@ public struct MissingDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MissingDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3772,7 +3772,7 @@ public struct MissingDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// If there were standalone attributes without a declaration to attach them to, the ``MissingDeclSyntax`` will contain these. public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = MissingDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3807,7 +3807,7 @@ public struct MissingDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MissingDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3817,7 +3817,7 @@ public struct MissingDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// If there were standalone modifiers without a declaration to attach them to, the ``MissingDeclSyntax`` will contain these. public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = MissingDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3852,7 +3852,7 @@ public struct MissingDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndPlaceholder: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = MissingDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3864,7 +3864,7 @@ public struct MissingDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// This token should always have `presence = .missing`. public var placeholder: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = MissingDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3873,7 +3873,7 @@ public struct MissingDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterPlaceholder: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = MissingDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3950,7 +3950,7 @@ public struct MissingExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforePlaceholder: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MissingExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3962,7 +3962,7 @@ public struct MissingExprSyntax: ExprSyntaxProtocol, SyntaxHashable { /// This token should always have `presence = .missing`. public var placeholder: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = MissingExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3971,7 +3971,7 @@ public struct MissingExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterPlaceholder: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MissingExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4040,7 +4040,7 @@ public struct MissingPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedBeforePlaceholder: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MissingPatternSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4052,7 +4052,7 @@ public struct MissingPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { /// This token should always have `presence = .missing`. public var placeholder: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = MissingPatternSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4061,7 +4061,7 @@ public struct MissingPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedAfterPlaceholder: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MissingPatternSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4130,7 +4130,7 @@ public struct MissingStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBeforePlaceholder: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MissingStmtSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4142,7 +4142,7 @@ public struct MissingStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { /// This token should always have `presence = .missing`. public var placeholder: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = MissingStmtSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4151,7 +4151,7 @@ public struct MissingStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedAfterPlaceholder: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MissingStmtSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4220,7 +4220,7 @@ public struct MissingSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforePlaceholder: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MissingSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4232,7 +4232,7 @@ public struct MissingSyntax: SyntaxProtocol, SyntaxHashable { /// This token should always have `presence = .missing` public var placeholder: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = MissingSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4241,7 +4241,7 @@ public struct MissingSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterPlaceholder: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MissingSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4310,7 +4310,7 @@ public struct MissingTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBeforePlaceholder: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MissingTypeSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4322,7 +4322,7 @@ public struct MissingTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { /// This token should always have `presence = .missing`. public var placeholder: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = MissingTypeSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4331,7 +4331,7 @@ public struct MissingTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedAfterPlaceholder: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MissingTypeSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4423,7 +4423,7 @@ public struct MultipleTrailingClosureElementSyntax: SyntaxProtocol, SyntaxHashab public var unexpectedBeforeLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = MultipleTrailingClosureElementSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4432,7 +4432,7 @@ public struct MultipleTrailingClosureElementSyntax: SyntaxProtocol, SyntaxHashab public var label: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = MultipleTrailingClosureElementSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4441,7 +4441,7 @@ public struct MultipleTrailingClosureElementSyntax: SyntaxProtocol, SyntaxHashab public var unexpectedBetweenLabelAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = MultipleTrailingClosureElementSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4450,7 +4450,7 @@ public struct MultipleTrailingClosureElementSyntax: SyntaxProtocol, SyntaxHashab public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = MultipleTrailingClosureElementSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -4459,7 +4459,7 @@ public struct MultipleTrailingClosureElementSyntax: SyntaxProtocol, SyntaxHashab public var unexpectedBetweenColonAndClosure: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = MultipleTrailingClosureElementSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4468,7 +4468,7 @@ public struct MultipleTrailingClosureElementSyntax: SyntaxProtocol, SyntaxHashab public var closure: ClosureExprSyntax { get { - return ClosureExprSyntax(data.child(at: 5, parent: Syntax(self))!) + return ClosureExprSyntax(data.child(at: 5)!) } set(value) { self = MultipleTrailingClosureElementSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -4477,7 +4477,7 @@ public struct MultipleTrailingClosureElementSyntax: SyntaxProtocol, SyntaxHashab public var unexpectedAfterClosure: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = MultipleTrailingClosureElementSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -4567,7 +4567,7 @@ public struct NamedOpaqueReturnTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeGenericParameterClause: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = NamedOpaqueReturnTypeSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4577,7 +4577,7 @@ public struct NamedOpaqueReturnTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { /// The parameter clause that defines the generic parameters. public var genericParameterClause: GenericParameterClauseSyntax { get { - return GenericParameterClauseSyntax(data.child(at: 1, parent: Syntax(self))!) + return GenericParameterClauseSyntax(data.child(at: 1)!) } set(value) { self = NamedOpaqueReturnTypeSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4586,7 +4586,7 @@ public struct NamedOpaqueReturnTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericParameterClauseAndType: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = NamedOpaqueReturnTypeSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4595,7 +4595,7 @@ public struct NamedOpaqueReturnTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var type: TypeSyntax { get { - return TypeSyntax(data.child(at: 3, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 3)!) } set(value) { self = NamedOpaqueReturnTypeSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -4604,7 +4604,7 @@ public struct NamedOpaqueReturnTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedAfterType: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = NamedOpaqueReturnTypeSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4676,7 +4676,7 @@ public struct NilLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeNilKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = NilLiteralExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4685,7 +4685,7 @@ public struct NilLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var nilKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = NilLiteralExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4694,7 +4694,7 @@ public struct NilLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterNilKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = NilLiteralExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) diff --git a/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesOP.swift b/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesOP.swift index 8217bac5dde..b8c86485b82 100644 --- a/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesOP.swift +++ b/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesOP.swift @@ -87,7 +87,7 @@ public struct ObjCSelectorPieceSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeName: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ObjCSelectorPieceSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -96,7 +96,7 @@ public struct ObjCSelectorPieceSyntax: SyntaxProtocol, SyntaxHashable { public var name: TokenSyntax? { get { - return data.child(at: 1, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 1).map(TokenSyntax.init) } set(value) { self = ObjCSelectorPieceSyntax(data.replacingChild(at: 1, with: value?.data, arena: SyntaxArena())) @@ -105,7 +105,7 @@ public struct ObjCSelectorPieceSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ObjCSelectorPieceSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -114,7 +114,7 @@ public struct ObjCSelectorPieceSyntax: SyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = ObjCSelectorPieceSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -123,7 +123,7 @@ public struct ObjCSelectorPieceSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterColon: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = ObjCSelectorPieceSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -225,7 +225,7 @@ public struct OpaqueReturnTypeOfAttributeArgumentsSyntax: SyntaxProtocol, Syntax public var unexpectedBeforeMangledName: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = OpaqueReturnTypeOfAttributeArgumentsSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -235,7 +235,7 @@ public struct OpaqueReturnTypeOfAttributeArgumentsSyntax: SyntaxProtocol, Syntax /// The mangled name of a declaration. public var mangledName: StringLiteralExprSyntax { get { - return StringLiteralExprSyntax(data.child(at: 1, parent: Syntax(self))!) + return StringLiteralExprSyntax(data.child(at: 1)!) } set(value) { self = OpaqueReturnTypeOfAttributeArgumentsSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -244,7 +244,7 @@ public struct OpaqueReturnTypeOfAttributeArgumentsSyntax: SyntaxProtocol, Syntax public var unexpectedBetweenMangledNameAndComma: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = OpaqueReturnTypeOfAttributeArgumentsSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -253,7 +253,7 @@ public struct OpaqueReturnTypeOfAttributeArgumentsSyntax: SyntaxProtocol, Syntax public var comma: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = OpaqueReturnTypeOfAttributeArgumentsSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -262,7 +262,7 @@ public struct OpaqueReturnTypeOfAttributeArgumentsSyntax: SyntaxProtocol, Syntax public var unexpectedBetweenCommaAndOrdinal: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = OpaqueReturnTypeOfAttributeArgumentsSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -272,7 +272,7 @@ public struct OpaqueReturnTypeOfAttributeArgumentsSyntax: SyntaxProtocol, Syntax /// The ordinal corresponding to the 'some' keyword that introduced this opaque type. public var ordinal: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = OpaqueReturnTypeOfAttributeArgumentsSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -281,7 +281,7 @@ public struct OpaqueReturnTypeOfAttributeArgumentsSyntax: SyntaxProtocol, Syntax public var unexpectedAfterOrdinal: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = OpaqueReturnTypeOfAttributeArgumentsSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -388,7 +388,7 @@ public struct OperatorDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeFixitySpecifier: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = OperatorDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -398,7 +398,7 @@ public struct OperatorDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The fixity applied to the 'operator' declaration. public var fixitySpecifier: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = OperatorDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -407,7 +407,7 @@ public struct OperatorDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenFixitySpecifierAndOperatorKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = OperatorDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -416,7 +416,7 @@ public struct OperatorDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var operatorKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = OperatorDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -425,7 +425,7 @@ public struct OperatorDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenOperatorKeywordAndName: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = OperatorDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -434,7 +434,7 @@ public struct OperatorDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var name: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = OperatorDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -443,7 +443,7 @@ public struct OperatorDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndOperatorPrecedenceAndTypes: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = OperatorDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -453,7 +453,7 @@ public struct OperatorDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// Optionally specify a precedence group and designated types. public var operatorPrecedenceAndTypes: OperatorPrecedenceAndTypesSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(OperatorPrecedenceAndTypesSyntax.init) + return data.child(at: 7).map(OperatorPrecedenceAndTypesSyntax.init) } set(value) { self = OperatorDeclSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -462,7 +462,7 @@ public struct OperatorDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterOperatorPrecedenceAndTypes: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = OperatorDeclSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -568,7 +568,7 @@ public struct OperatorPrecedenceAndTypesSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeColon: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = OperatorPrecedenceAndTypesSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -577,7 +577,7 @@ public struct OperatorPrecedenceAndTypesSyntax: SyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = OperatorPrecedenceAndTypesSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -586,7 +586,7 @@ public struct OperatorPrecedenceAndTypesSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenColonAndPrecedenceGroup: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = OperatorPrecedenceAndTypesSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -596,7 +596,7 @@ public struct OperatorPrecedenceAndTypesSyntax: SyntaxProtocol, SyntaxHashable { /// The precedence group for this operator public var precedenceGroup: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = OperatorPrecedenceAndTypesSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -605,7 +605,7 @@ public struct OperatorPrecedenceAndTypesSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPrecedenceGroupAndDesignatedTypes: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = OperatorPrecedenceAndTypesSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -615,7 +615,7 @@ public struct OperatorPrecedenceAndTypesSyntax: SyntaxProtocol, SyntaxHashable { /// The designated types associated with this operator. public var designatedTypes: DesignatedTypeListSyntax { get { - return DesignatedTypeListSyntax(data.child(at: 5, parent: Syntax(self))!) + return DesignatedTypeListSyntax(data.child(at: 5)!) } set(value) { self = OperatorPrecedenceAndTypesSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -650,7 +650,7 @@ public struct OperatorPrecedenceAndTypesSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterDesignatedTypes: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = OperatorPrecedenceAndTypesSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -757,7 +757,7 @@ public struct OptionalBindingConditionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeBindingSpecifier: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = OptionalBindingConditionSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -766,7 +766,7 @@ public struct OptionalBindingConditionSyntax: SyntaxProtocol, SyntaxHashable { public var bindingSpecifier: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = OptionalBindingConditionSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -775,7 +775,7 @@ public struct OptionalBindingConditionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenBindingSpecifierAndPattern: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = OptionalBindingConditionSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -784,7 +784,7 @@ public struct OptionalBindingConditionSyntax: SyntaxProtocol, SyntaxHashable { public var pattern: PatternSyntax { get { - return PatternSyntax(data.child(at: 3, parent: Syntax(self))!) + return PatternSyntax(data.child(at: 3)!) } set(value) { self = OptionalBindingConditionSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -793,7 +793,7 @@ public struct OptionalBindingConditionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPatternAndTypeAnnotation: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = OptionalBindingConditionSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -802,7 +802,7 @@ public struct OptionalBindingConditionSyntax: SyntaxProtocol, SyntaxHashable { public var typeAnnotation: TypeAnnotationSyntax? { get { - return data.child(at: 5, parent: Syntax(self)).map(TypeAnnotationSyntax.init) + return data.child(at: 5).map(TypeAnnotationSyntax.init) } set(value) { self = OptionalBindingConditionSyntax(data.replacingChild(at: 5, with: value?.data, arena: SyntaxArena())) @@ -811,7 +811,7 @@ public struct OptionalBindingConditionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTypeAnnotationAndInitializer: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = OptionalBindingConditionSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -820,7 +820,7 @@ public struct OptionalBindingConditionSyntax: SyntaxProtocol, SyntaxHashable { public var initializer: InitializerClauseSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(InitializerClauseSyntax.init) + return data.child(at: 7).map(InitializerClauseSyntax.init) } set(value) { self = OptionalBindingConditionSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -829,7 +829,7 @@ public struct OptionalBindingConditionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterInitializer: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = OptionalBindingConditionSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -920,7 +920,7 @@ public struct OptionalChainingExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = OptionalChainingExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -929,7 +929,7 @@ public struct OptionalChainingExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var expression: ExprSyntax { get { - return ExprSyntax(data.child(at: 1, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 1)!) } set(value) { self = OptionalChainingExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -938,7 +938,7 @@ public struct OptionalChainingExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenExpressionAndQuestionMark: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = OptionalChainingExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -947,7 +947,7 @@ public struct OptionalChainingExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var questionMark: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = OptionalChainingExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -956,7 +956,7 @@ public struct OptionalChainingExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterQuestionMark: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = OptionalChainingExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1043,7 +1043,7 @@ public struct OptionalTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeWrappedType: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = OptionalTypeSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1052,7 +1052,7 @@ public struct OptionalTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var wrappedType: TypeSyntax { get { - return TypeSyntax(data.child(at: 1, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 1)!) } set(value) { self = OptionalTypeSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1061,7 +1061,7 @@ public struct OptionalTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenWrappedTypeAndQuestionMark: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = OptionalTypeSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1070,7 +1070,7 @@ public struct OptionalTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var questionMark: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = OptionalTypeSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1079,7 +1079,7 @@ public struct OptionalTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedAfterQuestionMark: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = OptionalTypeSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1193,7 +1193,7 @@ public struct OriginallyDefinedInAttributeArgumentsSyntax: SyntaxProtocol, Synta public var unexpectedBeforeModuleLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = OriginallyDefinedInAttributeArgumentsSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1202,7 +1202,7 @@ public struct OriginallyDefinedInAttributeArgumentsSyntax: SyntaxProtocol, Synta public var moduleLabel: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = OriginallyDefinedInAttributeArgumentsSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1211,7 +1211,7 @@ public struct OriginallyDefinedInAttributeArgumentsSyntax: SyntaxProtocol, Synta public var unexpectedBetweenModuleLabelAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = OriginallyDefinedInAttributeArgumentsSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1220,7 +1220,7 @@ public struct OriginallyDefinedInAttributeArgumentsSyntax: SyntaxProtocol, Synta public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = OriginallyDefinedInAttributeArgumentsSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1229,7 +1229,7 @@ public struct OriginallyDefinedInAttributeArgumentsSyntax: SyntaxProtocol, Synta public var unexpectedBetweenColonAndModuleName: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = OriginallyDefinedInAttributeArgumentsSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1238,7 +1238,7 @@ public struct OriginallyDefinedInAttributeArgumentsSyntax: SyntaxProtocol, Synta public var moduleName: StringLiteralExprSyntax { get { - return StringLiteralExprSyntax(data.child(at: 5, parent: Syntax(self))!) + return StringLiteralExprSyntax(data.child(at: 5)!) } set(value) { self = OriginallyDefinedInAttributeArgumentsSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1247,7 +1247,7 @@ public struct OriginallyDefinedInAttributeArgumentsSyntax: SyntaxProtocol, Synta public var unexpectedBetweenModuleNameAndComma: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = OriginallyDefinedInAttributeArgumentsSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1256,7 +1256,7 @@ public struct OriginallyDefinedInAttributeArgumentsSyntax: SyntaxProtocol, Synta public var comma: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = OriginallyDefinedInAttributeArgumentsSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -1265,7 +1265,7 @@ public struct OriginallyDefinedInAttributeArgumentsSyntax: SyntaxProtocol, Synta public var unexpectedBetweenCommaAndPlatforms: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = OriginallyDefinedInAttributeArgumentsSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -1274,7 +1274,7 @@ public struct OriginallyDefinedInAttributeArgumentsSyntax: SyntaxProtocol, Synta public var platforms: PlatformVersionItemListSyntax { get { - return PlatformVersionItemListSyntax(data.child(at: 9, parent: Syntax(self))!) + return PlatformVersionItemListSyntax(data.child(at: 9)!) } set(value) { self = OriginallyDefinedInAttributeArgumentsSyntax(data.replacingChild(at: 9, with: value.data, arena: SyntaxArena())) @@ -1309,7 +1309,7 @@ public struct OriginallyDefinedInAttributeArgumentsSyntax: SyntaxProtocol, Synta public var unexpectedAfterPlatforms: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = OriginallyDefinedInAttributeArgumentsSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -1402,7 +1402,7 @@ public struct PackElementExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeEachKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PackElementExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1411,7 +1411,7 @@ public struct PackElementExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var eachKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = PackElementExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1420,7 +1420,7 @@ public struct PackElementExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenEachKeywordAndPack: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PackElementExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1429,7 +1429,7 @@ public struct PackElementExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var pack: ExprSyntax { get { - return ExprSyntax(data.child(at: 3, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 3)!) } set(value) { self = PackElementExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1438,7 +1438,7 @@ public struct PackElementExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterPack: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PackElementExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1525,7 +1525,7 @@ public struct PackElementTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeEachKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PackElementTypeSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1534,7 +1534,7 @@ public struct PackElementTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var eachKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = PackElementTypeSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1543,7 +1543,7 @@ public struct PackElementTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenEachKeywordAndPack: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PackElementTypeSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1552,7 +1552,7 @@ public struct PackElementTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var pack: TypeSyntax { get { - return TypeSyntax(data.child(at: 3, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 3)!) } set(value) { self = PackElementTypeSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1561,7 +1561,7 @@ public struct PackElementTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedAfterPack: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PackElementTypeSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1648,7 +1648,7 @@ public struct PackExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeRepeatKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PackExpansionExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1657,7 +1657,7 @@ public struct PackExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var repeatKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = PackExpansionExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1666,7 +1666,7 @@ public struct PackExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenRepeatKeywordAndRepetitionPattern: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PackExpansionExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1675,7 +1675,7 @@ public struct PackExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var repetitionPattern: ExprSyntax { get { - return ExprSyntax(data.child(at: 3, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 3)!) } set(value) { self = PackExpansionExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1684,7 +1684,7 @@ public struct PackExpansionExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterRepetitionPattern: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PackExpansionExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1771,7 +1771,7 @@ public struct PackExpansionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeRepeatKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PackExpansionTypeSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1780,7 +1780,7 @@ public struct PackExpansionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var repeatKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = PackExpansionTypeSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1789,7 +1789,7 @@ public struct PackExpansionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenRepeatKeywordAndRepetitionPattern: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PackExpansionTypeSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1798,7 +1798,7 @@ public struct PackExpansionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var repetitionPattern: TypeSyntax { get { - return TypeSyntax(data.child(at: 3, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 3)!) } set(value) { self = PackExpansionTypeSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1807,7 +1807,7 @@ public struct PackExpansionTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedAfterRepetitionPattern: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PackExpansionTypeSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1925,7 +1925,7 @@ public struct PatternBindingSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforePattern: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PatternBindingSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1945,7 +1945,7 @@ public struct PatternBindingSyntax: SyntaxProtocol, SyntaxHashable { /// ``` public var pattern: PatternSyntax { get { - return PatternSyntax(data.child(at: 1, parent: Syntax(self))!) + return PatternSyntax(data.child(at: 1)!) } set(value) { self = PatternBindingSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1954,7 +1954,7 @@ public struct PatternBindingSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPatternAndTypeAnnotation: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PatternBindingSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1966,7 +1966,7 @@ public struct PatternBindingSyntax: SyntaxProtocol, SyntaxHashable { /// Can be omitted, in which case the variables’ types are inferred from the initializer. public var typeAnnotation: TypeAnnotationSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TypeAnnotationSyntax.init) + return data.child(at: 3).map(TypeAnnotationSyntax.init) } set(value) { self = PatternBindingSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -1975,7 +1975,7 @@ public struct PatternBindingSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTypeAnnotationAndInitializer: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PatternBindingSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1985,7 +1985,7 @@ public struct PatternBindingSyntax: SyntaxProtocol, SyntaxHashable { /// If the variables have a default value, the clause that initializes them. public var initializer: InitializerClauseSyntax? { get { - return data.child(at: 5, parent: Syntax(self)).map(InitializerClauseSyntax.init) + return data.child(at: 5).map(InitializerClauseSyntax.init) } set(value) { self = PatternBindingSyntax(data.replacingChild(at: 5, with: value?.data, arena: SyntaxArena())) @@ -1994,7 +1994,7 @@ public struct PatternBindingSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenInitializerAndAccessorBlock: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = PatternBindingSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2004,7 +2004,7 @@ public struct PatternBindingSyntax: SyntaxProtocol, SyntaxHashable { /// If the variable is computed, the accessors that get (and optionally set) the value. public var accessorBlock: AccessorBlockSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(AccessorBlockSyntax.init) + return data.child(at: 7).map(AccessorBlockSyntax.init) } set(value) { self = PatternBindingSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -2013,7 +2013,7 @@ public struct PatternBindingSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAccessorBlockAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = PatternBindingSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -2022,7 +2022,7 @@ public struct PatternBindingSyntax: SyntaxProtocol, SyntaxHashable { public var trailingComma: TokenSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 9).map(TokenSyntax.init) } set(value) { self = PatternBindingSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -2031,7 +2031,7 @@ public struct PatternBindingSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = PatternBindingSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -2109,7 +2109,7 @@ public struct PatternExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforePattern: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PatternExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2118,7 +2118,7 @@ public struct PatternExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var pattern: PatternSyntax { get { - return PatternSyntax(data.child(at: 1, parent: Syntax(self))!) + return PatternSyntax(data.child(at: 1)!) } set(value) { self = PatternExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2127,7 +2127,7 @@ public struct PatternExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterPattern: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PatternExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2215,7 +2215,7 @@ public struct PlatformVersionItemSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforePlatformVersion: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PlatformVersionItemSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2224,7 +2224,7 @@ public struct PlatformVersionItemSyntax: SyntaxProtocol, SyntaxHashable { public var platformVersion: PlatformVersionSyntax { get { - return PlatformVersionSyntax(data.child(at: 1, parent: Syntax(self))!) + return PlatformVersionSyntax(data.child(at: 1)!) } set(value) { self = PlatformVersionItemSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2233,7 +2233,7 @@ public struct PlatformVersionItemSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPlatformVersionAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PlatformVersionItemSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2243,7 +2243,7 @@ public struct PlatformVersionItemSyntax: SyntaxProtocol, SyntaxHashable { /// A trailing comma if the argument is followed by another argument public var trailingComma: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = PlatformVersionItemSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -2252,7 +2252,7 @@ public struct PlatformVersionItemSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PlatformVersionItemSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2348,7 +2348,7 @@ public struct PlatformVersionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforePlatform: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PlatformVersionSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2358,7 +2358,7 @@ public struct PlatformVersionSyntax: SyntaxProtocol, SyntaxHashable { /// The name of the OS on which the availability should be restricted or 'swift' if the availability should be restricted based on a Swift version. public var platform: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = PlatformVersionSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2367,7 +2367,7 @@ public struct PlatformVersionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPlatformAndVersion: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PlatformVersionSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2381,7 +2381,7 @@ public struct PlatformVersionSyntax: SyntaxProtocol, SyntaxHashable { /// to the Swift compiler, then `@available(_iOS8Aligned, *)` is interpreted as `@available(macOS 10.10, iOS 8.0, *)`. public var version: VersionTupleSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(VersionTupleSyntax.init) + return data.child(at: 3).map(VersionTupleSyntax.init) } set(value) { self = PlatformVersionSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -2390,7 +2390,7 @@ public struct PlatformVersionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterVersion: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PlatformVersionSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2477,7 +2477,7 @@ public struct PostfixIfConfigExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeBase: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PostfixIfConfigExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2486,7 +2486,7 @@ public struct PostfixIfConfigExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var base: ExprSyntax? { get { - return data.child(at: 1, parent: Syntax(self)).map(ExprSyntax.init) + return data.child(at: 1).map(ExprSyntax.init) } set(value) { self = PostfixIfConfigExprSyntax(data.replacingChild(at: 1, with: value?.data, arena: SyntaxArena())) @@ -2495,7 +2495,7 @@ public struct PostfixIfConfigExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenBaseAndConfig: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PostfixIfConfigExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2504,7 +2504,7 @@ public struct PostfixIfConfigExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var config: IfConfigDeclSyntax { get { - return IfConfigDeclSyntax(data.child(at: 3, parent: Syntax(self))!) + return IfConfigDeclSyntax(data.child(at: 3)!) } set(value) { self = PostfixIfConfigExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2513,7 +2513,7 @@ public struct PostfixIfConfigExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterConfig: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PostfixIfConfigExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2600,7 +2600,7 @@ public struct PostfixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PostfixOperatorExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2609,7 +2609,7 @@ public struct PostfixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var expression: ExprSyntax { get { - return ExprSyntax(data.child(at: 1, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 1)!) } set(value) { self = PostfixOperatorExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2618,7 +2618,7 @@ public struct PostfixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenExpressionAndOperator: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PostfixOperatorExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2627,7 +2627,7 @@ public struct PostfixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var `operator`: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = PostfixOperatorExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2636,7 +2636,7 @@ public struct PostfixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterOperator: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PostfixOperatorExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2762,7 +2762,7 @@ public struct PoundSourceLocationArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBeforeFileLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PoundSourceLocationArgumentsSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2771,7 +2771,7 @@ public struct PoundSourceLocationArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var fileLabel: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = PoundSourceLocationArgumentsSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2780,7 +2780,7 @@ public struct PoundSourceLocationArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBetweenFileLabelAndFileColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PoundSourceLocationArgumentsSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2789,7 +2789,7 @@ public struct PoundSourceLocationArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var fileColon: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = PoundSourceLocationArgumentsSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2798,7 +2798,7 @@ public struct PoundSourceLocationArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBetweenFileColonAndFileName: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PoundSourceLocationArgumentsSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2807,7 +2807,7 @@ public struct PoundSourceLocationArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var fileName: SimpleStringLiteralExprSyntax { get { - return SimpleStringLiteralExprSyntax(data.child(at: 5, parent: Syntax(self))!) + return SimpleStringLiteralExprSyntax(data.child(at: 5)!) } set(value) { self = PoundSourceLocationArgumentsSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -2816,7 +2816,7 @@ public struct PoundSourceLocationArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBetweenFileNameAndComma: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = PoundSourceLocationArgumentsSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2825,7 +2825,7 @@ public struct PoundSourceLocationArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var comma: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = PoundSourceLocationArgumentsSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -2834,7 +2834,7 @@ public struct PoundSourceLocationArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBetweenCommaAndLineLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = PoundSourceLocationArgumentsSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -2843,7 +2843,7 @@ public struct PoundSourceLocationArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var lineLabel: TokenSyntax { get { - return TokenSyntax(data.child(at: 9, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 9)!) } set(value) { self = PoundSourceLocationArgumentsSyntax(data.replacingChild(at: 9, with: value.data, arena: SyntaxArena())) @@ -2852,7 +2852,7 @@ public struct PoundSourceLocationArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBetweenLineLabelAndLineColon: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = PoundSourceLocationArgumentsSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -2861,7 +2861,7 @@ public struct PoundSourceLocationArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var lineColon: TokenSyntax { get { - return TokenSyntax(data.child(at: 11, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 11)!) } set(value) { self = PoundSourceLocationArgumentsSyntax(data.replacingChild(at: 11, with: value.data, arena: SyntaxArena())) @@ -2870,7 +2870,7 @@ public struct PoundSourceLocationArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBetweenLineColonAndLineNumber: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = PoundSourceLocationArgumentsSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -2879,7 +2879,7 @@ public struct PoundSourceLocationArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var lineNumber: TokenSyntax { get { - return TokenSyntax(data.child(at: 13, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 13)!) } set(value) { self = PoundSourceLocationArgumentsSyntax(data.replacingChild(at: 13, with: value.data, arena: SyntaxArena())) @@ -2888,7 +2888,7 @@ public struct PoundSourceLocationArgumentsSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedAfterLineNumber: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = PoundSourceLocationArgumentsSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -2999,7 +2999,7 @@ public struct PoundSourceLocationSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforePoundSourceLocation: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PoundSourceLocationSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3008,7 +3008,7 @@ public struct PoundSourceLocationSyntax: DeclSyntaxProtocol, SyntaxHashable { public var poundSourceLocation: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = PoundSourceLocationSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3017,7 +3017,7 @@ public struct PoundSourceLocationSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPoundSourceLocationAndLeftParen: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PoundSourceLocationSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3026,7 +3026,7 @@ public struct PoundSourceLocationSyntax: DeclSyntaxProtocol, SyntaxHashable { public var leftParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = PoundSourceLocationSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3035,7 +3035,7 @@ public struct PoundSourceLocationSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftParenAndArguments: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PoundSourceLocationSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3044,7 +3044,7 @@ public struct PoundSourceLocationSyntax: DeclSyntaxProtocol, SyntaxHashable { public var arguments: PoundSourceLocationArgumentsSyntax? { get { - return data.child(at: 5, parent: Syntax(self)).map(PoundSourceLocationArgumentsSyntax.init) + return data.child(at: 5).map(PoundSourceLocationArgumentsSyntax.init) } set(value) { self = PoundSourceLocationSyntax(data.replacingChild(at: 5, with: value?.data, arena: SyntaxArena())) @@ -3053,7 +3053,7 @@ public struct PoundSourceLocationSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenArgumentsAndRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = PoundSourceLocationSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3062,7 +3062,7 @@ public struct PoundSourceLocationSyntax: DeclSyntaxProtocol, SyntaxHashable { public var rightParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = PoundSourceLocationSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -3071,7 +3071,7 @@ public struct PoundSourceLocationSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = PoundSourceLocationSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -3176,7 +3176,7 @@ public struct PrecedenceGroupAssignmentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAssignmentLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupAssignmentSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3185,7 +3185,7 @@ public struct PrecedenceGroupAssignmentSyntax: SyntaxProtocol, SyntaxHashable { public var assignmentLabel: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = PrecedenceGroupAssignmentSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3194,7 +3194,7 @@ public struct PrecedenceGroupAssignmentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAssignmentLabelAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupAssignmentSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3203,7 +3203,7 @@ public struct PrecedenceGroupAssignmentSyntax: SyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = PrecedenceGroupAssignmentSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3212,7 +3212,7 @@ public struct PrecedenceGroupAssignmentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenColonAndValue: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupAssignmentSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3222,7 +3222,7 @@ public struct PrecedenceGroupAssignmentSyntax: SyntaxProtocol, SyntaxHashable { /// When true, an operator in the corresponding precedence group uses the same grouping rules during optional chaining as the assignment operators from the standard library. Otherwise, operators in the precedence group follows the same optional chaining rules as operators that don't perform assignment. public var value: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = PrecedenceGroupAssignmentSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3231,7 +3231,7 @@ public struct PrecedenceGroupAssignmentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterValue: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupAssignmentSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3334,7 +3334,7 @@ public struct PrecedenceGroupAssociativitySyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBeforeAssociativityLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupAssociativitySyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3343,7 +3343,7 @@ public struct PrecedenceGroupAssociativitySyntax: SyntaxProtocol, SyntaxHashable public var associativityLabel: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = PrecedenceGroupAssociativitySyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3352,7 +3352,7 @@ public struct PrecedenceGroupAssociativitySyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBetweenAssociativityLabelAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupAssociativitySyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3361,7 +3361,7 @@ public struct PrecedenceGroupAssociativitySyntax: SyntaxProtocol, SyntaxHashable public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = PrecedenceGroupAssociativitySyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3370,7 +3370,7 @@ public struct PrecedenceGroupAssociativitySyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBetweenColonAndValue: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupAssociativitySyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3380,7 +3380,7 @@ public struct PrecedenceGroupAssociativitySyntax: SyntaxProtocol, SyntaxHashable /// Operators that are `left`-associative group left-to-right. Operators that are `right`-associative group right-to-left. Operators that are specified with an associativity of `none` don't associate at all public var value: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = PrecedenceGroupAssociativitySyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3389,7 +3389,7 @@ public struct PrecedenceGroupAssociativitySyntax: SyntaxProtocol, SyntaxHashable public var unexpectedAfterValue: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupAssociativitySyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3519,7 +3519,7 @@ public struct PrecedenceGroupDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3529,7 +3529,7 @@ public struct PrecedenceGroupDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The attributes applied to the 'precedencegroup' declaration. public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = PrecedenceGroupDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3564,7 +3564,7 @@ public struct PrecedenceGroupDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3574,7 +3574,7 @@ public struct PrecedenceGroupDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The declaration modifiers applied to the 'precedencegroup' declaration. public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = PrecedenceGroupDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3609,7 +3609,7 @@ public struct PrecedenceGroupDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndPrecedencegroupKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3618,7 +3618,7 @@ public struct PrecedenceGroupDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var precedencegroupKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = PrecedenceGroupDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3627,7 +3627,7 @@ public struct PrecedenceGroupDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPrecedencegroupKeywordAndName: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3637,7 +3637,7 @@ public struct PrecedenceGroupDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The name of this precedence group. public var name: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = PrecedenceGroupDeclSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -3646,7 +3646,7 @@ public struct PrecedenceGroupDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndLeftBrace: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupDeclSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -3655,7 +3655,7 @@ public struct PrecedenceGroupDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var leftBrace: TokenSyntax { get { - return TokenSyntax(data.child(at: 9, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 9)!) } set(value) { self = PrecedenceGroupDeclSyntax(data.replacingChild(at: 9, with: value.data, arena: SyntaxArena())) @@ -3664,7 +3664,7 @@ public struct PrecedenceGroupDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftBraceAndGroupAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupDeclSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -3674,7 +3674,7 @@ public struct PrecedenceGroupDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The characteristics of this precedence group. public var groupAttributes: PrecedenceGroupAttributeListSyntax { get { - return PrecedenceGroupAttributeListSyntax(data.child(at: 11, parent: Syntax(self))!) + return PrecedenceGroupAttributeListSyntax(data.child(at: 11)!) } set(value) { self = PrecedenceGroupDeclSyntax(data.replacingChild(at: 11, with: value.data, arena: SyntaxArena())) @@ -3709,7 +3709,7 @@ public struct PrecedenceGroupDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGroupAttributesAndRightBrace: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupDeclSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -3718,7 +3718,7 @@ public struct PrecedenceGroupDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var rightBrace: TokenSyntax { get { - return TokenSyntax(data.child(at: 13, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 13)!) } set(value) { self = PrecedenceGroupDeclSyntax(data.replacingChild(at: 13, with: value.data, arena: SyntaxArena())) @@ -3727,7 +3727,7 @@ public struct PrecedenceGroupDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightBrace: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupDeclSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -3828,7 +3828,7 @@ public struct PrecedenceGroupNameSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeName: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupNameSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3837,7 +3837,7 @@ public struct PrecedenceGroupNameSyntax: SyntaxProtocol, SyntaxHashable { public var name: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = PrecedenceGroupNameSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3846,7 +3846,7 @@ public struct PrecedenceGroupNameSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupNameSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3855,7 +3855,7 @@ public struct PrecedenceGroupNameSyntax: SyntaxProtocol, SyntaxHashable { public var trailingComma: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = PrecedenceGroupNameSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -3864,7 +3864,7 @@ public struct PrecedenceGroupNameSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupNameSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3966,7 +3966,7 @@ public struct PrecedenceGroupRelationSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeHigherThanOrLowerThanLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupRelationSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3976,7 +3976,7 @@ public struct PrecedenceGroupRelationSyntax: SyntaxProtocol, SyntaxHashable { /// The relation to specified other precedence groups. public var higherThanOrLowerThanLabel: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = PrecedenceGroupRelationSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3985,7 +3985,7 @@ public struct PrecedenceGroupRelationSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenHigherThanOrLowerThanLabelAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupRelationSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3994,7 +3994,7 @@ public struct PrecedenceGroupRelationSyntax: SyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = PrecedenceGroupRelationSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -4003,7 +4003,7 @@ public struct PrecedenceGroupRelationSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenColonAndPrecedenceGroups: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupRelationSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4013,7 +4013,7 @@ public struct PrecedenceGroupRelationSyntax: SyntaxProtocol, SyntaxHashable { /// The name of other precedence group to which this precedence group relates. public var precedenceGroups: PrecedenceGroupNameListSyntax { get { - return PrecedenceGroupNameListSyntax(data.child(at: 5, parent: Syntax(self))!) + return PrecedenceGroupNameListSyntax(data.child(at: 5)!) } set(value) { self = PrecedenceGroupRelationSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -4048,7 +4048,7 @@ public struct PrecedenceGroupRelationSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterPrecedenceGroups: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = PrecedenceGroupRelationSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -4137,7 +4137,7 @@ public struct PrefixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeOperator: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PrefixOperatorExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4146,7 +4146,7 @@ public struct PrefixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var `operator`: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = PrefixOperatorExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4155,7 +4155,7 @@ public struct PrefixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenOperatorAndExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PrefixOperatorExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4164,7 +4164,7 @@ public struct PrefixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var expression: ExprSyntax { get { - return ExprSyntax(data.child(at: 3, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 3)!) } set(value) { self = PrefixOperatorExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -4173,7 +4173,7 @@ public struct PrefixOperatorExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PrefixOperatorExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4271,7 +4271,7 @@ public struct PrimaryAssociatedTypeClauseSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBeforeLeftAngle: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PrimaryAssociatedTypeClauseSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4280,7 +4280,7 @@ public struct PrimaryAssociatedTypeClauseSyntax: SyntaxProtocol, SyntaxHashable public var leftAngle: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = PrimaryAssociatedTypeClauseSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4289,7 +4289,7 @@ public struct PrimaryAssociatedTypeClauseSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBetweenLeftAngleAndPrimaryAssociatedTypes: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PrimaryAssociatedTypeClauseSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4298,7 +4298,7 @@ public struct PrimaryAssociatedTypeClauseSyntax: SyntaxProtocol, SyntaxHashable public var primaryAssociatedTypes: PrimaryAssociatedTypeListSyntax { get { - return PrimaryAssociatedTypeListSyntax(data.child(at: 3, parent: Syntax(self))!) + return PrimaryAssociatedTypeListSyntax(data.child(at: 3)!) } set(value) { self = PrimaryAssociatedTypeClauseSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -4333,7 +4333,7 @@ public struct PrimaryAssociatedTypeClauseSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedBetweenPrimaryAssociatedTypesAndRightAngle: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PrimaryAssociatedTypeClauseSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4342,7 +4342,7 @@ public struct PrimaryAssociatedTypeClauseSyntax: SyntaxProtocol, SyntaxHashable public var rightAngle: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = PrimaryAssociatedTypeClauseSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -4351,7 +4351,7 @@ public struct PrimaryAssociatedTypeClauseSyntax: SyntaxProtocol, SyntaxHashable public var unexpectedAfterRightAngle: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = PrimaryAssociatedTypeClauseSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -4444,7 +4444,7 @@ public struct PrimaryAssociatedTypeSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeName: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = PrimaryAssociatedTypeSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4453,7 +4453,7 @@ public struct PrimaryAssociatedTypeSyntax: SyntaxProtocol, SyntaxHashable { public var name: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = PrimaryAssociatedTypeSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4462,7 +4462,7 @@ public struct PrimaryAssociatedTypeSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = PrimaryAssociatedTypeSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4471,7 +4471,7 @@ public struct PrimaryAssociatedTypeSyntax: SyntaxProtocol, SyntaxHashable { public var trailingComma: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = PrimaryAssociatedTypeSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -4480,7 +4480,7 @@ public struct PrimaryAssociatedTypeSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = PrimaryAssociatedTypeSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4627,7 +4627,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4637,7 +4637,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// Attributes attached to the protocol declaration, such as an `@available` attribute. public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4672,7 +4672,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4682,7 +4682,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// Modifiers attached to the protocol declaration, such as `public`. public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -4717,7 +4717,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndProtocolKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4727,7 +4727,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The `protocol` keyword for this declaration. public var protocolKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -4736,7 +4736,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenProtocolKeywordAndName: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -4746,7 +4746,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The name of the protocol. public var name: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -4755,7 +4755,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndPrimaryAssociatedTypeClause: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -4765,7 +4765,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The primary associated type for the protocol. public var primaryAssociatedTypeClause: PrimaryAssociatedTypeClauseSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(PrimaryAssociatedTypeClauseSyntax.init) + return data.child(at: 9).map(PrimaryAssociatedTypeClauseSyntax.init) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -4774,7 +4774,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPrimaryAssociatedTypeClauseAndInheritanceClause: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -4784,7 +4784,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The inheritance clause describing one or more conformances for this protocol declaration. public var inheritanceClause: InheritanceClauseSyntax? { get { - return data.child(at: 11, parent: Syntax(self)).map(InheritanceClauseSyntax.init) + return data.child(at: 11).map(InheritanceClauseSyntax.init) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 11, with: value?.data, arena: SyntaxArena())) @@ -4793,7 +4793,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenInheritanceClauseAndGenericWhereClause: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -4803,7 +4803,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The `where` clause that applies to the generic parameters of this protocol declaration. public var genericWhereClause: GenericWhereClauseSyntax? { get { - return data.child(at: 13, parent: Syntax(self)).map(GenericWhereClauseSyntax.init) + return data.child(at: 13).map(GenericWhereClauseSyntax.init) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 13, with: value?.data, arena: SyntaxArena())) @@ -4812,7 +4812,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericWhereClauseAndMemberBlock: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -4822,7 +4822,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The members of the protocol declaration. public var memberBlock: MemberBlockSyntax { get { - return MemberBlockSyntax(data.child(at: 15, parent: Syntax(self))!) + return MemberBlockSyntax(data.child(at: 15)!) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 15, with: value.data, arena: SyntaxArena())) @@ -4831,7 +4831,7 @@ public struct ProtocolDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterMemberBlock: UnexpectedNodesSyntax? { get { - return data.child(at: 16, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 16).map(UnexpectedNodesSyntax.init) } set(value) { self = ProtocolDeclSyntax(data.replacingChild(at: 16, with: value?.data, arena: SyntaxArena())) diff --git a/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesQRS.swift b/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesQRS.swift index d5c19b991db..48862ac4a0e 100644 --- a/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesQRS.swift +++ b/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesQRS.swift @@ -102,7 +102,7 @@ public struct RegexLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeOpeningPounds: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = RegexLiteralExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -111,7 +111,7 @@ public struct RegexLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var openingPounds: TokenSyntax? { get { - return data.child(at: 1, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 1).map(TokenSyntax.init) } set(value) { self = RegexLiteralExprSyntax(data.replacingChild(at: 1, with: value?.data, arena: SyntaxArena())) @@ -120,7 +120,7 @@ public struct RegexLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenOpeningPoundsAndOpeningSlash: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = RegexLiteralExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -129,7 +129,7 @@ public struct RegexLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var openingSlash: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = RegexLiteralExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -138,7 +138,7 @@ public struct RegexLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenOpeningSlashAndRegex: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = RegexLiteralExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -147,7 +147,7 @@ public struct RegexLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var regex: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = RegexLiteralExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -156,7 +156,7 @@ public struct RegexLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenRegexAndClosingSlash: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = RegexLiteralExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -165,7 +165,7 @@ public struct RegexLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var closingSlash: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = RegexLiteralExprSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -174,7 +174,7 @@ public struct RegexLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenClosingSlashAndClosingPounds: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = RegexLiteralExprSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -183,7 +183,7 @@ public struct RegexLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var closingPounds: TokenSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 9).map(TokenSyntax.init) } set(value) { self = RegexLiteralExprSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -192,7 +192,7 @@ public struct RegexLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterClosingPounds: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = RegexLiteralExprSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -299,7 +299,7 @@ public struct RepeatStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeRepeatKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = RepeatStmtSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -308,7 +308,7 @@ public struct RepeatStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var repeatKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = RepeatStmtSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -317,7 +317,7 @@ public struct RepeatStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenRepeatKeywordAndBody: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = RepeatStmtSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -326,7 +326,7 @@ public struct RepeatStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var body: CodeBlockSyntax { get { - return CodeBlockSyntax(data.child(at: 3, parent: Syntax(self))!) + return CodeBlockSyntax(data.child(at: 3)!) } set(value) { self = RepeatStmtSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -335,7 +335,7 @@ public struct RepeatStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenBodyAndWhileKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = RepeatStmtSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -344,7 +344,7 @@ public struct RepeatStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var whileKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = RepeatStmtSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -353,7 +353,7 @@ public struct RepeatStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenWhileKeywordAndCondition: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = RepeatStmtSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -362,7 +362,7 @@ public struct RepeatStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var condition: ExprSyntax { get { - return ExprSyntax(data.child(at: 7, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 7)!) } set(value) { self = RepeatStmtSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -371,7 +371,7 @@ public struct RepeatStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedAfterCondition: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = RepeatStmtSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -469,7 +469,7 @@ public struct ReturnClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeArrow: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ReturnClauseSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -478,7 +478,7 @@ public struct ReturnClauseSyntax: SyntaxProtocol, SyntaxHashable { public var arrow: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = ReturnClauseSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -487,7 +487,7 @@ public struct ReturnClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenArrowAndType: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ReturnClauseSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -496,7 +496,7 @@ public struct ReturnClauseSyntax: SyntaxProtocol, SyntaxHashable { public var type: TypeSyntax { get { - return TypeSyntax(data.child(at: 3, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 3)!) } set(value) { self = ReturnClauseSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -505,7 +505,7 @@ public struct ReturnClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterType: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = ReturnClauseSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -592,7 +592,7 @@ public struct ReturnStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeReturnKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ReturnStmtSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -601,7 +601,7 @@ public struct ReturnStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var returnKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = ReturnStmtSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -610,7 +610,7 @@ public struct ReturnStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenReturnKeywordAndExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ReturnStmtSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -619,7 +619,7 @@ public struct ReturnStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var expression: ExprSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(ExprSyntax.init) + return data.child(at: 3).map(ExprSyntax.init) } set(value) { self = ReturnStmtSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -628,7 +628,7 @@ public struct ReturnStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedAfterExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = ReturnStmtSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -726,7 +726,7 @@ public struct SameTypeRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLeftType: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SameTypeRequirementSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -735,7 +735,7 @@ public struct SameTypeRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var leftType: TypeSyntax { get { - return TypeSyntax(data.child(at: 1, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 1)!) } set(value) { self = SameTypeRequirementSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -744,7 +744,7 @@ public struct SameTypeRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftTypeAndEqual: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SameTypeRequirementSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -753,7 +753,7 @@ public struct SameTypeRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var equal: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = SameTypeRequirementSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -762,7 +762,7 @@ public struct SameTypeRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenEqualAndRightType: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = SameTypeRequirementSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -771,7 +771,7 @@ public struct SameTypeRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var rightType: TypeSyntax { get { - return TypeSyntax(data.child(at: 5, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 5)!) } set(value) { self = SameTypeRequirementSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -780,7 +780,7 @@ public struct SameTypeRequirementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightType: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = SameTypeRequirementSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -854,7 +854,7 @@ public struct SequenceExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeElements: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SequenceExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -863,7 +863,7 @@ public struct SequenceExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var elements: ExprListSyntax { get { - return ExprListSyntax(data.child(at: 1, parent: Syntax(self))!) + return ExprListSyntax(data.child(at: 1)!) } set(value) { self = SequenceExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -898,7 +898,7 @@ public struct SequenceExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterElements: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SequenceExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -996,7 +996,7 @@ public struct SimpleStringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable public var unexpectedBeforeOpeningQuote: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SimpleStringLiteralExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1006,7 +1006,7 @@ public struct SimpleStringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable /// Open quote for the string literal public var openingQuote: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = SimpleStringLiteralExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1015,7 +1015,7 @@ public struct SimpleStringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable public var unexpectedBetweenOpeningQuoteAndSegments: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SimpleStringLiteralExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1025,7 +1025,7 @@ public struct SimpleStringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable /// String content public var segments: SimpleStringLiteralSegmentListSyntax { get { - return SimpleStringLiteralSegmentListSyntax(data.child(at: 3, parent: Syntax(self))!) + return SimpleStringLiteralSegmentListSyntax(data.child(at: 3)!) } set(value) { self = SimpleStringLiteralExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1060,7 +1060,7 @@ public struct SimpleStringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable public var unexpectedBetweenSegmentsAndClosingQuote: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = SimpleStringLiteralExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1070,7 +1070,7 @@ public struct SimpleStringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable /// Close quote for the string literal public var closingQuote: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = SimpleStringLiteralExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1079,7 +1079,7 @@ public struct SimpleStringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable public var unexpectedAfterClosingQuote: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = SimpleStringLiteralExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1168,7 +1168,7 @@ public struct SomeOrAnyTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeSomeOrAnySpecifier: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SomeOrAnyTypeSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1177,7 +1177,7 @@ public struct SomeOrAnyTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var someOrAnySpecifier: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = SomeOrAnyTypeSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1186,7 +1186,7 @@ public struct SomeOrAnyTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenSomeOrAnySpecifierAndConstraint: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SomeOrAnyTypeSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1195,7 +1195,7 @@ public struct SomeOrAnyTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var constraint: TypeSyntax { get { - return TypeSyntax(data.child(at: 3, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 3)!) } set(value) { self = SomeOrAnyTypeSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1204,7 +1204,7 @@ public struct SomeOrAnyTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedAfterConstraint: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = SomeOrAnyTypeSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1299,7 +1299,7 @@ public struct SourceFileSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeShebang: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SourceFileSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1309,7 +1309,7 @@ public struct SourceFileSyntax: SyntaxProtocol, SyntaxHashable { /// A shebang can specify the path of the compiler when using Swift source file as a script. public var shebang: TokenSyntax? { get { - return data.child(at: 1, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 1).map(TokenSyntax.init) } set(value) { self = SourceFileSyntax(data.replacingChild(at: 1, with: value?.data, arena: SyntaxArena())) @@ -1318,7 +1318,7 @@ public struct SourceFileSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenShebangAndStatements: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SourceFileSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1327,7 +1327,7 @@ public struct SourceFileSyntax: SyntaxProtocol, SyntaxHashable { public var statements: CodeBlockItemListSyntax { get { - return CodeBlockItemListSyntax(data.child(at: 3, parent: Syntax(self))!) + return CodeBlockItemListSyntax(data.child(at: 3)!) } set(value) { self = SourceFileSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1362,7 +1362,7 @@ public struct SourceFileSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenStatementsAndEndOfFileToken: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = SourceFileSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1371,7 +1371,7 @@ public struct SourceFileSyntax: SyntaxProtocol, SyntaxHashable { public var endOfFileToken: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = SourceFileSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1380,7 +1380,7 @@ public struct SourceFileSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterEndOfFileToken: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = SourceFileSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1491,7 +1491,7 @@ public struct SpecializeAvailabilityArgumentSyntax: SyntaxProtocol, SyntaxHashab public var unexpectedBeforeAvailabilityLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SpecializeAvailabilityArgumentSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1501,7 +1501,7 @@ public struct SpecializeAvailabilityArgumentSyntax: SyntaxProtocol, SyntaxHashab /// The label of the argument public var availabilityLabel: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = SpecializeAvailabilityArgumentSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1510,7 +1510,7 @@ public struct SpecializeAvailabilityArgumentSyntax: SyntaxProtocol, SyntaxHashab public var unexpectedBetweenAvailabilityLabelAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SpecializeAvailabilityArgumentSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1520,7 +1520,7 @@ public struct SpecializeAvailabilityArgumentSyntax: SyntaxProtocol, SyntaxHashab /// The colon separating the label and the value public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = SpecializeAvailabilityArgumentSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1529,7 +1529,7 @@ public struct SpecializeAvailabilityArgumentSyntax: SyntaxProtocol, SyntaxHashab public var unexpectedBetweenColonAndAvailabilityArguments: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = SpecializeAvailabilityArgumentSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1538,7 +1538,7 @@ public struct SpecializeAvailabilityArgumentSyntax: SyntaxProtocol, SyntaxHashab public var availabilityArguments: AvailabilityArgumentListSyntax { get { - return AvailabilityArgumentListSyntax(data.child(at: 5, parent: Syntax(self))!) + return AvailabilityArgumentListSyntax(data.child(at: 5)!) } set(value) { self = SpecializeAvailabilityArgumentSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1573,7 +1573,7 @@ public struct SpecializeAvailabilityArgumentSyntax: SyntaxProtocol, SyntaxHashab public var unexpectedBetweenAvailabilityArgumentsAndSemicolon: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = SpecializeAvailabilityArgumentSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1582,7 +1582,7 @@ public struct SpecializeAvailabilityArgumentSyntax: SyntaxProtocol, SyntaxHashab public var semicolon: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = SpecializeAvailabilityArgumentSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -1591,7 +1591,7 @@ public struct SpecializeAvailabilityArgumentSyntax: SyntaxProtocol, SyntaxHashab public var unexpectedAfterSemicolon: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = SpecializeAvailabilityArgumentSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -1706,7 +1706,7 @@ public struct SpecializeTargetFunctionArgumentSyntax: SyntaxProtocol, SyntaxHash public var unexpectedBeforeTargetLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SpecializeTargetFunctionArgumentSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1716,7 +1716,7 @@ public struct SpecializeTargetFunctionArgumentSyntax: SyntaxProtocol, SyntaxHash /// The label of the argument public var targetLabel: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = SpecializeTargetFunctionArgumentSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1725,7 +1725,7 @@ public struct SpecializeTargetFunctionArgumentSyntax: SyntaxProtocol, SyntaxHash public var unexpectedBetweenTargetLabelAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SpecializeTargetFunctionArgumentSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1735,7 +1735,7 @@ public struct SpecializeTargetFunctionArgumentSyntax: SyntaxProtocol, SyntaxHash /// The colon separating the label and the value public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = SpecializeTargetFunctionArgumentSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1744,7 +1744,7 @@ public struct SpecializeTargetFunctionArgumentSyntax: SyntaxProtocol, SyntaxHash public var unexpectedBetweenColonAndDeclName: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = SpecializeTargetFunctionArgumentSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1754,7 +1754,7 @@ public struct SpecializeTargetFunctionArgumentSyntax: SyntaxProtocol, SyntaxHash /// The value for this argument public var declName: DeclReferenceExprSyntax { get { - return DeclReferenceExprSyntax(data.child(at: 5, parent: Syntax(self))!) + return DeclReferenceExprSyntax(data.child(at: 5)!) } set(value) { self = SpecializeTargetFunctionArgumentSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1763,7 +1763,7 @@ public struct SpecializeTargetFunctionArgumentSyntax: SyntaxProtocol, SyntaxHash public var unexpectedBetweenDeclNameAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = SpecializeTargetFunctionArgumentSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1773,7 +1773,7 @@ public struct SpecializeTargetFunctionArgumentSyntax: SyntaxProtocol, SyntaxHash /// A trailing comma if this argument is followed by another one public var trailingComma: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = SpecializeTargetFunctionArgumentSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -1782,7 +1782,7 @@ public struct SpecializeTargetFunctionArgumentSyntax: SyntaxProtocol, SyntaxHash public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = SpecializeTargetFunctionArgumentSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -1905,7 +1905,7 @@ public struct StringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeOpeningPounds: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = StringLiteralExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1914,7 +1914,7 @@ public struct StringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var openingPounds: TokenSyntax? { get { - return data.child(at: 1, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 1).map(TokenSyntax.init) } set(value) { self = StringLiteralExprSyntax(data.replacingChild(at: 1, with: value?.data, arena: SyntaxArena())) @@ -1923,7 +1923,7 @@ public struct StringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenOpeningPoundsAndOpeningQuote: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = StringLiteralExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1932,7 +1932,7 @@ public struct StringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var openingQuote: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = StringLiteralExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1941,7 +1941,7 @@ public struct StringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenOpeningQuoteAndSegments: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = StringLiteralExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1950,7 +1950,7 @@ public struct StringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var segments: StringLiteralSegmentListSyntax { get { - return StringLiteralSegmentListSyntax(data.child(at: 5, parent: Syntax(self))!) + return StringLiteralSegmentListSyntax(data.child(at: 5)!) } set(value) { self = StringLiteralExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1985,7 +1985,7 @@ public struct StringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenSegmentsAndClosingQuote: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = StringLiteralExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1994,7 +1994,7 @@ public struct StringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var closingQuote: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = StringLiteralExprSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -2003,7 +2003,7 @@ public struct StringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenClosingQuoteAndClosingPounds: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = StringLiteralExprSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -2012,7 +2012,7 @@ public struct StringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var closingPounds: TokenSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 9).map(TokenSyntax.init) } set(value) { self = StringLiteralExprSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -2021,7 +2021,7 @@ public struct StringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterClosingPounds: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = StringLiteralExprSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -2104,7 +2104,7 @@ public struct StringSegmentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeContent: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = StringSegmentSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2113,7 +2113,7 @@ public struct StringSegmentSyntax: SyntaxProtocol, SyntaxHashable { public var content: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = StringSegmentSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2122,7 +2122,7 @@ public struct StringSegmentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterContent: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = StringSegmentSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2311,7 +2311,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2321,7 +2321,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// Attributes that are attached to the struct declaration. public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2356,7 +2356,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2366,7 +2366,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// Modifiers that are attached to the struct declaration. public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2401,7 +2401,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndStructKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2411,7 +2411,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The `struct` keyword for this declaration. public var structKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -2420,7 +2420,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenStructKeywordAndName: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2430,7 +2430,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// Declares the name of this struct. If the name matches a reserved keyword use backticks to escape it. public var name: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -2439,7 +2439,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndGenericParameterClause: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -2449,7 +2449,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The generic parameters, if any, of the struct declaration. public var genericParameterClause: GenericParameterClauseSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(GenericParameterClauseSyntax.init) + return data.child(at: 9).map(GenericParameterClauseSyntax.init) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -2458,7 +2458,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericParameterClauseAndInheritanceClause: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -2468,7 +2468,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The struct declaration inheritance clause describing one or more conformances for this struct declaration. public var inheritanceClause: InheritanceClauseSyntax? { get { - return data.child(at: 11, parent: Syntax(self)).map(InheritanceClauseSyntax.init) + return data.child(at: 11).map(InheritanceClauseSyntax.init) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 11, with: value?.data, arena: SyntaxArena())) @@ -2477,7 +2477,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenInheritanceClauseAndGenericWhereClause: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -2487,7 +2487,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The `where` clause that applies to the generic parameters of this struct declaration. public var genericWhereClause: GenericWhereClauseSyntax? { get { - return data.child(at: 13, parent: Syntax(self)).map(GenericWhereClauseSyntax.init) + return data.child(at: 13).map(GenericWhereClauseSyntax.init) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 13, with: value?.data, arena: SyntaxArena())) @@ -2496,7 +2496,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericWhereClauseAndMemberBlock: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -2506,7 +2506,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The members of the struct declaration. Because struct extension declarations may declare additional members the contents of this member block isn't guaranteed to be a complete list of members for this type. public var memberBlock: MemberBlockSyntax { get { - return MemberBlockSyntax(data.child(at: 15, parent: Syntax(self))!) + return MemberBlockSyntax(data.child(at: 15)!) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 15, with: value.data, arena: SyntaxArena())) @@ -2515,7 +2515,7 @@ public struct StructDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterMemberBlock: UnexpectedNodesSyntax? { get { - return data.child(at: 16, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 16).map(UnexpectedNodesSyntax.init) } set(value) { self = StructDeclSyntax(data.replacingChild(at: 16, with: value?.data, arena: SyntaxArena())) @@ -2642,7 +2642,7 @@ public struct SubscriptCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeCalledExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptCallExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2651,7 +2651,7 @@ public struct SubscriptCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var calledExpression: ExprSyntax { get { - return ExprSyntax(data.child(at: 1, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 1)!) } set(value) { self = SubscriptCallExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2660,7 +2660,7 @@ public struct SubscriptCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenCalledExpressionAndLeftSquare: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptCallExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2669,7 +2669,7 @@ public struct SubscriptCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var leftSquare: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = SubscriptCallExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2678,7 +2678,7 @@ public struct SubscriptCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftSquareAndArguments: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptCallExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2687,7 +2687,7 @@ public struct SubscriptCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var arguments: LabeledExprListSyntax { get { - return LabeledExprListSyntax(data.child(at: 5, parent: Syntax(self))!) + return LabeledExprListSyntax(data.child(at: 5)!) } set(value) { self = SubscriptCallExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -2722,7 +2722,7 @@ public struct SubscriptCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenArgumentsAndRightSquare: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptCallExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2731,7 +2731,7 @@ public struct SubscriptCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var rightSquare: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = SubscriptCallExprSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -2740,7 +2740,7 @@ public struct SubscriptCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenRightSquareAndTrailingClosure: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptCallExprSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -2749,7 +2749,7 @@ public struct SubscriptCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var trailingClosure: ClosureExprSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(ClosureExprSyntax.init) + return data.child(at: 9).map(ClosureExprSyntax.init) } set(value) { self = SubscriptCallExprSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -2758,7 +2758,7 @@ public struct SubscriptCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTrailingClosureAndAdditionalTrailingClosures: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptCallExprSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -2767,7 +2767,7 @@ public struct SubscriptCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var additionalTrailingClosures: MultipleTrailingClosureElementListSyntax { get { - return MultipleTrailingClosureElementListSyntax(data.child(at: 11, parent: Syntax(self))!) + return MultipleTrailingClosureElementListSyntax(data.child(at: 11)!) } set(value) { self = SubscriptCallExprSyntax(data.replacingChild(at: 11, with: value.data, arena: SyntaxArena())) @@ -2802,7 +2802,7 @@ public struct SubscriptCallExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterAdditionalTrailingClosures: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptCallExprSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -2941,7 +2941,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2950,7 +2950,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2985,7 +2985,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2994,7 +2994,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3029,7 +3029,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndSubscriptKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3038,7 +3038,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var subscriptKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3047,7 +3047,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenSubscriptKeywordAndGenericParameterClause: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3057,7 +3057,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The parameter clause that defines the generic parameters. public var genericParameterClause: GenericParameterClauseSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(GenericParameterClauseSyntax.init) + return data.child(at: 7).map(GenericParameterClauseSyntax.init) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -3066,7 +3066,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericParameterClauseAndParameterClause: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -3075,7 +3075,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var parameterClause: FunctionParameterClauseSyntax { get { - return FunctionParameterClauseSyntax(data.child(at: 9, parent: Syntax(self))!) + return FunctionParameterClauseSyntax(data.child(at: 9)!) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 9, with: value.data, arena: SyntaxArena())) @@ -3084,7 +3084,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenParameterClauseAndReturnClause: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -3093,7 +3093,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var returnClause: ReturnClauseSyntax { get { - return ReturnClauseSyntax(data.child(at: 11, parent: Syntax(self))!) + return ReturnClauseSyntax(data.child(at: 11)!) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 11, with: value.data, arena: SyntaxArena())) @@ -3102,7 +3102,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenReturnClauseAndGenericWhereClause: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -3112,7 +3112,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// A `where` clause that places additional constraints on generic parameters like `where Element: Hashable`. public var genericWhereClause: GenericWhereClauseSyntax? { get { - return data.child(at: 13, parent: Syntax(self)).map(GenericWhereClauseSyntax.init) + return data.child(at: 13).map(GenericWhereClauseSyntax.init) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 13, with: value?.data, arena: SyntaxArena())) @@ -3121,7 +3121,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericWhereClauseAndAccessorBlock: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -3130,7 +3130,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var accessorBlock: AccessorBlockSyntax? { get { - return data.child(at: 15, parent: Syntax(self)).map(AccessorBlockSyntax.init) + return data.child(at: 15).map(AccessorBlockSyntax.init) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 15, with: value?.data, arena: SyntaxArena())) @@ -3139,7 +3139,7 @@ public struct SubscriptDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterAccessorBlock: UnexpectedNodesSyntax? { get { - return data.child(at: 16, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 16).map(UnexpectedNodesSyntax.init) } set(value) { self = SubscriptDeclSyntax(data.replacingChild(at: 16, with: value?.data, arena: SyntaxArena())) @@ -3223,7 +3223,7 @@ public struct SuperExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeSuperKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SuperExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3232,7 +3232,7 @@ public struct SuperExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var superKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = SuperExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3241,7 +3241,7 @@ public struct SuperExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterSuperKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SuperExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3322,7 +3322,7 @@ public struct SuppressedTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeWithoutTilde: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SuppressedTypeSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3331,7 +3331,7 @@ public struct SuppressedTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var withoutTilde: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = SuppressedTypeSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3340,7 +3340,7 @@ public struct SuppressedTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenWithoutTildeAndType: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SuppressedTypeSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3349,7 +3349,7 @@ public struct SuppressedTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var type: TypeSyntax { get { - return TypeSyntax(data.child(at: 3, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 3)!) } set(value) { self = SuppressedTypeSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3358,7 +3358,7 @@ public struct SuppressedTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedAfterType: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = SuppressedTypeSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3456,7 +3456,7 @@ public struct SwitchCaseItemSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforePattern: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchCaseItemSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3465,7 +3465,7 @@ public struct SwitchCaseItemSyntax: SyntaxProtocol, SyntaxHashable { public var pattern: PatternSyntax { get { - return PatternSyntax(data.child(at: 1, parent: Syntax(self))!) + return PatternSyntax(data.child(at: 1)!) } set(value) { self = SwitchCaseItemSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3474,7 +3474,7 @@ public struct SwitchCaseItemSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPatternAndWhereClause: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchCaseItemSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3483,7 +3483,7 @@ public struct SwitchCaseItemSyntax: SyntaxProtocol, SyntaxHashable { public var whereClause: WhereClauseSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(WhereClauseSyntax.init) + return data.child(at: 3).map(WhereClauseSyntax.init) } set(value) { self = SwitchCaseItemSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -3492,7 +3492,7 @@ public struct SwitchCaseItemSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenWhereClauseAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchCaseItemSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3501,7 +3501,7 @@ public struct SwitchCaseItemSyntax: SyntaxProtocol, SyntaxHashable { public var trailingComma: TokenSyntax? { get { - return data.child(at: 5, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 5).map(TokenSyntax.init) } set(value) { self = SwitchCaseItemSyntax(data.replacingChild(at: 5, with: value?.data, arena: SyntaxArena())) @@ -3510,7 +3510,7 @@ public struct SwitchCaseItemSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchCaseItemSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3610,7 +3610,7 @@ public struct SwitchCaseLabelSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeCaseKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchCaseLabelSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3619,7 +3619,7 @@ public struct SwitchCaseLabelSyntax: SyntaxProtocol, SyntaxHashable { public var caseKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = SwitchCaseLabelSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3628,7 +3628,7 @@ public struct SwitchCaseLabelSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenCaseKeywordAndCaseItems: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchCaseLabelSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3637,7 +3637,7 @@ public struct SwitchCaseLabelSyntax: SyntaxProtocol, SyntaxHashable { public var caseItems: SwitchCaseItemListSyntax { get { - return SwitchCaseItemListSyntax(data.child(at: 3, parent: Syntax(self))!) + return SwitchCaseItemListSyntax(data.child(at: 3)!) } set(value) { self = SwitchCaseLabelSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3672,7 +3672,7 @@ public struct SwitchCaseLabelSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenCaseItemsAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchCaseLabelSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3681,7 +3681,7 @@ public struct SwitchCaseLabelSyntax: SyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = SwitchCaseLabelSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3690,7 +3690,7 @@ public struct SwitchCaseLabelSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterColon: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchCaseLabelSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3833,7 +3833,7 @@ public struct SwitchCaseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttribute: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchCaseSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3843,7 +3843,7 @@ public struct SwitchCaseSyntax: SyntaxProtocol, SyntaxHashable { /// The `@unknown` attribute of a default label, if present. public var attribute: AttributeSyntax? { get { - return data.child(at: 1, parent: Syntax(self)).map(AttributeSyntax.init) + return data.child(at: 1).map(AttributeSyntax.init) } set(value) { self = SwitchCaseSyntax(data.replacingChild(at: 1, with: value?.data, arena: SyntaxArena())) @@ -3852,7 +3852,7 @@ public struct SwitchCaseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributeAndLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchCaseSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3861,7 +3861,7 @@ public struct SwitchCaseSyntax: SyntaxProtocol, SyntaxHashable { public var label: Label { get { - return Label(data.child(at: 3, parent: Syntax(self))!) + return Label(data.child(at: 3)!) } set(value) { self = SwitchCaseSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3870,7 +3870,7 @@ public struct SwitchCaseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLabelAndStatements: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchCaseSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3879,7 +3879,7 @@ public struct SwitchCaseSyntax: SyntaxProtocol, SyntaxHashable { public var statements: CodeBlockItemListSyntax { get { - return CodeBlockItemListSyntax(data.child(at: 5, parent: Syntax(self))!) + return CodeBlockItemListSyntax(data.child(at: 5)!) } set(value) { self = SwitchCaseSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3914,7 +3914,7 @@ public struct SwitchCaseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterStatements: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchCaseSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -4007,7 +4007,7 @@ public struct SwitchDefaultLabelSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeDefaultKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchDefaultLabelSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4016,7 +4016,7 @@ public struct SwitchDefaultLabelSyntax: SyntaxProtocol, SyntaxHashable { public var defaultKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = SwitchDefaultLabelSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4025,7 +4025,7 @@ public struct SwitchDefaultLabelSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenDefaultKeywordAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchDefaultLabelSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4034,7 +4034,7 @@ public struct SwitchDefaultLabelSyntax: SyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = SwitchDefaultLabelSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -4043,7 +4043,7 @@ public struct SwitchDefaultLabelSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterColon: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchDefaultLabelSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4151,7 +4151,7 @@ public struct SwitchExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeSwitchKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4160,7 +4160,7 @@ public struct SwitchExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var switchKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = SwitchExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4169,7 +4169,7 @@ public struct SwitchExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenSwitchKeywordAndSubject: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4178,7 +4178,7 @@ public struct SwitchExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var subject: ExprSyntax { get { - return ExprSyntax(data.child(at: 3, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 3)!) } set(value) { self = SwitchExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -4187,7 +4187,7 @@ public struct SwitchExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenSubjectAndLeftBrace: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4196,7 +4196,7 @@ public struct SwitchExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var leftBrace: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = SwitchExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -4205,7 +4205,7 @@ public struct SwitchExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftBraceAndCases: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -4214,7 +4214,7 @@ public struct SwitchExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var cases: SwitchCaseListSyntax { get { - return SwitchCaseListSyntax(data.child(at: 7, parent: Syntax(self))!) + return SwitchCaseListSyntax(data.child(at: 7)!) } set(value) { self = SwitchExprSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -4249,7 +4249,7 @@ public struct SwitchExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenCasesAndRightBrace: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchExprSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -4258,7 +4258,7 @@ public struct SwitchExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var rightBrace: TokenSyntax { get { - return TokenSyntax(data.child(at: 9, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 9)!) } set(value) { self = SwitchExprSyntax(data.replacingChild(at: 9, with: value.data, arena: SyntaxArena())) @@ -4267,7 +4267,7 @@ public struct SwitchExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightBrace: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = SwitchExprSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) diff --git a/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesTUVWXYZ.swift b/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesTUVWXYZ.swift index cf66a130e67..5d49af229c5 100644 --- a/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesTUVWXYZ.swift +++ b/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesTUVWXYZ.swift @@ -102,7 +102,7 @@ public struct TernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeCondition: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = TernaryExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -111,7 +111,7 @@ public struct TernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var condition: ExprSyntax { get { - return ExprSyntax(data.child(at: 1, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 1)!) } set(value) { self = TernaryExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -120,7 +120,7 @@ public struct TernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenConditionAndQuestionMark: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = TernaryExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -129,7 +129,7 @@ public struct TernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var questionMark: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = TernaryExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -138,7 +138,7 @@ public struct TernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenQuestionMarkAndThenExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = TernaryExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -147,7 +147,7 @@ public struct TernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var thenExpression: ExprSyntax { get { - return ExprSyntax(data.child(at: 5, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 5)!) } set(value) { self = TernaryExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -156,7 +156,7 @@ public struct TernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenThenExpressionAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = TernaryExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -165,7 +165,7 @@ public struct TernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = TernaryExprSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -174,7 +174,7 @@ public struct TernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenColonAndElseExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = TernaryExprSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -183,7 +183,7 @@ public struct TernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var elseExpression: ExprSyntax { get { - return ExprSyntax(data.child(at: 9, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 9)!) } set(value) { self = TernaryExprSyntax(data.replacingChild(at: 9, with: value.data, arena: SyntaxArena())) @@ -192,7 +192,7 @@ public struct TernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterElseExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = TernaryExprSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -285,7 +285,7 @@ public struct ThrowStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeThrowKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ThrowStmtSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -294,7 +294,7 @@ public struct ThrowStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var throwKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = ThrowStmtSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -303,7 +303,7 @@ public struct ThrowStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenThrowKeywordAndExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ThrowStmtSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -312,7 +312,7 @@ public struct ThrowStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var expression: ExprSyntax { get { - return ExprSyntax(data.child(at: 3, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 3)!) } set(value) { self = ThrowStmtSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -321,7 +321,7 @@ public struct ThrowStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedAfterExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = ThrowStmtSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -415,7 +415,7 @@ public struct TryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeTryKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = TryExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -424,7 +424,7 @@ public struct TryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var tryKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = TryExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -433,7 +433,7 @@ public struct TryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTryKeywordAndQuestionOrExclamationMark: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = TryExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -442,7 +442,7 @@ public struct TryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var questionOrExclamationMark: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = TryExprSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -451,7 +451,7 @@ public struct TryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenQuestionOrExclamationMarkAndExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = TryExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -460,7 +460,7 @@ public struct TryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var expression: ExprSyntax { get { - return ExprSyntax(data.child(at: 5, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 5)!) } set(value) { self = TryExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -469,7 +469,7 @@ public struct TryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = TryExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -565,7 +565,7 @@ public struct TupleExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLeftParen: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -574,7 +574,7 @@ public struct TupleExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var leftParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = TupleExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -583,7 +583,7 @@ public struct TupleExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftParenAndElements: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -592,7 +592,7 @@ public struct TupleExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var elements: LabeledExprListSyntax { get { - return LabeledExprListSyntax(data.child(at: 3, parent: Syntax(self))!) + return LabeledExprListSyntax(data.child(at: 3)!) } set(value) { self = TupleExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -627,7 +627,7 @@ public struct TupleExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenElementsAndRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -636,7 +636,7 @@ public struct TupleExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var rightParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = TupleExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -645,7 +645,7 @@ public struct TupleExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -752,7 +752,7 @@ public struct TuplePatternElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = TuplePatternElementSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -761,7 +761,7 @@ public struct TuplePatternElementSyntax: SyntaxProtocol, SyntaxHashable { public var label: TokenSyntax? { get { - return data.child(at: 1, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 1).map(TokenSyntax.init) } set(value) { self = TuplePatternElementSyntax(data.replacingChild(at: 1, with: value?.data, arena: SyntaxArena())) @@ -770,7 +770,7 @@ public struct TuplePatternElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLabelAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = TuplePatternElementSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -779,7 +779,7 @@ public struct TuplePatternElementSyntax: SyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = TuplePatternElementSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -788,7 +788,7 @@ public struct TuplePatternElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenColonAndPattern: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = TuplePatternElementSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -797,7 +797,7 @@ public struct TuplePatternElementSyntax: SyntaxProtocol, SyntaxHashable { public var pattern: PatternSyntax { get { - return PatternSyntax(data.child(at: 5, parent: Syntax(self))!) + return PatternSyntax(data.child(at: 5)!) } set(value) { self = TuplePatternElementSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -806,7 +806,7 @@ public struct TuplePatternElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPatternAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = TuplePatternElementSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -815,7 +815,7 @@ public struct TuplePatternElementSyntax: SyntaxProtocol, SyntaxHashable { public var trailingComma: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = TuplePatternElementSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -824,7 +824,7 @@ public struct TuplePatternElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = TuplePatternElementSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -922,7 +922,7 @@ public struct TuplePatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLeftParen: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = TuplePatternSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -931,7 +931,7 @@ public struct TuplePatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var leftParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = TuplePatternSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -940,7 +940,7 @@ public struct TuplePatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftParenAndElements: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = TuplePatternSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -949,7 +949,7 @@ public struct TuplePatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var elements: TuplePatternElementListSyntax { get { - return TuplePatternElementListSyntax(data.child(at: 3, parent: Syntax(self))!) + return TuplePatternElementListSyntax(data.child(at: 3)!) } set(value) { self = TuplePatternSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -984,7 +984,7 @@ public struct TuplePatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenElementsAndRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = TuplePatternSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -993,7 +993,7 @@ public struct TuplePatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var rightParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = TuplePatternSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1002,7 +1002,7 @@ public struct TuplePatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = TuplePatternSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1130,7 +1130,7 @@ public struct TupleTypeElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeInoutKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleTypeElementSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1139,7 +1139,7 @@ public struct TupleTypeElementSyntax: SyntaxProtocol, SyntaxHashable { public var inoutKeyword: TokenSyntax? { get { - return data.child(at: 1, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 1).map(TokenSyntax.init) } set(value) { self = TupleTypeElementSyntax(data.replacingChild(at: 1, with: value?.data, arena: SyntaxArena())) @@ -1148,7 +1148,7 @@ public struct TupleTypeElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenInoutKeywordAndFirstName: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleTypeElementSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1157,7 +1157,7 @@ public struct TupleTypeElementSyntax: SyntaxProtocol, SyntaxHashable { public var firstName: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = TupleTypeElementSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -1166,7 +1166,7 @@ public struct TupleTypeElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenFirstNameAndSecondName: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleTypeElementSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1175,7 +1175,7 @@ public struct TupleTypeElementSyntax: SyntaxProtocol, SyntaxHashable { public var secondName: TokenSyntax? { get { - return data.child(at: 5, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 5).map(TokenSyntax.init) } set(value) { self = TupleTypeElementSyntax(data.replacingChild(at: 5, with: value?.data, arena: SyntaxArena())) @@ -1184,7 +1184,7 @@ public struct TupleTypeElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenSecondNameAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleTypeElementSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1193,7 +1193,7 @@ public struct TupleTypeElementSyntax: SyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax? { get { - return data.child(at: 7, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 7).map(TokenSyntax.init) } set(value) { self = TupleTypeElementSyntax(data.replacingChild(at: 7, with: value?.data, arena: SyntaxArena())) @@ -1202,7 +1202,7 @@ public struct TupleTypeElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenColonAndType: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleTypeElementSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -1211,7 +1211,7 @@ public struct TupleTypeElementSyntax: SyntaxProtocol, SyntaxHashable { public var type: TypeSyntax { get { - return TypeSyntax(data.child(at: 9, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 9)!) } set(value) { self = TupleTypeElementSyntax(data.replacingChild(at: 9, with: value.data, arena: SyntaxArena())) @@ -1220,7 +1220,7 @@ public struct TupleTypeElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTypeAndEllipsis: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleTypeElementSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -1229,7 +1229,7 @@ public struct TupleTypeElementSyntax: SyntaxProtocol, SyntaxHashable { public var ellipsis: TokenSyntax? { get { - return data.child(at: 11, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 11).map(TokenSyntax.init) } set(value) { self = TupleTypeElementSyntax(data.replacingChild(at: 11, with: value?.data, arena: SyntaxArena())) @@ -1238,7 +1238,7 @@ public struct TupleTypeElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenEllipsisAndTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleTypeElementSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -1247,7 +1247,7 @@ public struct TupleTypeElementSyntax: SyntaxProtocol, SyntaxHashable { public var trailingComma: TokenSyntax? { get { - return data.child(at: 13, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 13).map(TokenSyntax.init) } set(value) { self = TupleTypeElementSyntax(data.replacingChild(at: 13, with: value?.data, arena: SyntaxArena())) @@ -1256,7 +1256,7 @@ public struct TupleTypeElementSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterTrailingComma: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleTypeElementSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -1360,7 +1360,7 @@ public struct TupleTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLeftParen: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleTypeSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1369,7 +1369,7 @@ public struct TupleTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var leftParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = TupleTypeSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1378,7 +1378,7 @@ public struct TupleTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftParenAndElements: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleTypeSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1387,7 +1387,7 @@ public struct TupleTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var elements: TupleTypeElementListSyntax { get { - return TupleTypeElementListSyntax(data.child(at: 3, parent: Syntax(self))!) + return TupleTypeElementListSyntax(data.child(at: 3)!) } set(value) { self = TupleTypeSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1422,7 +1422,7 @@ public struct TupleTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenElementsAndRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleTypeSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1431,7 +1431,7 @@ public struct TupleTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var rightParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = TupleTypeSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1440,7 +1440,7 @@ public struct TupleTypeSyntax: TypeSyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = TupleTypeSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1566,7 +1566,7 @@ public struct TypeAliasDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeAliasDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1575,7 +1575,7 @@ public struct TypeAliasDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = TypeAliasDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1610,7 +1610,7 @@ public struct TypeAliasDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeAliasDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1619,7 +1619,7 @@ public struct TypeAliasDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = TypeAliasDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1654,7 +1654,7 @@ public struct TypeAliasDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndTypealiasKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeAliasDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1663,7 +1663,7 @@ public struct TypeAliasDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var typealiasKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = TypeAliasDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -1672,7 +1672,7 @@ public struct TypeAliasDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenTypealiasKeywordAndName: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeAliasDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -1681,7 +1681,7 @@ public struct TypeAliasDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var name: TokenSyntax { get { - return TokenSyntax(data.child(at: 7, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 7)!) } set(value) { self = TypeAliasDeclSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -1690,7 +1690,7 @@ public struct TypeAliasDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenNameAndGenericParameterClause: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeAliasDeclSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -1700,7 +1700,7 @@ public struct TypeAliasDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The parameter clause that defines the generic parameters. public var genericParameterClause: GenericParameterClauseSyntax? { get { - return data.child(at: 9, parent: Syntax(self)).map(GenericParameterClauseSyntax.init) + return data.child(at: 9).map(GenericParameterClauseSyntax.init) } set(value) { self = TypeAliasDeclSyntax(data.replacingChild(at: 9, with: value?.data, arena: SyntaxArena())) @@ -1709,7 +1709,7 @@ public struct TypeAliasDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenGenericParameterClauseAndInitializer: UnexpectedNodesSyntax? { get { - return data.child(at: 10, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 10).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeAliasDeclSyntax(data.replacingChild(at: 10, with: value?.data, arena: SyntaxArena())) @@ -1718,7 +1718,7 @@ public struct TypeAliasDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var initializer: TypeInitializerClauseSyntax { get { - return TypeInitializerClauseSyntax(data.child(at: 11, parent: Syntax(self))!) + return TypeInitializerClauseSyntax(data.child(at: 11)!) } set(value) { self = TypeAliasDeclSyntax(data.replacingChild(at: 11, with: value.data, arena: SyntaxArena())) @@ -1727,7 +1727,7 @@ public struct TypeAliasDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenInitializerAndGenericWhereClause: UnexpectedNodesSyntax? { get { - return data.child(at: 12, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 12).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeAliasDeclSyntax(data.replacingChild(at: 12, with: value?.data, arena: SyntaxArena())) @@ -1737,7 +1737,7 @@ public struct TypeAliasDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// A `where` clause that places additional constraints on generic parameters like `where Element: Hashable`. public var genericWhereClause: GenericWhereClauseSyntax? { get { - return data.child(at: 13, parent: Syntax(self)).map(GenericWhereClauseSyntax.init) + return data.child(at: 13).map(GenericWhereClauseSyntax.init) } set(value) { self = TypeAliasDeclSyntax(data.replacingChild(at: 13, with: value?.data, arena: SyntaxArena())) @@ -1746,7 +1746,7 @@ public struct TypeAliasDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterGenericWhereClause: UnexpectedNodesSyntax? { get { - return data.child(at: 14, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 14).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeAliasDeclSyntax(data.replacingChild(at: 14, with: value?.data, arena: SyntaxArena())) @@ -1851,7 +1851,7 @@ public struct TypeAnnotationSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeColon: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeAnnotationSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1860,7 +1860,7 @@ public struct TypeAnnotationSyntax: SyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = TypeAnnotationSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -1869,7 +1869,7 @@ public struct TypeAnnotationSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenColonAndType: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeAnnotationSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -1878,7 +1878,7 @@ public struct TypeAnnotationSyntax: SyntaxProtocol, SyntaxHashable { public var type: TypeSyntax { get { - return TypeSyntax(data.child(at: 3, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 3)!) } set(value) { self = TypeAnnotationSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -1887,7 +1887,7 @@ public struct TypeAnnotationSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterType: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeAnnotationSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -1980,7 +1980,7 @@ public struct TypeEffectSpecifiersSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAsyncSpecifier: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeEffectSpecifiersSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -1989,7 +1989,7 @@ public struct TypeEffectSpecifiersSyntax: SyntaxProtocol, SyntaxHashable { public var asyncSpecifier: TokenSyntax? { get { - return data.child(at: 1, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 1).map(TokenSyntax.init) } set(value) { self = TypeEffectSpecifiersSyntax(data.replacingChild(at: 1, with: value?.data, arena: SyntaxArena())) @@ -1998,7 +1998,7 @@ public struct TypeEffectSpecifiersSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAsyncSpecifierAndThrowsSpecifier: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeEffectSpecifiersSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2007,7 +2007,7 @@ public struct TypeEffectSpecifiersSyntax: SyntaxProtocol, SyntaxHashable { public var throwsSpecifier: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = TypeEffectSpecifiersSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -2016,7 +2016,7 @@ public struct TypeEffectSpecifiersSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterThrowsSpecifier: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeEffectSpecifiersSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2088,7 +2088,7 @@ public struct TypeExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeType: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2097,7 +2097,7 @@ public struct TypeExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var type: TypeSyntax { get { - return TypeSyntax(data.child(at: 1, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 1)!) } set(value) { self = TypeExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2106,7 +2106,7 @@ public struct TypeExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterType: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2192,7 +2192,7 @@ public struct TypeInitializerClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeEqual: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeInitializerClauseSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2201,7 +2201,7 @@ public struct TypeInitializerClauseSyntax: SyntaxProtocol, SyntaxHashable { public var equal: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = TypeInitializerClauseSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2210,7 +2210,7 @@ public struct TypeInitializerClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenEqualAndValue: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeInitializerClauseSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2219,7 +2219,7 @@ public struct TypeInitializerClauseSyntax: SyntaxProtocol, SyntaxHashable { public var value: TypeSyntax { get { - return TypeSyntax(data.child(at: 3, parent: Syntax(self))!) + return TypeSyntax(data.child(at: 3)!) } set(value) { self = TypeInitializerClauseSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2228,7 +2228,7 @@ public struct TypeInitializerClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterValue: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = TypeInitializerClauseSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2328,7 +2328,7 @@ public struct UnavailableFromAsyncAttributeArgumentsSyntax: SyntaxProtocol, Synt public var unexpectedBeforeMessageLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = UnavailableFromAsyncAttributeArgumentsSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2337,7 +2337,7 @@ public struct UnavailableFromAsyncAttributeArgumentsSyntax: SyntaxProtocol, Synt public var messageLabel: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = UnavailableFromAsyncAttributeArgumentsSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2346,7 +2346,7 @@ public struct UnavailableFromAsyncAttributeArgumentsSyntax: SyntaxProtocol, Synt public var unexpectedBetweenMessageLabelAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = UnavailableFromAsyncAttributeArgumentsSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2355,7 +2355,7 @@ public struct UnavailableFromAsyncAttributeArgumentsSyntax: SyntaxProtocol, Synt public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = UnavailableFromAsyncAttributeArgumentsSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2364,7 +2364,7 @@ public struct UnavailableFromAsyncAttributeArgumentsSyntax: SyntaxProtocol, Synt public var unexpectedBetweenColonAndMessage: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = UnavailableFromAsyncAttributeArgumentsSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2373,7 +2373,7 @@ public struct UnavailableFromAsyncAttributeArgumentsSyntax: SyntaxProtocol, Synt public var message: StringLiteralExprSyntax { get { - return StringLiteralExprSyntax(data.child(at: 5, parent: Syntax(self))!) + return StringLiteralExprSyntax(data.child(at: 5)!) } set(value) { self = UnavailableFromAsyncAttributeArgumentsSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -2382,7 +2382,7 @@ public struct UnavailableFromAsyncAttributeArgumentsSyntax: SyntaxProtocol, Synt public var unexpectedAfterMessage: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = UnavailableFromAsyncAttributeArgumentsSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2484,7 +2484,7 @@ public struct UnderscorePrivateAttributeArgumentsSyntax: SyntaxProtocol, SyntaxH public var unexpectedBeforeSourceFileLabel: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = UnderscorePrivateAttributeArgumentsSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2493,7 +2493,7 @@ public struct UnderscorePrivateAttributeArgumentsSyntax: SyntaxProtocol, SyntaxH public var sourceFileLabel: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = UnderscorePrivateAttributeArgumentsSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2502,7 +2502,7 @@ public struct UnderscorePrivateAttributeArgumentsSyntax: SyntaxProtocol, SyntaxH public var unexpectedBetweenSourceFileLabelAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = UnderscorePrivateAttributeArgumentsSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2511,7 +2511,7 @@ public struct UnderscorePrivateAttributeArgumentsSyntax: SyntaxProtocol, SyntaxH public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = UnderscorePrivateAttributeArgumentsSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2520,7 +2520,7 @@ public struct UnderscorePrivateAttributeArgumentsSyntax: SyntaxProtocol, SyntaxH public var unexpectedBetweenColonAndFilename: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = UnderscorePrivateAttributeArgumentsSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2529,7 +2529,7 @@ public struct UnderscorePrivateAttributeArgumentsSyntax: SyntaxProtocol, SyntaxH public var filename: StringLiteralExprSyntax { get { - return StringLiteralExprSyntax(data.child(at: 5, parent: Syntax(self))!) + return StringLiteralExprSyntax(data.child(at: 5)!) } set(value) { self = UnderscorePrivateAttributeArgumentsSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -2538,7 +2538,7 @@ public struct UnderscorePrivateAttributeArgumentsSyntax: SyntaxProtocol, SyntaxH public var unexpectedAfterFilename: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = UnderscorePrivateAttributeArgumentsSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2627,7 +2627,7 @@ public struct UnresolvedAsExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAsKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = UnresolvedAsExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2636,7 +2636,7 @@ public struct UnresolvedAsExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var asKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = UnresolvedAsExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2645,7 +2645,7 @@ public struct UnresolvedAsExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAsKeywordAndQuestionOrExclamationMark: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = UnresolvedAsExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2654,7 +2654,7 @@ public struct UnresolvedAsExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var questionOrExclamationMark: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = UnresolvedAsExprSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -2663,7 +2663,7 @@ public struct UnresolvedAsExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterQuestionOrExclamationMark: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = UnresolvedAsExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2735,7 +2735,7 @@ public struct UnresolvedIsExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeIsKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = UnresolvedIsExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2744,7 +2744,7 @@ public struct UnresolvedIsExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var isKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = UnresolvedIsExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2753,7 +2753,7 @@ public struct UnresolvedIsExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterIsKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = UnresolvedIsExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2841,7 +2841,7 @@ public struct UnresolvedTernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeQuestionMark: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = UnresolvedTernaryExprSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2850,7 +2850,7 @@ public struct UnresolvedTernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var questionMark: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = UnresolvedTernaryExprSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -2859,7 +2859,7 @@ public struct UnresolvedTernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenQuestionMarkAndThenExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = UnresolvedTernaryExprSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -2868,7 +2868,7 @@ public struct UnresolvedTernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var thenExpression: ExprSyntax { get { - return ExprSyntax(data.child(at: 3, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 3)!) } set(value) { self = UnresolvedTernaryExprSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -2877,7 +2877,7 @@ public struct UnresolvedTernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenThenExpressionAndColon: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = UnresolvedTernaryExprSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -2886,7 +2886,7 @@ public struct UnresolvedTernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var colon: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = UnresolvedTernaryExprSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -2895,7 +2895,7 @@ public struct UnresolvedTernaryExprSyntax: ExprSyntaxProtocol, SyntaxHashable { public var unexpectedAfterColon: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = UnresolvedTernaryExprSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -2984,7 +2984,7 @@ public struct ValueBindingPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeBindingSpecifier: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = ValueBindingPatternSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -2993,7 +2993,7 @@ public struct ValueBindingPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var bindingSpecifier: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = ValueBindingPatternSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3002,7 +3002,7 @@ public struct ValueBindingPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenBindingSpecifierAndPattern: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = ValueBindingPatternSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3011,7 +3011,7 @@ public struct ValueBindingPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var pattern: PatternSyntax { get { - return PatternSyntax(data.child(at: 3, parent: Syntax(self))!) + return PatternSyntax(data.child(at: 3)!) } set(value) { self = ValueBindingPatternSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3020,7 +3020,7 @@ public struct ValueBindingPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedAfterPattern: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = ValueBindingPatternSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3128,7 +3128,7 @@ public struct VariableDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeAttributes: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = VariableDeclSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3137,7 +3137,7 @@ public struct VariableDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var attributes: AttributeListSyntax { get { - return AttributeListSyntax(data.child(at: 1, parent: Syntax(self))!) + return AttributeListSyntax(data.child(at: 1)!) } set(value) { self = VariableDeclSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3172,7 +3172,7 @@ public struct VariableDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenAttributesAndModifiers: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = VariableDeclSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3181,7 +3181,7 @@ public struct VariableDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var modifiers: DeclModifierListSyntax { get { - return DeclModifierListSyntax(data.child(at: 3, parent: Syntax(self))!) + return DeclModifierListSyntax(data.child(at: 3)!) } set(value) { self = VariableDeclSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3216,7 +3216,7 @@ public struct VariableDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenModifiersAndBindingSpecifier: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = VariableDeclSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3226,7 +3226,7 @@ public struct VariableDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// The specifier that defines the type of the variables declared (`let` or `var`). public var bindingSpecifier: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = VariableDeclSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3235,7 +3235,7 @@ public struct VariableDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenBindingSpecifierAndBindings: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = VariableDeclSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3255,7 +3255,7 @@ public struct VariableDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { /// ``` public var bindings: PatternBindingListSyntax { get { - return PatternBindingListSyntax(data.child(at: 7, parent: Syntax(self))!) + return PatternBindingListSyntax(data.child(at: 7)!) } set(value) { self = VariableDeclSyntax(data.replacingChild(at: 7, with: value.data, arena: SyntaxArena())) @@ -3290,7 +3290,7 @@ public struct VariableDeclSyntax: DeclSyntaxProtocol, SyntaxHashable { public var unexpectedAfterBindings: UnexpectedNodesSyntax? { get { - return data.child(at: 8, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 8).map(UnexpectedNodesSyntax.init) } set(value) { self = VariableDeclSyntax(data.replacingChild(at: 8, with: value?.data, arena: SyntaxArena())) @@ -3389,7 +3389,7 @@ public struct VersionComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforePeriod: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = VersionComponentSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3399,7 +3399,7 @@ public struct VersionComponentSyntax: SyntaxProtocol, SyntaxHashable { /// The period of this version component public var period: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = VersionComponentSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3408,7 +3408,7 @@ public struct VersionComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenPeriodAndNumber: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = VersionComponentSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3418,7 +3418,7 @@ public struct VersionComponentSyntax: SyntaxProtocol, SyntaxHashable { /// The version number of this component public var number: TokenSyntax { get { - return TokenSyntax(data.child(at: 3, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 3)!) } set(value) { self = VersionComponentSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3427,7 +3427,7 @@ public struct VersionComponentSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterNumber: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = VersionComponentSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3524,7 +3524,7 @@ public struct VersionTupleSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeMajor: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = VersionTupleSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3534,7 +3534,7 @@ public struct VersionTupleSyntax: SyntaxProtocol, SyntaxHashable { /// The major version. public var major: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = VersionTupleSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3543,7 +3543,7 @@ public struct VersionTupleSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenMajorAndComponents: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = VersionTupleSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3553,7 +3553,7 @@ public struct VersionTupleSyntax: SyntaxProtocol, SyntaxHashable { /// Any version components that are not the major version . For example, for `1.2.0`, this will contain `.2.0` public var components: VersionComponentListSyntax { get { - return VersionComponentListSyntax(data.child(at: 3, parent: Syntax(self))!) + return VersionComponentListSyntax(data.child(at: 3)!) } set(value) { self = VersionTupleSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3588,7 +3588,7 @@ public struct VersionTupleSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterComponents: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = VersionTupleSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3681,7 +3681,7 @@ public struct WhereClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeWhereKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = WhereClauseSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3690,7 +3690,7 @@ public struct WhereClauseSyntax: SyntaxProtocol, SyntaxHashable { public var whereKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = WhereClauseSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3699,7 +3699,7 @@ public struct WhereClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenWhereKeywordAndCondition: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = WhereClauseSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3708,7 +3708,7 @@ public struct WhereClauseSyntax: SyntaxProtocol, SyntaxHashable { public var condition: ExprSyntax { get { - return ExprSyntax(data.child(at: 3, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 3)!) } set(value) { self = WhereClauseSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3717,7 +3717,7 @@ public struct WhereClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterCondition: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = WhereClauseSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3811,7 +3811,7 @@ public struct WhileStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeWhileKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = WhileStmtSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3820,7 +3820,7 @@ public struct WhileStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var whileKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = WhileStmtSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3829,7 +3829,7 @@ public struct WhileStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenWhileKeywordAndConditions: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = WhileStmtSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -3838,7 +3838,7 @@ public struct WhileStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var conditions: ConditionElementListSyntax { get { - return ConditionElementListSyntax(data.child(at: 3, parent: Syntax(self))!) + return ConditionElementListSyntax(data.child(at: 3)!) } set(value) { self = WhileStmtSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -3873,7 +3873,7 @@ public struct WhileStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenConditionsAndBody: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = WhileStmtSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -3882,7 +3882,7 @@ public struct WhileStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var body: CodeBlockSyntax { get { - return CodeBlockSyntax(data.child(at: 5, parent: Syntax(self))!) + return CodeBlockSyntax(data.child(at: 5)!) } set(value) { self = WhileStmtSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -3891,7 +3891,7 @@ public struct WhileStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedAfterBody: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = WhileStmtSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena())) @@ -3980,7 +3980,7 @@ public struct WildcardPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeWildcard: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = WildcardPatternSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -3989,7 +3989,7 @@ public struct WildcardPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var wildcard: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = WildcardPatternSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -3998,7 +3998,7 @@ public struct WildcardPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenWildcardAndTypeAnnotation: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = WildcardPatternSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4007,7 +4007,7 @@ public struct WildcardPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var typeAnnotation: TypeAnnotationSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TypeAnnotationSyntax.init) + return data.child(at: 3).map(TypeAnnotationSyntax.init) } set(value) { self = WildcardPatternSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -4016,7 +4016,7 @@ public struct WildcardPatternSyntax: PatternSyntaxProtocol, SyntaxHashable { public var unexpectedAfterTypeAnnotation: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = WildcardPatternSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4145,7 +4145,7 @@ public struct YieldStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBeforeYieldKeyword: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = YieldStmtSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4154,7 +4154,7 @@ public struct YieldStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var yieldKeyword: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = YieldStmtSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4163,7 +4163,7 @@ public struct YieldStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedBetweenYieldKeywordAndYieldedExpressions: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = YieldStmtSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4172,7 +4172,7 @@ public struct YieldStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var yieldedExpressions: YieldedExpressions { get { - return YieldedExpressions(data.child(at: 3, parent: Syntax(self))!) + return YieldedExpressions(data.child(at: 3)!) } set(value) { self = YieldStmtSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -4181,7 +4181,7 @@ public struct YieldStmtSyntax: StmtSyntaxProtocol, SyntaxHashable { public var unexpectedAfterYieldedExpressions: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = YieldStmtSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4272,7 +4272,7 @@ public struct YieldedExpressionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeExpression: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = YieldedExpressionSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4281,7 +4281,7 @@ public struct YieldedExpressionSyntax: SyntaxProtocol, SyntaxHashable { public var expression: ExprSyntax { get { - return ExprSyntax(data.child(at: 1, parent: Syntax(self))!) + return ExprSyntax(data.child(at: 1)!) } set(value) { self = YieldedExpressionSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4290,7 +4290,7 @@ public struct YieldedExpressionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenExpressionAndComma: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = YieldedExpressionSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4299,7 +4299,7 @@ public struct YieldedExpressionSyntax: SyntaxProtocol, SyntaxHashable { public var comma: TokenSyntax? { get { - return data.child(at: 3, parent: Syntax(self)).map(TokenSyntax.init) + return data.child(at: 3).map(TokenSyntax.init) } set(value) { self = YieldedExpressionSyntax(data.replacingChild(at: 3, with: value?.data, arena: SyntaxArena())) @@ -4308,7 +4308,7 @@ public struct YieldedExpressionSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterComma: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = YieldedExpressionSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4406,7 +4406,7 @@ public struct YieldedExpressionsClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBeforeLeftParen: UnexpectedNodesSyntax? { get { - return data.child(at: 0, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 0).map(UnexpectedNodesSyntax.init) } set(value) { self = YieldedExpressionsClauseSyntax(data.replacingChild(at: 0, with: value?.data, arena: SyntaxArena())) @@ -4415,7 +4415,7 @@ public struct YieldedExpressionsClauseSyntax: SyntaxProtocol, SyntaxHashable { public var leftParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 1, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 1)!) } set(value) { self = YieldedExpressionsClauseSyntax(data.replacingChild(at: 1, with: value.data, arena: SyntaxArena())) @@ -4424,7 +4424,7 @@ public struct YieldedExpressionsClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenLeftParenAndElements: UnexpectedNodesSyntax? { get { - return data.child(at: 2, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 2).map(UnexpectedNodesSyntax.init) } set(value) { self = YieldedExpressionsClauseSyntax(data.replacingChild(at: 2, with: value?.data, arena: SyntaxArena())) @@ -4433,7 +4433,7 @@ public struct YieldedExpressionsClauseSyntax: SyntaxProtocol, SyntaxHashable { public var elements: YieldedExpressionListSyntax { get { - return YieldedExpressionListSyntax(data.child(at: 3, parent: Syntax(self))!) + return YieldedExpressionListSyntax(data.child(at: 3)!) } set(value) { self = YieldedExpressionsClauseSyntax(data.replacingChild(at: 3, with: value.data, arena: SyntaxArena())) @@ -4468,7 +4468,7 @@ public struct YieldedExpressionsClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedBetweenElementsAndRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 4, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 4).map(UnexpectedNodesSyntax.init) } set(value) { self = YieldedExpressionsClauseSyntax(data.replacingChild(at: 4, with: value?.data, arena: SyntaxArena())) @@ -4477,7 +4477,7 @@ public struct YieldedExpressionsClauseSyntax: SyntaxProtocol, SyntaxHashable { public var rightParen: TokenSyntax { get { - return TokenSyntax(data.child(at: 5, parent: Syntax(self))!) + return TokenSyntax(data.child(at: 5)!) } set(value) { self = YieldedExpressionsClauseSyntax(data.replacingChild(at: 5, with: value.data, arena: SyntaxArena())) @@ -4486,7 +4486,7 @@ public struct YieldedExpressionsClauseSyntax: SyntaxProtocol, SyntaxHashable { public var unexpectedAfterRightParen: UnexpectedNodesSyntax? { get { - return data.child(at: 6, parent: Syntax(self)).map(UnexpectedNodesSyntax.init) + return data.child(at: 6).map(UnexpectedNodesSyntax.init) } set(value) { self = YieldedExpressionsClauseSyntax(data.replacingChild(at: 6, with: value?.data, arena: SyntaxArena()))