fluent-syntax 0.9.2

Parser/Serializer tools for Fluent Syntax.
Documentation
{
    "type": "Resource",
    "body": [
        {
            "type": "Message",
            "id": {
                "type": "Identifier",
                "name": "key01"
            },
            "value": {
                "type": "Pattern",
                "elements": [
                    {
                        "type": "TextElement",
                        "value": "\tValue 01"
                    }
                ]
            },
            "attributes": [],
            "comment": {
                "type": "Comment",
                "content": "OK (tab after = is part of the value)"
            }
        },
        {
            "type": "Comment",
            "content": "Error (tab before =)"
        },
        {
            "type": "Junk",
            "annotations": [],
            "content": "key02\t= Value 02\n\n"
        },
        {
            "type": "Comment",
            "content": "Error (tab is not a valid indent)"
        },
        {
            "type": "Junk",
            "annotations": [],
            "content": "key03 =\n\tThis line isn't properly indented.\n\n"
        },
        {
            "type": "Message",
            "id": {
                "type": "Identifier",
                "name": "key04"
            },
            "value": {
                "type": "Pattern",
                "elements": [
                    {
                        "type": "TextElement",
                        "value": "This line is indented by 4 spaces,"
                    }
                ]
            },
            "attributes": [],
            "comment": {
                "type": "Comment",
                "content": "Partial Error (tab is not a valid indent)"
            }
        },
        {
            "type": "Junk",
            "annotations": [],
            "content": "\twhereas this line by 1 tab.\n"
        }
    ]
}