[ | |
{ | |
"kind": "UnknownDecl", | |
"layout": [ | |
{ | |
"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" | |
}, | |
{ | |
"kind": "Newline", | |
"value": 2 | |
} | |
], | |
"trailingTrivia": [ | |
{ | |
"kind": "Space", | |
"value": 1 | |
} | |
], | |
"presence": "Present" | |
}, | |
{ | |
"tokenKind": { | |
"kind": "identifier", | |
"text": "A" | |
}, | |
"leadingTrivia": [ | |
], | |
"trailingTrivia": [ | |
{ | |
"kind": "Space", | |
"value": 1 | |
} | |
], | |
"presence": "Present" | |
}, | |
{ | |
"tokenKind": { | |
"kind": "l_brace" | |
}, | |
"leadingTrivia": [ | |
], | |
"trailingTrivia": [ | |
], | |
"presence": "Present" | |
}, | |
{ | |
"tokenKind": { | |
"kind": "r_brace" | |
}, | |
"leadingTrivia": [ | |
{ | |
"kind": "Newline", | |
"value": 1 | |
} | |
], | |
"trailingTrivia": [ | |
], | |
"presence": "Present" | |
} | |
], | |
"presence": "Present" | |
}, | |
{ | |
"kind": "UnknownDecl", | |
"layout": [ | |
{ | |
"tokenKind": { | |
"kind": "kw_struct" | |
}, | |
"leadingTrivia": [ | |
{ | |
"kind": "Newline", | |
"value": 2 | |
} | |
], | |
"trailingTrivia": [ | |
{ | |
"kind": "Space", | |
"value": 1 | |
} | |
], | |
"presence": "Present" | |
}, | |
{ | |
"tokenKind": { | |
"kind": "identifier", | |
"text": "B" | |
}, | |
"leadingTrivia": [ | |
], | |
"trailingTrivia": [ | |
{ | |
"kind": "Space", | |
"value": 1 | |
} | |
], | |
"presence": "Present" | |
}, | |
{ | |
"tokenKind": { | |
"kind": "l_brace" | |
}, | |
"leadingTrivia": [ | |
], | |
"trailingTrivia": [ | |
], | |
"presence": "Present" | |
}, | |
{ | |
"tokenKind": { | |
"kind": "r_brace" | |
}, | |
"leadingTrivia": [ | |
{ | |
"kind": "Newline", | |
"value": 1 | |
} | |
], | |
"trailingTrivia": [ | |
], | |
"presence": "Present" | |
} | |
], | |
"presence": "Present" | |
} | |
] |