---
source: kcl-lib/src/parsing/parser.rs
expression: actual
---
{
  "body": [
    {
      "commentStart": 0,
      "declaration": {
        "commentStart": 0,
        "end": 98,
        "id": {
          "commentStart": 0,
          "end": 8,
          "moduleId": 0,
          "name": "cylinder",
          "start": 0,
          "type": "Identifier"
        },
        "init": {
          "body": [
            {
              "arguments": [],
              "callee": {
                "abs_path": false,
                "commentStart": 11,
                "end": 24,
                "moduleId": 0,
                "name": {
                  "commentStart": 11,
                  "end": 24,
                  "moduleId": 0,
                  "name": "startSketchOn",
                  "start": 11,
                  "type": "Identifier"
                },
                "path": [],
                "start": 11,
                "type": "Name"
              },
              "commentStart": 11,
              "end": 28,
              "moduleId": 0,
              "start": 11,
              "type": "CallExpressionKw",
              "type": "CallExpressionKw",
              "unlabeled": {
                "abs_path": false,
                "commentStart": 25,
                "end": 27,
                "moduleId": 0,
                "name": {
                  "commentStart": 25,
                  "end": 27,
                  "moduleId": 0,
                  "name": "XY",
                  "start": 25,
                  "type": "Identifier"
                },
                "path": [],
                "start": 25,
                "type": "Name",
                "type": "Name"
              }
            },
            {
              "arguments": [
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 43,
                    "end": 49,
                    "moduleId": 0,
                    "name": "center",
                    "start": 43,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 51,
                    "elements": [
                      {
                        "commentStart": 52,
                        "end": 53,
                        "moduleId": 0,
                        "raw": "0",
                        "start": 52,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 0.0,
                          "suffix": "None"
                        }
                      },
                      {
                        "commentStart": 55,
                        "end": 56,
                        "moduleId": 0,
                        "raw": "0",
                        "start": 55,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 0.0,
                          "suffix": "None"
                        }
                      }
                    ],
                    "end": 57,
                    "moduleId": 0,
                    "start": 51,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  }
                },
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 59,
                    "end": 65,
                    "moduleId": 0,
                    "name": "radius",
                    "start": 59,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 67,
                    "end": 69,
                    "moduleId": 0,
                    "raw": "22",
                    "start": 67,
                    "type": "Literal",
                    "type": "Literal",
                    "value": {
                      "value": 22.0,
                      "suffix": "None"
                    }
                  }
                }
              ],
              "callee": {
                "abs_path": false,
                "commentStart": 36,
                "end": 42,
                "moduleId": 0,
                "name": {
                  "commentStart": 36,
                  "end": 42,
                  "moduleId": 0,
                  "name": "circle",
                  "start": 36,
                  "type": "Identifier"
                },
                "path": [],
                "start": 36,
                "type": "Name"
              },
              "commentStart": 36,
              "end": 70,
              "moduleId": 0,
              "start": 36,
              "type": "CallExpressionKw",
              "type": "CallExpressionKw",
              "unlabeled": null
            },
            {
              "arguments": [
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 86,
                    "end": 92,
                    "moduleId": 0,
                    "name": "length",
                    "start": 86,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 95,
                    "end": 97,
                    "moduleId": 0,
                    "raw": "14",
                    "start": 95,
                    "type": "Literal",
                    "type": "Literal",
                    "value": {
                      "value": 14.0,
                      "suffix": "None"
                    }
                  }
                }
              ],
              "callee": {
                "abs_path": false,
                "commentStart": 78,
                "end": 85,
                "moduleId": 0,
                "name": {
                  "commentStart": 78,
                  "end": 85,
                  "moduleId": 0,
                  "name": "extrude",
                  "start": 78,
                  "type": "Identifier"
                },
                "path": [],
                "start": 78,
                "type": "Name"
              },
              "commentStart": 78,
              "end": 98,
              "moduleId": 0,
              "start": 78,
              "type": "CallExpressionKw",
              "type": "CallExpressionKw",
              "unlabeled": null
            }
          ],
          "commentStart": 11,
          "end": 98,
          "moduleId": 0,
          "start": 11,
          "type": "PipeExpression",
          "type": "PipeExpression"
        },
        "moduleId": 0,
        "start": 0,
        "type": "VariableDeclarator"
      },
      "end": 98,
      "kind": "const",
      "moduleId": 0,
      "start": 0,
      "type": "VariableDeclaration",
      "type": "VariableDeclaration"
    }
  ],
  "commentStart": 0,
  "end": 99,
  "moduleId": 0,
  "start": 0
}
