fluent-syntax 0.9.2

Parser/Serializer tools for Fluent Syntax.
Documentation
{
    "type": "Resource",
    "body": [
        {
            "type": "Comment",
            "content": "Standalone Comment"
        },
        {
            "type": "Message",
            "id": {
                "type": "Identifier",
                "name": "foo"
            },
            "value": {
                "type": "Pattern",
                "elements": [
                    {
                        "type": "TextElement",
                        "value": "Foo"
                    }
                ]
            },
            "attributes": [],
            "comment": {
                "type": "Comment",
                "content": "Message Comment"
            }
        },
        {
            "type": "Term",
            "id": {
                "type": "Identifier",
                "name": "term"
            },
            "value": {
                "type": "Pattern",
                "elements": [
                    {
                        "type": "TextElement",
                        "value": "Term"
                    }
                ]
            },
            "attributes": [],
            "comment": {
                "type": "Comment",
                "content": "Term Comment\nwith a blank last line.\n"
            }
        },
        {
            "type": "Comment",
            "content": "Another standalone\n\n     with indent"
        },
        {
            "type": "GroupComment",
            "content": "Group Comment"
        },
        {
            "type": "ResourceComment",
            "content": "Resource Comment"
        },
        {
            "type": "Comment",
            "content": "Errors"
        },
        {
            "type": "Junk",
            "annotations": [],
            "content": "#error\n"
        },
        {
            "type": "Junk",
            "annotations": [],
            "content": "##error\n"
        },
        {
            "type": "Junk",
            "annotations": [],
            "content": "###error\n"
        }
    ]
}