---
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing multi-axis-robot.kcl
---
{
  "Ok": {
    "body": [
      {
        "commentStart": 0,
        "end": 0,
        "path": {
          "type": "Kcl",
          "filename": "robot-arm-base.kcl"
        },
        "preComments": [
          "// Import parts"
        ],
        "selector": {
          "type": "None",
          "alias": {
            "commentStart": 0,
            "end": 0,
            "name": "robotArmBase",
            "start": 0,
            "type": "Identifier"
          }
        },
        "start": 0,
        "type": "ImportStatement",
        "type": "ImportStatement"
      },
      {
        "commentStart": 0,
        "end": 0,
        "path": {
          "type": "Kcl",
          "filename": "robot-rotating-base.kcl"
        },
        "selector": {
          "type": "None",
          "alias": {
            "commentStart": 0,
            "end": 0,
            "name": "rotatingBase",
            "start": 0,
            "type": "Identifier"
          }
        },
        "start": 0,
        "type": "ImportStatement",
        "type": "ImportStatement"
      },
      {
        "commentStart": 0,
        "end": 0,
        "path": {
          "type": "Kcl",
          "filename": "robot-arm-j2.kcl"
        },
        "selector": {
          "type": "None",
          "alias": {
            "commentStart": 0,
            "end": 0,
            "name": "j2RobotArm",
            "start": 0,
            "type": "Identifier"
          }
        },
        "start": 0,
        "type": "ImportStatement",
        "type": "ImportStatement"
      },
      {
        "commentStart": 0,
        "end": 0,
        "path": {
          "type": "Kcl",
          "filename": "robot-arm-j3.kcl"
        },
        "selector": {
          "type": "None",
          "alias": {
            "commentStart": 0,
            "end": 0,
            "name": "j3RobotArm",
            "start": 0,
            "type": "Identifier"
          }
        },
        "start": 0,
        "type": "ImportStatement",
        "type": "ImportStatement"
      },
      {
        "commentStart": 0,
        "end": 0,
        "expression": {
          "abs_path": false,
          "commentStart": 0,
          "end": 0,
          "name": {
            "commentStart": 0,
            "end": 0,
            "name": "robotArmBase",
            "start": 0,
            "type": "Identifier"
          },
          "path": [],
          "start": 0,
          "type": "Name",
          "type": "Name"
        },
        "start": 0,
        "type": "ExpressionStatement",
        "type": "ExpressionStatement"
      },
      {
        "commentStart": 0,
        "end": 0,
        "expression": {
          "abs_path": false,
          "commentStart": 0,
          "end": 0,
          "name": {
            "commentStart": 0,
            "end": 0,
            "name": "rotatingBase",
            "start": 0,
            "type": "Identifier"
          },
          "path": [],
          "start": 0,
          "type": "Name",
          "type": "Name"
        },
        "start": 0,
        "type": "ExpressionStatement",
        "type": "ExpressionStatement"
      },
      {
        "commentStart": 0,
        "end": 0,
        "expression": {
          "abs_path": false,
          "commentStart": 0,
          "end": 0,
          "name": {
            "commentStart": 0,
            "end": 0,
            "name": "j2RobotArm",
            "start": 0,
            "type": "Identifier"
          },
          "path": [],
          "start": 0,
          "type": "Name",
          "type": "Name"
        },
        "start": 0,
        "type": "ExpressionStatement",
        "type": "ExpressionStatement"
      },
      {
        "commentStart": 0,
        "end": 0,
        "expression": {
          "abs_path": false,
          "commentStart": 0,
          "end": 0,
          "name": {
            "commentStart": 0,
            "end": 0,
            "name": "j3RobotArm",
            "start": 0,
            "type": "Identifier"
          },
          "path": [],
          "start": 0,
          "type": "Name",
          "type": "Name"
        },
        "start": 0,
        "type": "ExpressionStatement",
        "type": "ExpressionStatement"
      }
    ],
    "commentStart": 0,
    "end": 0,
    "innerAttrs": [
      {
        "commentStart": 0,
        "end": 0,
        "name": {
          "commentStart": 0,
          "end": 0,
          "name": "settings",
          "start": 0,
          "type": "Identifier"
        },
        "preComments": [
          "// Robot Arm",
          "// A 4 axis robotic arm for industrial use. These machines can be used for assembly, packaging, organization of goods, and quality inspection processes",
          "",
          "",
          "// Set Units"
        ],
        "properties": [
          {
            "commentStart": 0,
            "end": 0,
            "key": {
              "commentStart": 0,
              "end": 0,
              "name": "defaultLengthUnit",
              "start": 0,
              "type": "Identifier"
            },
            "start": 0,
            "type": "ObjectProperty",
            "value": {
              "abs_path": false,
              "commentStart": 0,
              "end": 0,
              "name": {
                "commentStart": 0,
                "end": 0,
                "name": "in",
                "start": 0,
                "type": "Identifier"
              },
              "path": [],
              "start": 0,
              "type": "Name",
              "type": "Name"
            }
          },
          {
            "commentStart": 0,
            "end": 0,
            "key": {
              "commentStart": 0,
              "end": 0,
              "name": "kclVersion",
              "start": 0,
              "type": "Identifier"
            },
            "start": 0,
            "type": "ObjectProperty",
            "value": {
              "commentStart": 0,
              "end": 0,
              "raw": "1.0",
              "start": 0,
              "type": "Literal",
              "type": "Literal",
              "value": {
                "value": 1.0,
                "suffix": "None"
              }
            }
          }
        ],
        "start": 0,
        "type": "Annotation"
      }
    ],
    "nonCodeMeta": {
      "nonCodeNodes": {
        "3": [
          {
            "commentStart": 0,
            "end": 0,
            "start": 0,
            "type": "NonCodeNode",
            "value": {
              "type": "newLine"
            }
          }
        ]
      },
      "startNodes": [
        {
          "commentStart": 0,
          "end": 0,
          "start": 0,
          "type": "NonCodeNode",
          "value": {
            "type": "newLine"
          }
        }
      ]
    },
    "start": 0
  }
}
