full_moon 0.3.0

A lossless Lua 5.1 parser
Documentation
{
  "stmts": [
    {
      "FunctionDeclaration": {
        "name": {
          "names": [
            {
              "start_position": {
                "bytes": 9,
                "character": 10,
                "line": 1
              },
              "end_position": {
                "bytes": 10,
                "character": 11,
                "line": 1
              },
              "token_type": {
                "type": "Identifier",
                "identifier": "x"
              }
            },
            {
              "start_position": {
                "bytes": 11,
                "character": 12,
                "line": 1
              },
              "end_position": {
                "bytes": 12,
                "character": 13,
                "line": 1
              },
              "token_type": {
                "type": "Identifier",
                "identifier": "y"
              }
            }
          ],
          "colon_name": {
            "start_position": {
              "bytes": 13,
              "character": 14,
              "line": 1
            },
            "end_position": {
              "bytes": 14,
              "character": 15,
              "line": 1
            },
            "token_type": {
              "type": "Identifier",
              "identifier": "z"
            }
          }
        },
        "body": {
          "parameters": [],
          "block": {
            "stmts": []
          }
        }
      }
    }
  ]
}