---
source: kcl/src/simulation_tests.rs
description: Result of parsing artifact_graph_example_code_offset_planes.kcl
---
{
  "Ok": {
    "body": [
      {
        "declaration": {
          "end": 38,
          "id": {
            "end": 14,
            "name": "offsetPlane001",
            "start": 0,
            "type": "Identifier"
          },
          "init": {
            "arguments": [
              {
                "end": 33,
                "raw": "\"XY\"",
                "start": 29,
                "type": "Literal",
                "type": "Literal",
                "value": "XY"
              },
              {
                "end": 37,
                "raw": "20",
                "start": 35,
                "type": "Literal",
                "type": "Literal",
                "value": {
                  "value": 20.0,
                  "suffix": "None"
                }
              }
            ],
            "callee": {
              "end": 28,
              "name": "offsetPlane",
              "start": 17,
              "type": "Identifier"
            },
            "end": 38,
            "start": 17,
            "type": "CallExpression",
            "type": "CallExpression"
          },
          "start": 0,
          "type": "VariableDeclarator"
        },
        "end": 38,
        "kind": "const",
        "start": 0,
        "type": "VariableDeclaration",
        "type": "VariableDeclaration"
      },
      {
        "declaration": {
          "end": 78,
          "id": {
            "end": 53,
            "name": "offsetPlane002",
            "start": 39,
            "type": "Identifier"
          },
          "init": {
            "arguments": [
              {
                "end": 72,
                "raw": "\"XZ\"",
                "start": 68,
                "type": "Literal",
                "type": "Literal",
                "value": "XZ"
              },
              {
                "argument": {
                  "end": 77,
                  "raw": "50",
                  "start": 75,
                  "type": "Literal",
                  "type": "Literal",
                  "value": {
                    "value": 50.0,
                    "suffix": "None"
                  }
                },
                "end": 77,
                "operator": "-",
                "start": 74,
                "type": "UnaryExpression",
                "type": "UnaryExpression"
              }
            ],
            "callee": {
              "end": 67,
              "name": "offsetPlane",
              "start": 56,
              "type": "Identifier"
            },
            "end": 78,
            "start": 56,
            "type": "CallExpression",
            "type": "CallExpression"
          },
          "start": 39,
          "type": "VariableDeclarator"
        },
        "end": 78,
        "kind": "const",
        "start": 39,
        "type": "VariableDeclaration",
        "type": "VariableDeclaration"
      },
      {
        "declaration": {
          "end": 117,
          "id": {
            "end": 93,
            "name": "offsetPlane003",
            "start": 79,
            "type": "Identifier"
          },
          "init": {
            "arguments": [
              {
                "end": 112,
                "raw": "\"YZ\"",
                "start": 108,
                "type": "Literal",
                "type": "Literal",
                "value": "YZ"
              },
              {
                "end": 116,
                "raw": "10",
                "start": 114,
                "type": "Literal",
                "type": "Literal",
                "value": {
                  "value": 10.0,
                  "suffix": "None"
                }
              }
            ],
            "callee": {
              "end": 107,
              "name": "offsetPlane",
              "start": 96,
              "type": "Identifier"
            },
            "end": 117,
            "start": 96,
            "type": "CallExpression",
            "type": "CallExpression"
          },
          "start": 79,
          "type": "VariableDeclarator"
        },
        "end": 117,
        "kind": "const",
        "start": 79,
        "type": "VariableDeclaration",
        "type": "VariableDeclaration"
      },
      {
        "declaration": {
          "end": 222,
          "id": {
            "end": 128,
            "name": "sketch002",
            "start": 119,
            "type": "Identifier"
          },
          "init": {
            "body": [
              {
                "arguments": [
                  {
                    "end": 159,
                    "name": "offsetPlane001",
                    "start": 145,
                    "type": "Identifier",
                    "type": "Identifier"
                  }
                ],
                "callee": {
                  "end": 144,
                  "name": "startSketchOn",
                  "start": 131,
                  "type": "Identifier"
                },
                "end": 160,
                "start": 131,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "elements": [
                      {
                        "end": 183,
                        "raw": "0",
                        "start": 182,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 0.0,
                          "suffix": "None"
                        }
                      },
                      {
                        "end": 186,
                        "raw": "0",
                        "start": 185,
                        "type": "Literal",
                        "type": "Literal",
                        "value": {
                          "value": 0.0,
                          "suffix": "None"
                        }
                      }
                    ],
                    "end": 187,
                    "start": 181,
                    "type": "ArrayExpression",
                    "type": "ArrayExpression"
                  },
                  {
                    "end": 190,
                    "start": 189,
                    "type": "PipeSubstitution",
                    "type": "PipeSubstitution"
                  }
                ],
                "callee": {
                  "end": 180,
                  "name": "startProfileAt",
                  "start": 166,
                  "type": "Identifier"
                },
                "end": 191,
                "start": 166,
                "type": "CallExpression",
                "type": "CallExpression"
              },
              {
                "arguments": [
                  {
                    "type": "LabeledArg",
                    "label": {
                      "type": "Identifier",
                      "name": "end"
                    },
                    "arg": {
                      "elements": [
                        {
                          "end": 213,
                          "raw": "6.78",
                          "start": 209,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 6.78,
                            "suffix": "None"
                          }
                        },
                        {
                          "end": 220,
                          "raw": "15.01",
                          "start": 215,
                          "type": "Literal",
                          "type": "Literal",
                          "value": {
                            "value": 15.01,
                            "suffix": "None"
                          }
                        }
                      ],
                      "end": 221,
                      "start": 208,
                      "type": "ArrayExpression",
                      "type": "ArrayExpression"
                    }
                  }
                ],
                "callee": {
                  "end": 201,
                  "name": "line",
                  "start": 197,
                  "type": "Identifier"
                },
                "end": 222,
                "start": 197,
                "type": "CallExpressionKw",
                "type": "CallExpressionKw",
                "unlabeled": null
              }
            ],
            "end": 222,
            "start": 131,
            "type": "PipeExpression",
            "type": "PipeExpression"
          },
          "start": 119,
          "type": "VariableDeclarator"
        },
        "end": 222,
        "kind": "const",
        "start": 119,
        "type": "VariableDeclaration",
        "type": "VariableDeclaration"
      }
    ],
    "end": 223,
    "nonCodeMeta": {
      "nonCodeNodes": {
        "2": [
          {
            "end": 119,
            "start": 117,
            "type": "NonCodeNode",
            "value": {
              "type": "newLine"
            }
          }
        ]
      },
      "startNodes": []
    },
    "start": 0
  }
}
