---
source: kcl/src/simulation_tests.rs
description: Result of parsing neg_xz_plane.kcl
---
{
  "Ok": {
    "body": [
      {
        "declaration": {
          "end": 174,
          "id": {
            "end": 7,
            "name": "part001",
            "start": 0,
            "type": "Identifier"
          },
          "init": {
            "body": [
              {
                "arguments": [
                  {
                    "end": 29,
                    "raw": "'-XZ'",
                    "start": 24,
                    "type": "Literal",
                    "type": "Literal",
                    "value": "-XZ"
                  }
                ],
                "callee": {
                  "end": 23,
                  "name": "startSketchOn",
                  "start": 10,
                  "type": "Identifier"
                },
                "end": 30,
                "start": 10,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "elements": [
                      {
                        "end": 53,
                        "raw": "0",
                        "start": 52,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 0.0,
                          "suffix": "None"
                        }
                      },
                      {
                        "end": 56,
                        "raw": "0",
                        "start": 55,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 0.0,
                          "suffix": "None"
                        }
                      }
                    ],
                    "end": 57,
                    "start": 51,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  },
                  {
                    "end": 60,
                    "start": 59,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  }
                ],
                "callee": {
                  "end": 50,
                  "name": "startProfileAt",
                  "start": 36,
                  "type": "Identifier"
                },
                "end": 61,
                "start": 36,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "type": "LabeledArg",
                    "label": {
                      "type": "Identifier",
                      "name": "endAbsolute"
                    },
                    "arg": {
                      "elements": [
                        {
                          "end": 90,
                          "raw": "100",
                          "start": 87,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 100.0,
                            "suffix": "None"
                          }
                        },
                        {
                          "end": 95,
                          "raw": "100",
                          "start": 92,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 100.0,
                            "suffix": "None"
                          }
                        }
                      ],
                      "end": 96,
                      "start": 86,
                      "type": "ArrayExpression",
                      "type": "ArrayExpression"
                    }
                  }
                ],
                "callee": {
                  "end": 71,
                  "name": "line",
                  "start": 67,
                  "type": "Identifier"
                },
                "end": 97,
                "start": 67,
                "type": "CallExpressionKw",
                "type": "CallExpressionKw",
                "unlabeled": null
              },
              {
                "arguments": [
                  {
                    "type": "LabeledArg",
                    "label": {
                      "type": "Identifier",
                      "name": "endAbsolute"
                    },
                    "arg": {
                      "elements": [
                        {
                          "end": 126,
                          "raw": "100",
                          "start": 123,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 100.0,
                            "suffix": "None"
                          }
                        },
                        {
                          "end": 129,
                          "raw": "0",
                          "start": 128,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 0.0,
                            "suffix": "None"
                          }
                        }
                      ],
                      "end": 130,
                      "start": 122,
                      "type": "ArrayExpression",
                      "type": "ArrayExpression"
                    }
                  }
                ],
                "callee": {
                  "end": 107,
                  "name": "line",
                  "start": 103,
                  "type": "Identifier"
                },
                "end": 131,
                "start": 103,
                "type": "CallExpressionKw",
                "type": "CallExpressionKw",
                "unlabeled": null
              },
              {
                "arguments": [
                  {
                    "end": 144,
                    "start": 143,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  }
                ],
                "callee": {
                  "end": 142,
                  "name": "close",
                  "start": 137,
                  "type": "Identifier"
                },
                "end": 145,
                "start": 137,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "type": "LabeledArg",
                    "label": {
                      "type": "Identifier",
                      "name": "length"
                    },
                    "arg": {
                      "end": 173,
                      "left": {
                        "end": 169,
                        "raw": "5",
                        "start": 168,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 5.0,
                          "suffix": "None"
                        }
                      },
                      "operator": "+",
                      "right": {
                        "end": 173,
                        "raw": "7",
                        "start": 172,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 7.0,
                          "suffix": "None"
                        }
                      },
                      "start": 168,
                      "type": "BinaryExpression",
                      "type": "BinaryExpression"
                    }
                  }
                ],
                "callee": {
                  "end": 158,
                  "name": "extrude",
                  "start": 151,
                  "type": "Identifier"
                },
                "end": 174,
                "start": 151,
                "type": "CallExpressionKw",
                "type": "CallExpressionKw",
                "unlabeled": null
              }
            ],
            "end": 174,
            "start": 10,
            "type": "PipeExpression",
            "type": "PipeExpression"
          },
          "start": 0,
          "type": "VariableDeclarator"
        },
        "end": 174,
        "kind": "const",
        "start": 0,
        "type": "VariableDeclaration",
        "type": "VariableDeclaration"
      }
    ],
    "end": 175,
    "start": 0
  }
}
