---
source: kcl/src/parser/parser_impl.rs
expression: actual
---
{
  "start": 0,
  "end": 35,
  "body": [
    {
      "type": "VariableDeclaration",
      "type": "VariableDeclaration",
      "start": 0,
      "end": 35,
      "declarations": [
        {
          "type": "VariableDeclarator",
          "start": 6,
          "end": 35,
          "id": {
            "type": "Identifier",
            "start": 6,
            "end": 11,
            "name": "myVar",
            "digest": null
          },
          "init": {
            "type": "CallExpression",
            "type": "CallExpression",
            "start": 14,
            "end": 35,
            "callee": {
              "type": "Identifier",
              "start": 14,
              "end": 17,
              "name": "min",
              "digest": null
            },
            "arguments": [
              {
                "type": "UnaryExpression",
                "type": "UnaryExpression",
                "start": 18,
                "end": 31,
                "operator": "-",
                "argument": {
                  "type": "CallExpression",
                  "type": "CallExpression",
                  "start": 19,
                  "end": 31,
                  "callee": {
                    "type": "Identifier",
                    "start": 19,
                    "end": 25,
                    "name": "legLen",
                    "digest": null
                  },
                  "arguments": [
                    {
                      "type": "Literal",
                      "type": "Literal",
                      "start": 26,
                      "end": 27,
                      "value": 5,
                      "raw": "5",
                      "digest": null
                    },
                    {
                      "type": "Literal",
                      "type": "Literal",
                      "start": 29,
                      "end": 30,
                      "value": 4,
                      "raw": "4",
                      "digest": null
                    }
                  ],
                  "optional": false,
                  "digest": null
                },
                "digest": null
              },
              {
                "type": "Literal",
                "type": "Literal",
                "start": 33,
                "end": 34,
                "value": 5,
                "raw": "5",
                "digest": null
              }
            ],
            "optional": false,
            "digest": null
          },
          "digest": null
        }
      ],
      "kind": "const",
      "digest": null
    }
  ],
  "nonCodeMeta": {
    "nonCodeNodes": {},
    "start": [],
    "digest": null
  },
  "digest": null
}
