pine-parser 0.1.0

Parser for Pine Script.
Documentation
[
  {
    "VarDecl": {
      "name": "lengthInput",
      "type_annotation": null,
      "initializer": {
        "Call": {
          "callee": {
            "MemberAccess": {
              "object": {
                "Variable": "input"
              },
              "member": "int"
            }
          },
          "args": [
            {
              "Named": {
                "name": "defval",
                "value": {
                  "Literal": {
                    "Int": 10
                  }
                }
              }
            },
            {
              "Named": {
                "name": "title",
                "value": {
                  "Literal": {
                    "String": "Show last"
                  }
                }
              }
            },
            {
              "Named": {
                "name": "minval",
                "value": {
                  "Literal": {
                    "Int": 1
                  }
                }
              }
            }
          ],
          "id": 1
        }
      }
    }
  }
]