Created
August 10, 2024 16:52
-
-
Save WhiteHyun/db8b0fa1eed2d10458abec8062d2815f to your computer and use it in GitHub Desktop.
Dumped StructDeclSyntax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| StructDeclSyntax | |
| ├─attributes: AttributeListSyntax | |
| │ ╰─[0]: AttributeSyntax | |
| │ ├─atSign: atSign | |
| │ ╰─attributeName: IdentifierTypeSyntax | |
| │ ╰─name: identifier("DTO") | |
| ├─modifiers: DeclModifierListSyntax | |
| ├─structKeyword: keyword(SwiftSyntax.Keyword.struct) | |
| ├─name: identifier("TestModel") | |
| ╰─memberBlock: MemberBlockSyntax | |
| ├─leftBrace: leftBrace | |
| ├─members: MemberBlockItemListSyntax | |
| │ ├─[0]: MemberBlockItemSyntax | |
| │ │ ╰─decl: VariableDeclSyntax | |
| │ │ ├─attributes: AttributeListSyntax | |
| │ │ ├─modifiers: DeclModifierListSyntax | |
| │ │ ├─bindingSpecifier: keyword(SwiftSyntax.Keyword.let) | |
| │ │ ╰─bindings: PatternBindingListSyntax | |
| │ │ ╰─[0]: PatternBindingSyntax | |
| │ │ ├─pattern: IdentifierPatternSyntax | |
| │ │ │ ╰─identifier: identifier("name") | |
| │ │ ╰─typeAnnotation: TypeAnnotationSyntax | |
| │ │ ├─colon: colon | |
| │ │ ╰─type: IdentifierTypeSyntax | |
| │ │ ╰─name: identifier("String") | |
| │ ├─[1]: MemberBlockItemSyntax | |
| │ │ ╰─decl: VariableDeclSyntax | |
| │ │ ├─attributes: AttributeListSyntax | |
| │ │ ├─modifiers: DeclModifierListSyntax | |
| │ │ ├─bindingSpecifier: keyword(SwiftSyntax.Keyword.let) | |
| │ │ ╰─bindings: PatternBindingListSyntax | |
| │ │ ╰─[0]: PatternBindingSyntax | |
| │ │ ├─pattern: IdentifierPatternSyntax | |
| │ │ │ ╰─identifier: identifier("age") | |
| │ │ ╰─typeAnnotation: TypeAnnotationSyntax | |
| │ │ ├─colon: colon | |
| │ │ ╰─type: IdentifierTypeSyntax | |
| │ │ ╰─name: identifier("Int") | |
| │ ╰─[2]: MemberBlockItemSyntax | |
| │ ╰─decl: VariableDeclSyntax | |
| │ ├─attributes: AttributeListSyntax | |
| │ │ ╰─[0]: AttributeSyntax | |
| │ │ ├─atSign: atSign | |
| │ │ ├─attributeName: IdentifierTypeSyntax | |
| │ │ │ ╰─name: identifier("Property") | |
| │ │ ├─leftParen: leftParen | |
| │ │ ├─arguments: LabeledExprListSyntax | |
| │ │ │ ╰─[0]: LabeledExprSyntax | |
| │ │ │ ├─label: identifier("key") | |
| │ │ │ ├─colon: colon | |
| │ │ │ ╰─expression: StringLiteralExprSyntax | |
| │ │ │ ├─openingQuote: stringQuote | |
| │ │ │ ├─segments: StringLiteralSegmentListSyntax | |
| │ │ │ │ ╰─[0]: StringSegmentSyntax | |
| │ │ │ │ ╰─content: stringSegment("created_at") | |
| │ │ │ ╰─closingQuote: stringQuote | |
| │ │ ╰─rightParen: rightParen | |
| │ ├─modifiers: DeclModifierListSyntax | |
| │ ├─bindingSpecifier: keyword(SwiftSyntax.Keyword.let) | |
| │ ╰─bindings: PatternBindingListSyntax | |
| │ ╰─[0]: PatternBindingSyntax | |
| │ ├─pattern: IdentifierPatternSyntax | |
| │ │ ╰─identifier: identifier("createTime") | |
| │ ╰─typeAnnotation: TypeAnnotationSyntax | |
| │ ├─colon: colon | |
| │ ╰─type: IdentifierTypeSyntax | |
| │ ╰─name: identifier("Date") | |
| ╰─rightBrace: rightBrace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment