---
source: kcl/src/simulation_tests.rs
description: Result of parsing helix_ccw.kcl
---
{
  "Ok": {
    "body": [
      {
        "declaration": {
          "end": 205,
          "id": {
            "end": 7,
            "name": "part001",
            "start": 0,
            "type": "Identifier"
          },
          "init": {
            "body": [
              {
                "arguments": [
                  {
                    "end": 28,
                    "raw": "'XY'",
                    "start": 24,
                    "type": "Literal",
                    "type": "Literal",
                    "value": "XY"
                  }
                ],
                "callee": {
                  "end": 23,
                  "name": "startSketchOn",
                  "start": 10,
                  "type": "Identifier"
                },
                "end": 29,
                "start": 10,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "end": 74,
                    "properties": [
                      {
                        "end": 59,
                        "key": {
                          "end": 50,
                          "name": "center",
                          "start": 44,
                          "type": "Identifier"
                        },
                        "start": 44,
                        "type": "ObjectProperty",
                        "value": {
                          "elements": [
                            {
                              "end": 55,
                              "raw": "5",
                              "start": 54,
                              "type": "Literal",
                              "type": "Literal",
                              "value": {
                                "value": 5.0,
                                "suffix": "None"
                              }
                            },
                            {
                              "end": 58,
                              "raw": "5",
                              "start": 57,
                              "type": "Literal",
                              "type": "Literal",
                              "value": {
                                "value": 5.0,
                                "suffix": "None"
                              }
                            }
                          ],
                          "end": 59,
                          "start": 53,
                          "type": "ArrayExpression",
                          "type": "ArrayExpression"
                        }
                      },
                      {
                        "end": 72,
                        "key": {
                          "end": 67,
                          "name": "radius",
                          "start": 61,
                          "type": "Identifier"
                        },
                        "start": 61,
                        "type": "ObjectProperty",
                        "value": {
                          "end": 72,
                          "raw": "10",
                          "start": 70,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 10.0,
                            "suffix": "None"
                          }
                        }
                      }
                    ],
                    "start": 42,
                    "type": "ObjectExpression",
                    "type": "ObjectExpression"
                  },
                  {
                    "end": 77,
                    "start": 76,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  }
                ],
                "callee": {
                  "end": 41,
                  "name": "circle",
                  "start": 35,
                  "type": "Identifier"
                },
                "end": 78,
                "start": 35,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "type": "LabeledArg",
                    "label": {
                      "type": "Identifier",
                      "name": "length"
                    },
                    "arg": {
                      "end": 103,
                      "raw": "10",
                      "start": 101,
                      "type": "Literal",
                      "type": "Literal",
                      "value": {
                        "value": 10.0,
                        "suffix": "None"
                      }
                    }
                  }
                ],
                "callee": {
                  "end": 91,
                  "name": "extrude",
                  "start": 84,
                  "type": "Identifier"
                },
                "end": 104,
                "start": 84,
                "type": "CallExpressionKw",
                "type": "CallExpressionKw",
                "unlabeled": null
              },
              {
                "arguments": [
                  {
                    "end": 201,
                    "properties": [
                      {
                        "end": 152,
                        "key": {
                          "end": 147,
                          "name": "revolutions",
                          "start": 136,
                          "type": "Identifier"
                        },
                        "start": 136,
                        "type": "ObjectProperty",
                        "value": {
                          "end": 152,
                          "raw": "16",
                          "start": 150,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 16.0,
                            "suffix": "None"
                          }
                        }
                      },
                      {
                        "end": 175,
                        "key": {
                          "end": 171,
                          "name": "angleStart",
                          "start": 161,
                          "type": "Identifier"
                        },
                        "start": 161,
                        "type": "ObjectProperty",
                        "value": {
                          "end": 175,
                          "raw": "0",
                          "start": 174,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 0.0,
                            "suffix": "None"
                          }
                        }
                      },
                      {
                        "end": 194,
                        "key": {
                          "end": 187,
                          "name": "ccw",
                          "start": 184,
                          "type": "Identifier"
                        },
                        "start": 184,
                        "type": "ObjectProperty",
                        "value": {
                          "end": 194,
                          "raw": "true",
                          "start": 190,
                          "type": "Literal",
                          "type": "Literal",
                          "value": true
                        }
                      }
                    ],
                    "start": 127,
                    "type": "ObjectExpression",
                    "type": "ObjectExpression"
                  },
                  {
                    "end": 204,
                    "start": 203,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  }
                ],
                "callee": {
                  "end": 126,
                  "name": "helixRevolutions",
                  "start": 110,
                  "type": "Identifier"
                },
                "end": 205,
                "start": 110,
                "type": "CallExpression",
                "type": "CallExpression"
              }
            ],
            "end": 205,
            "start": 10,
            "type": "PipeExpression",
            "type": "PipeExpression"
          },
          "start": 0,
          "type": "VariableDeclarator"
        },
        "end": 205,
        "kind": "const",
        "start": 0,
        "type": "VariableDeclaration",
        "type": "VariableDeclaration"
      }
    ],
    "end": 206,
    "start": 0
  }
}
