---
source: kcl/src/parsing/parser.rs
expression: actual
---
{
  "body": [
    {
      "declaration": {
        "end": 68,
        "id": {
          "end": 1,
          "name": "x",
          "start": 0,
          "type": "Identifier"
        },
        "init": {
          "cond": {
            "end": 11,
            "raw": "true",
            "start": 7,
            "type": "Literal",
            "type": "Literal",
            "value": true
          },
          "digest": null,
          "else_ifs": [],
          "end": 68,
          "final_else": {
            "body": [
              {
                "end": 58,
                "expression": {
                  "end": 58,
                  "raw": "4",
                  "start": 57,
                  "type": "Literal",
                  "type": "Literal",
                  "value": {
                    "value": 4.0,
                    "suffix": "None"
                  }
                },
                "start": 57,
                "type": "ExpressionStatement",
                "type": "ExpressionStatement"
              }
            ],
            "end": 67,
            "start": 57
          },
          "start": 4,
          "then_val": {
            "body": [
              {
                "end": 27,
                "expression": {
                  "end": 27,
                  "raw": "3",
                  "start": 26,
                  "type": "Literal",
                  "type": "Literal",
                  "value": {
                    "value": 3.0,
                    "suffix": "None"
                  }
                },
                "start": 26,
                "type": "ExpressionStatement",
                "type": "ExpressionStatement"
              }
            ],
            "end": 36,
            "start": 26
          },
          "type": "IfExpression",
          "type": "IfExpression"
        },
        "start": 0,
        "type": "VariableDeclarator"
      },
      "end": 68,
      "kind": "const",
      "start": 0,
      "type": "VariableDeclaration",
      "type": "VariableDeclaration"
    }
  ],
  "end": 68,
  "start": 0
}
