pine-parser 0.2.2

Parser for Pine Script.
Documentation
[
  {
    "VarDecl": {
      "name": "can_trade",
      "type_annotation": null,
      "initializer": {
        "Binary": {
          "left": {
            "Binary": {
              "left": {
                "Binary": {
                  "left": {
                    "Variable": {
                      "name": "x"
                    }
                  },
                  "op": "Less",
                  "right": {
                    "Literal": {
                      "Int": 2
                    }
                  }
                }
              },
              "op": "And",
              "right": {
                "Variable": {
                  "name": "y"
                }
              }
            }
          },
          "op": "And",
          "right": {
            "Variable": {
              "name": "z"
            }
          }
        }
      }
    }
  },
  {
    "VarDecl": {
      "name": "next_var",
      "type_annotation": null,
      "initializer": {
        "Literal": {
          "Int": 1
        }
      }
    }
  }
]