---
source: kcl-lib/src/parsing/parser.rs
expression: actual
---
{
  "body": [
    {
      "commentStart": 0,
      "declaration": {
        "commentStart": 0,
        "end": 22,
        "id": {
          "commentStart": 0,
          "end": 3,
          "moduleId": 0,
          "name": "obj",
          "start": 0,
          "type": "Identifier"
        },
        "init": {
          "commentStart": 6,
          "end": 22,
          "moduleId": 0,
          "properties": [
            {
              "commentStart": 8,
              "end": 13,
              "key": {
                "commentStart": 8,
                "end": 9,
                "moduleId": 0,
                "name": "a",
                "start": 8,
                "type": "Identifier"
              },
              "moduleId": 0,
              "start": 8,
              "type": "ObjectProperty",
              "value": {
                "commentStart": 12,
                "end": 13,
                "moduleId": 0,
                "raw": "1",
                "start": 12,
                "type": "Literal",
                "type": "Literal",
                "value": {
                  "value": 1.0,
                  "suffix": "None"
                }
              }
            },
            {
              "commentStart": 15,
              "end": 20,
              "key": {
                "commentStart": 15,
                "end": 16,
                "moduleId": 0,
                "name": "b",
                "start": 15,
                "type": "Identifier"
              },
              "moduleId": 0,
              "start": 15,
              "type": "ObjectProperty",
              "value": {
                "commentStart": 19,
                "end": 20,
                "moduleId": 0,
                "raw": "2",
                "start": 19,
                "type": "Literal",
                "type": "Literal",
                "value": {
                  "value": 2.0,
                  "suffix": "None"
                }
              }
            }
          ],
          "start": 6,
          "type": "ObjectExpression",
          "type": "ObjectExpression"
        },
        "moduleId": 0,
        "start": 0,
        "type": "VariableDeclarator"
      },
      "end": 22,
      "kind": "const",
      "moduleId": 0,
      "start": 0,
      "type": "VariableDeclaration",
      "type": "VariableDeclaration"
    },
    {
      "commentStart": 27,
      "declaration": {
        "commentStart": 27,
        "end": 53,
        "id": {
          "commentStart": 27,
          "end": 33,
          "moduleId": 0,
          "name": "height",
          "start": 27,
          "type": "Identifier"
        },
        "init": {
          "commentStart": 36,
          "elements": [
            {
              "commentStart": 37,
              "end": 49,
              "left": {
                "commentStart": 37,
                "computed": true,
                "end": 45,
                "moduleId": 0,
                "object": {
                  "abs_path": false,
                  "commentStart": 37,
                  "end": 40,
                  "moduleId": 0,
                  "name": {
                    "commentStart": 37,
                    "end": 40,
                    "moduleId": 0,
                    "name": "obj",
                    "start": 37,
                    "type": "Identifier"
                  },
                  "path": [],
                  "start": 37,
                  "type": "Name",
                  "type": "Name"
                },
                "property": {
                  "commentStart": 41,
                  "end": 44,
                  "moduleId": 0,
                  "raw": "\"a\"",
                  "start": 41,
                  "type": "Literal",
                  "type": "Literal",
                  "value": "a"
                },
                "start": 37,
                "type": "MemberExpression",
                "type": "MemberExpression"
              },
              "moduleId": 0,
              "operator": "-",
              "right": {
                "commentStart": 48,
                "end": 49,
                "moduleId": 0,
                "raw": "1",
                "start": 48,
                "type": "Literal",
                "type": "Literal",
                "value": {
                  "value": 1.0,
                  "suffix": "None"
                }
              },
              "start": 37,
              "type": "BinaryExpression",
              "type": "BinaryExpression"
            },
            {
              "commentStart": 51,
              "end": 52,
              "moduleId": 0,
              "raw": "0",
              "start": 51,
              "type": "Literal",
              "type": "Literal",
              "value": {
                "value": 0.0,
                "suffix": "None"
              }
            }
          ],
          "end": 53,
          "moduleId": 0,
          "start": 36,
          "type": "ArrayExpression",
          "type": "ArrayExpression"
        },
        "moduleId": 0,
        "start": 27,
        "type": "VariableDeclarator"
      },
      "end": 53,
      "kind": "const",
      "moduleId": 0,
      "start": 27,
      "type": "VariableDeclaration",
      "type": "VariableDeclaration"
    }
  ],
  "commentStart": 0,
  "end": 53,
  "moduleId": 0,
  "start": 0
}
