pine-parser 0.1.0

Parser for Pine Script.
Documentation
[
  {
    "VarDecl": {
      "name": "sma14",
      "type_annotation": null,
      "initializer": {
        "Call": {
          "callee": {
            "Variable": "sma"
          },
          "args": [
            {
              "Positional": {
                "Variable": "close"
              }
            },
            {
              "Positional": {
                "Literal": {
                  "Int": 14
                }
              }
            }
          ],
          "id": 1
        }
      },
      "var_kind": "Var"
    }
  },
  {
    "VarDecl": {
      "name": "max_val",
      "type_annotation": null,
      "initializer": {
        "Call": {
          "callee": {
            "Variable": "max"
          },
          "args": [
            {
              "Positional": {
                "Variable": "high"
              }
            },
            {
              "Positional": {
                "Variable": "low"
              }
            }
          ],
          "id": 2
        }
      },
      "var_kind": "Var"
    }
  },
  {
    "VarDecl": {
      "name": "result",
      "type_annotation": null,
      "initializer": {
        "Call": {
          "callee": {
            "Variable": "foo"
          },
          "args": [],
          "id": 3
        }
      },
      "var_kind": "Var"
    }
  }
]