---
source: kcl-lib/src/parsing/parser.rs
expression: actual
---
{
  "body": [
    {
      "commentStart": 0,
      "declaration": {
        "commentStart": 0,
        "end": 179,
        "id": {
          "commentStart": 0,
          "end": 9,
          "name": "boxSketch",
          "start": 0,
          "type": "Identifier"
        },
        "init": {
          "body": [
            {
              "callee": {
                "abs_path": false,
                "commentStart": 12,
                "end": 25,
                "name": {
                  "commentStart": 12,
                  "end": 25,
                  "name": "startSketchOn",
                  "start": 12,
                  "type": "Identifier"
                },
                "path": [],
                "start": 12,
                "type": "Name"
              },
              "commentStart": 12,
              "end": 29,
              "start": 12,
              "type": "CallExpressionKw",
              "type": "CallExpressionKw",
              "unlabeled": {
                "abs_path": false,
                "commentStart": 26,
                "end": 28,
                "name": {
                  "commentStart": 26,
                  "end": 28,
                  "name": "XY",
                  "start": 26,
                  "type": "Identifier"
                },
                "path": [],
                "start": 26,
                "type": "Name",
                "type": "Name"
              }
            },
            {
              "arguments": [
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 52,
                    "end": 54,
                    "name": "at",
                    "start": 52,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 57,
                    "elements": [
                      {
                        "commentStart": 58,
                        "end": 59,
                        "raw": "0",
                        "start": 58,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 0.0,
                          "suffix": "None"
                        }
                      },
                      {
                        "commentStart": 61,
                        "end": 62,
                        "raw": "0",
                        "start": 61,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 0.0,
                          "suffix": "None"
                        }
                      }
                    ],
                    "end": 63,
                    "start": 57,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  }
                }
              ],
              "callee": {
                "abs_path": false,
                "commentStart": 37,
                "end": 51,
                "name": {
                  "commentStart": 37,
                  "end": 51,
                  "name": "startProfileAt",
                  "start": 37,
                  "type": "Identifier"
                },
                "path": [],
                "start": 37,
                "type": "Name"
              },
              "commentStart": 37,
              "end": 64,
              "start": 37,
              "type": "CallExpressionKw",
              "type": "CallExpressionKw",
              "unlabeled": null
            },
            {
              "arguments": [
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 77,
                    "end": 79,
                    "name": "at",
                    "start": 77,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 82,
                    "elements": [
                      {
                        "commentStart": 83,
                        "end": 84,
                        "raw": "0",
                        "start": 83,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 0.0,
                          "suffix": "None"
                        }
                      },
                      {
                        "commentStart": 86,
                        "end": 88,
                        "raw": "10",
                        "start": 86,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 10.0,
                          "suffix": "None"
                        }
                      }
                    ],
                    "end": 89,
                    "start": 82,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  }
                }
              ],
              "callee": {
                "abs_path": false,
                "commentStart": 72,
                "end": 76,
                "name": {
                  "commentStart": 72,
                  "end": 76,
                  "name": "line",
                  "start": 72,
                  "type": "Identifier"
                },
                "path": [],
                "start": 72,
                "type": "Name"
              },
              "commentStart": 72,
              "end": 90,
              "start": 72,
              "type": "CallExpressionKw",
              "type": "CallExpressionKw",
              "unlabeled": null
            },
            {
              "arguments": [
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 112,
                    "end": 115,
                    "name": "end",
                    "start": 112,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 118,
                    "elements": [
                      {
                        "argument": {
                          "commentStart": 120,
                          "end": 121,
                          "raw": "5",
                          "start": 120,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 5.0,
                            "suffix": "None"
                          }
                        },
                        "commentStart": 119,
                        "end": 121,
                        "operator": "-",
                        "start": 119,
                        "type": "UnaryExpression",
                        "type": "UnaryExpression"
                      },
                      {
                        "commentStart": 123,
                        "end": 124,
                        "raw": "5",
                        "start": 123,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 5.0,
                          "suffix": "None"
                        }
                      }
                    ],
                    "end": 125,
                    "start": 118,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  }
                }
              ],
              "callee": {
                "abs_path": false,
                "commentStart": 98,
                "end": 111,
                "name": {
                  "commentStart": 98,
                  "end": 111,
                  "name": "tangentialArc",
                  "start": 98,
                  "type": "Identifier"
                },
                "path": [],
                "start": 98,
                "type": "Name"
              },
              "commentStart": 98,
              "end": 126,
              "start": 98,
              "type": "CallExpressionKw",
              "type": "CallExpressionKw",
              "unlabeled": null
            },
            {
              "arguments": [
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 139,
                    "end": 141,
                    "name": "at",
                    "start": 139,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 144,
                    "elements": [
                      {
                        "commentStart": 145,
                        "end": 146,
                        "raw": "5",
                        "start": 145,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 5.0,
                          "suffix": "None"
                        }
                      },
                      {
                        "argument": {
                          "commentStart": 149,
                          "end": 151,
                          "raw": "15",
                          "start": 149,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 15.0,
                            "suffix": "None"
                          }
                        },
                        "commentStart": 148,
                        "end": 151,
                        "operator": "-",
                        "start": 148,
                        "type": "UnaryExpression",
                        "type": "UnaryExpression"
                      }
                    ],
                    "end": 152,
                    "start": 144,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  }
                }
              ],
              "callee": {
                "abs_path": false,
                "commentStart": 134,
                "end": 138,
                "name": {
                  "commentStart": 134,
                  "end": 138,
                  "name": "line",
                  "start": 134,
                  "type": "Identifier"
                },
                "path": [],
                "start": 134,
                "type": "Name"
              },
              "commentStart": 134,
              "end": 153,
              "start": 134,
              "type": "CallExpressionKw",
              "type": "CallExpressionKw",
              "unlabeled": null
            },
            {
              "arguments": [
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 169,
                    "end": 175,
                    "name": "length",
                    "start": 169,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 176,
                    "end": 178,
                    "raw": "10",
                    "start": 176,
                    "type": "Literal",
                    "type": "Literal",
                    "value": {
                      "value": 10.0,
                      "suffix": "None"
                    }
                  }
                }
              ],
              "callee": {
                "abs_path": false,
                "commentStart": 161,
                "end": 168,
                "name": {
                  "commentStart": 161,
                  "end": 168,
                  "name": "extrude",
                  "start": 161,
                  "type": "Identifier"
                },
                "path": [],
                "start": 161,
                "type": "Name"
              },
              "commentStart": 161,
              "end": 179,
              "start": 161,
              "type": "CallExpressionKw",
              "type": "CallExpressionKw",
              "unlabeled": null
            }
          ],
          "commentStart": 12,
          "end": 179,
          "start": 12,
          "type": "PipeExpression",
          "type": "PipeExpression"
        },
        "start": 0,
        "type": "VariableDeclarator"
      },
      "end": 179,
      "kind": "const",
      "start": 0,
      "type": "VariableDeclaration",
      "type": "VariableDeclaration"
    }
  ],
  "commentStart": 0,
  "end": 180,
  "start": 0
}
