{ "type": "Resource", "body": [ { "type": "Message", "id": { "type": "Identifier", "name": "key01" }, "value": { "type": "Pattern", "elements": [ { "type": "TextElement", "value": "A multiline value\ncontinued on the next line\n\nand also down here." } ] }, "attributes": [], "comment": null }, { "type": "Message", "id": { "type": "Identifier", "name": "key02" }, "value": { "type": "Pattern", "elements": [ { "type": "TextElement", "value": "A multiline value starting\non a new line." } ] }, "attributes": [], "comment": null }, { "type": "Message", "id": { "type": "Identifier", "name": "key03" }, "value": null, "attributes": [ { "type": "Attribute", "id": { "type": "Identifier", "name": "attr" }, "value": { "type": "Pattern", "elements": [ { "type": "TextElement", "value": "A multiline attribute value\ncontinued on the next line\n\nand also down here." } ] } } ], "comment": null }, { "type": "Message", "id": { "type": "Identifier", "name": "key04" }, "value": null, "attributes": [ { "type": "Attribute", "id": { "type": "Identifier", "name": "attr" }, "value": { "type": "Pattern", "elements": [ { "type": "TextElement", "value": "A multiline attribute value\nstaring on a new line" } ] } } ], "comment": null }, { "type": "Message", "id": { "type": "Identifier", "name": "key05" }, "value": { "type": "Pattern", "elements": [ { "type": "TextElement", "value": "A multiline value with non-standard\n\n indentation." } ] }, "attributes": [], "comment": null }, { "type": "Message", "id": { "type": "Identifier", "name": "key06" }, "value": { "type": "Pattern", "elements": [ { "type": "TextElement", "value": "A multiline value with " }, { "type": "Placeable", "expression": { "value": "placeables", "type": "StringLiteral" } }, { "type": "TextElement", "value": "\n" }, { "type": "Placeable", "expression": { "value": "at", "type": "StringLiteral" } }, { "type": "TextElement", "value": " the beginning and the end\n" }, { "type": "Placeable", "expression": { "value": "of lines", "type": "StringLiteral" } }, { "type": "Placeable", "expression": { "value": ".", "type": "StringLiteral" } } ] }, "attributes": [], "comment": null }, { "type": "Message", "id": { "type": "Identifier", "name": "key07" }, "value": { "type": "Pattern", "elements": [ { "type": "Placeable", "expression": { "value": "A multiline value", "type": "StringLiteral" } }, { "type": "TextElement", "value": " starting and ending " }, { "type": "Placeable", "expression": { "value": "with a placeable", "type": "StringLiteral" } } ] }, "attributes": [], "comment": null }, { "type": "Message", "id": { "type": "Identifier", "name": "key08" }, "value": { "type": "Pattern", "elements": [ { "type": "TextElement", "value": "Leading and trailing whitespace." } ] }, "attributes": [], "comment": null }, { "type": "Message", "id": { "type": "Identifier", "name": "key09" }, "value": { "type": "Pattern", "elements": [ { "type": "TextElement", "value": "zero\n three\n two\n one\nzero" } ] }, "attributes": [], "comment": null }, { "type": "Message", "id": { "type": "Identifier", "name": "key10" }, "value": { "type": "Pattern", "elements": [ { "type": "TextElement", "value": " two\nzero\n four" } ] }, "attributes": [], "comment": null }, { "type": "Message", "id": { "type": "Identifier", "name": "key11" }, "value": { "type": "Pattern", "elements": [ { "type": "TextElement", "value": " two\nzero" } ] }, "attributes": [], "comment": null }, { "type": "Message", "id": { "type": "Identifier", "name": "key12" }, "value": { "type": "Pattern", "elements": [ { "type": "Placeable", "expression": { "value": ".", "type": "StringLiteral" } }, { "type": "TextElement", "value": "\n four" } ] }, "attributes": [], "comment": null }, { "type": "Message", "id": { "type": "Identifier", "name": "key13" }, "value": { "type": "Pattern", "elements": [ { "type": "TextElement", "value": " four\n" }, { "type": "Placeable", "expression": { "value": ".", "type": "StringLiteral" } } ] }, "attributes": [], "comment": null } ] }