---
source: kcl/src/simulation_tests.rs
description: Result of parsing circle_three_point.kcl
---
{
  "Ok": {
    "body": [
      {
        "declaration": {
          "end": 124,
          "id": {
            "end": 9,
            "name": "sketch001",
            "start": 0,
            "type": "Identifier"
          },
          "init": {
            "body": [
              {
                "arguments": [
                  {
                    "end": 30,
                    "raw": "'XY'",
                    "start": 26,
                    "type": "Literal",
                    "type": "Literal",
                    "value": "XY"
                  }
                ],
                "callee": {
                  "end": 25,
                  "name": "startSketchOn",
                  "start": 12,
                  "type": "Identifier"
                },
                "end": 31,
                "start": 12,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "type": "LabeledArg",
                    "label": {
                      "type": "Identifier",
                      "name": "p1"
                    },
                    "arg": {
                      "elements": [
                        {
                          "end": 62,
                          "raw": "25",
                          "start": 60,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 25.0,
                            "suffix": "None"
                          }
                        },
                        {
                          "end": 66,
                          "raw": "25",
                          "start": 64,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 25.0,
                            "suffix": "None"
                          }
                        }
                      ],
                      "end": 67,
                      "start": 59,
                      "type": "ArrayExpression",
                      "type": "ArrayExpression"
                    }
                  },
                  {
                    "type": "LabeledArg",
                    "label": {
                      "type": "Identifier",
                      "name": "p2"
                    },
                    "arg": {
                      "elements": [
                        {
                          "end": 77,
                          "raw": "30",
                          "start": 75,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 30.0,
                            "suffix": "None"
                          }
                        },
                        {
                          "end": 81,
                          "raw": "20",
                          "start": 79,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 20.0,
                            "suffix": "None"
                          }
                        }
                      ],
                      "end": 82,
                      "start": 74,
                      "type": "ArrayExpression",
                      "type": "ArrayExpression"
                    }
                  },
                  {
                    "type": "LabeledArg",
                    "label": {
                      "type": "Identifier",
                      "name": "p3"
                    },
                    "arg": {
                      "elements": [
                        {
                          "end": 92,
                          "raw": "27",
                          "start": 90,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 27.0,
                            "suffix": "None"
                          }
                        },
                        {
                          "end": 96,
                          "raw": "15",
                          "start": 94,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 15.0,
                            "suffix": "None"
                          }
                        }
                      ],
                      "end": 97,
                      "start": 89,
                      "type": "ArrayExpression",
                      "type": "ArrayExpression"
                    }
                  }
                ],
                "callee": {
                  "end": 53,
                  "name": "circleThreePoint",
                  "start": 37,
                  "type": "Identifier"
                },
                "end": 98,
                "start": 37,
                "type": "CallExpressionKw",
                "type": "CallExpressionKw",
                "unlabeled": null
              },
              {
                "arguments": [
                  {
                    "type": "LabeledArg",
                    "label": {
                      "type": "Identifier",
                      "name": "length"
                    },
                    "arg": {
                      "end": 123,
                      "raw": "10",
                      "start": 121,
                      "type": "Literal",
                      "type": "Literal",
                      "value": {
                        "value": 10.0,
                        "suffix": "None"
                      }
                    }
                  }
                ],
                "callee": {
                  "end": 111,
                  "name": "extrude",
                  "start": 104,
                  "type": "Identifier"
                },
                "end": 124,
                "start": 104,
                "type": "CallExpressionKw",
                "type": "CallExpressionKw",
                "unlabeled": null
              }
            ],
            "end": 124,
            "start": 12,
            "type": "PipeExpression",
            "type": "PipeExpression"
          },
          "start": 0,
          "type": "VariableDeclarator"
        },
        "end": 124,
        "kind": "const",
        "start": 0,
        "type": "VariableDeclaration",
        "type": "VariableDeclaration"
      }
    ],
    "end": 125,
    "start": 0
  }
}
