| { |
| "id": 17, |
| "kind": "SourceFile", |
| "layout": [ |
| { |
| "id": 16, |
| "kind": "CodeBlockItemList", |
| "layout": [ |
| { |
| "id": 8, |
| "kind": "CodeBlockItem", |
| "layout": [ |
| { |
| "id": 7, |
| "kind": "StructDecl", |
| "layout": [ |
| null, |
| null, |
| { |
| "id": 1, |
| "tokenKind": { |
| "kind": "kw_struct" |
| }, |
| "leadingTrivia": [ |
| { |
| "kind": "LineComment", |
| "value": "\/\/ RUN: %swift-syntax-test -input-source-filename %s -serialize-raw-tree > %t" |
| }, |
| { |
| "kind": "Newline", |
| "value": 1 |
| }, |
| { |
| "kind": "LineComment", |
| "value": "\/\/ RUN: diff %t %S\/Inputs\/serialize_multiple_decls.json -u" |
| }, |
| { |
| "kind": "Newline", |
| "value": 2 |
| } |
| ], |
| "trailingTrivia": [ |
| { |
| "kind": "Space", |
| "value": 1 |
| } |
| ], |
| "presence": "Present" |
| }, |
| { |
| "id": 2, |
| "tokenKind": { |
| "kind": "identifier", |
| "text": "A" |
| }, |
| "leadingTrivia": [], |
| "trailingTrivia": [ |
| { |
| "kind": "Space", |
| "value": 1 |
| } |
| ], |
| "presence": "Present" |
| }, |
| null, |
| null, |
| null, |
| { |
| "id": 6, |
| "kind": "MemberDeclBlock", |
| "layout": [ |
| { |
| "id": 3, |
| "tokenKind": { |
| "kind": "l_brace" |
| }, |
| "leadingTrivia": [], |
| "trailingTrivia": [], |
| "presence": "Present" |
| }, |
| { |
| "id": 4, |
| "kind": "MemberDeclList", |
| "layout": [], |
| "presence": "Present" |
| }, |
| { |
| "id": 5, |
| "tokenKind": { |
| "kind": "r_brace" |
| }, |
| "leadingTrivia": [ |
| { |
| "kind": "Newline", |
| "value": 1 |
| } |
| ], |
| "trailingTrivia": [], |
| "presence": "Present" |
| } |
| ], |
| "presence": "Present" |
| } |
| ], |
| "presence": "Present" |
| }, |
| null, |
| null |
| ], |
| "presence": "Present" |
| }, |
| { |
| "id": 14, |
| "kind": "CodeBlockItem", |
| "layout": [ |
| { |
| "id": 13, |
| "kind": "StructDecl", |
| "layout": [ |
| null, |
| null, |
| { |
| "id": 9, |
| "tokenKind": { |
| "kind": "kw_struct" |
| }, |
| "leadingTrivia": [ |
| { |
| "kind": "Newline", |
| "value": 2 |
| } |
| ], |
| "trailingTrivia": [ |
| { |
| "kind": "Space", |
| "value": 1 |
| } |
| ], |
| "presence": "Present" |
| }, |
| { |
| "id": 10, |
| "tokenKind": { |
| "kind": "identifier", |
| "text": "B" |
| }, |
| "leadingTrivia": [], |
| "trailingTrivia": [ |
| { |
| "kind": "Space", |
| "value": 1 |
| } |
| ], |
| "presence": "Present" |
| }, |
| null, |
| null, |
| null, |
| { |
| "id": 12, |
| "kind": "MemberDeclBlock", |
| "layout": [ |
| { |
| "id": 3, |
| "tokenKind": { |
| "kind": "l_brace" |
| }, |
| "leadingTrivia": [], |
| "trailingTrivia": [], |
| "presence": "Present" |
| }, |
| { |
| "id": 11, |
| "kind": "MemberDeclList", |
| "layout": [], |
| "presence": "Present" |
| }, |
| { |
| "id": 5, |
| "tokenKind": { |
| "kind": "r_brace" |
| }, |
| "leadingTrivia": [ |
| { |
| "kind": "Newline", |
| "value": 1 |
| } |
| ], |
| "trailingTrivia": [], |
| "presence": "Present" |
| } |
| ], |
| "presence": "Present" |
| } |
| ], |
| "presence": "Present" |
| }, |
| null, |
| null |
| ], |
| "presence": "Present" |
| } |
| ], |
| "presence": "Present" |
| }, |
| { |
| "id": 15, |
| "tokenKind": { |
| "kind": "eof", |
| "text": "" |
| }, |
| "leadingTrivia": [ |
| { |
| "kind": "Newline", |
| "value": 1 |
| } |
| ], |
| "trailingTrivia": [], |
| "presence": "Present" |
| } |
| ], |
| "presence": "Present" |
| } |