---
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing import_transform.kcl
---
{
  "Ok": {
    "body": [
      {
        "commentStart": 0,
        "end": 0,
        "outerAttrs": [
          {
            "commentStart": 0,
            "end": 0,
            "name": null,
            "properties": [
              {
                "commentStart": 0,
                "end": 0,
                "key": {
                  "commentStart": 0,
                  "end": 0,
                  "name": "lengthUnit",
                  "start": 0,
                  "type": "Identifier"
                },
                "start": 0,
                "type": "ObjectProperty",
                "value": {
                  "abs_path": false,
                  "commentStart": 0,
                  "end": 0,
                  "name": {
                    "commentStart": 0,
                    "end": 0,
                    "name": "m",
                    "start": 0,
                    "type": "Identifier"
                  },
                  "path": [],
                  "start": 0,
                  "type": "Name",
                  "type": "Name"
                }
              }
            ],
            "start": 0,
            "type": "Annotation"
          }
        ],
        "path": {
          "type": "Foreign",
          "path": "2-5-long-m8-chc-screw.stl"
        },
        "selector": {
          "type": "None",
          "alias": {
            "commentStart": 0,
            "end": 0,
            "name": "screw",
            "start": 0,
            "type": "Identifier"
          }
        },
        "start": 0,
        "type": "ImportStatement",
        "type": "ImportStatement"
      },
      {
        "commentStart": 0,
        "end": 0,
        "expression": {
          "body": [
            {
              "abs_path": false,
              "commentStart": 0,
              "end": 0,
              "name": {
                "commentStart": 0,
                "end": 0,
                "name": "screw",
                "start": 0,
                "type": "Identifier"
              },
              "path": [],
              "start": 0,
              "type": "Name",
              "type": "Name"
            },
            {
              "arguments": [
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 0,
                    "end": 0,
                    "name": "roll",
                    "start": 0,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 0,
                    "end": 0,
                    "raw": "3.14",
                    "start": 0,
                    "type": "Literal",
                    "type": "Literal",
                    "value": {
                      "value": 3.14,
                      "suffix": "None"
                    }
                  }
                },
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 0,
                    "end": 0,
                    "name": "pitch",
                    "start": 0,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 0,
                    "end": 0,
                    "raw": "3.14",
                    "start": 0,
                    "type": "Literal",
                    "type": "Literal",
                    "value": {
                      "value": 3.14,
                      "suffix": "None"
                    }
                  }
                },
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 0,
                    "end": 0,
                    "name": "yaw",
                    "start": 0,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 0,
                    "end": 0,
                    "raw": "3.14",
                    "start": 0,
                    "type": "Literal",
                    "type": "Literal",
                    "value": {
                      "value": 3.14,
                      "suffix": "None"
                    }
                  }
                }
              ],
              "callee": {
                "abs_path": false,
                "commentStart": 0,
                "end": 0,
                "name": {
                  "commentStart": 0,
                  "end": 0,
                  "name": "rotate",
                  "start": 0,
                  "type": "Identifier"
                },
                "path": [],
                "start": 0,
                "type": "Name"
              },
              "commentStart": 0,
              "end": 0,
              "start": 0,
              "type": "CallExpressionKw",
              "type": "CallExpressionKw",
              "unlabeled": {
                "commentStart": 0,
                "end": 0,
                "start": 0,
                "type": "PipeSubstitution",
                "type": "PipeSubstitution"
              }
            },
            {
              "arguments": [
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 0,
                    "end": 0,
                    "name": "x",
                    "start": 0,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 0,
                    "end": 0,
                    "raw": "3.14",
                    "start": 0,
                    "type": "Literal",
                    "type": "Literal",
                    "value": {
                      "value": 3.14,
                      "suffix": "None"
                    }
                  }
                },
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 0,
                    "end": 0,
                    "name": "y",
                    "start": 0,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 0,
                    "end": 0,
                    "raw": "3.14",
                    "start": 0,
                    "type": "Literal",
                    "type": "Literal",
                    "value": {
                      "value": 3.14,
                      "suffix": "None"
                    }
                  }
                },
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 0,
                    "end": 0,
                    "name": "z",
                    "start": 0,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 0,
                    "end": 0,
                    "raw": "3.14",
                    "start": 0,
                    "type": "Literal",
                    "type": "Literal",
                    "value": {
                      "value": 3.14,
                      "suffix": "None"
                    }
                  }
                }
              ],
              "callee": {
                "abs_path": false,
                "commentStart": 0,
                "end": 0,
                "name": {
                  "commentStart": 0,
                  "end": 0,
                  "name": "translate",
                  "start": 0,
                  "type": "Identifier"
                },
                "path": [],
                "start": 0,
                "type": "Name"
              },
              "commentStart": 0,
              "end": 0,
              "start": 0,
              "type": "CallExpressionKw",
              "type": "CallExpressionKw",
              "unlabeled": {
                "commentStart": 0,
                "end": 0,
                "start": 0,
                "type": "PipeSubstitution",
                "type": "PipeSubstitution"
              }
            },
            {
              "arguments": [
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 0,
                    "end": 0,
                    "name": "x",
                    "start": 0,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 0,
                    "end": 0,
                    "raw": "3.14",
                    "start": 0,
                    "type": "Literal",
                    "type": "Literal",
                    "value": {
                      "value": 3.14,
                      "suffix": "None"
                    }
                  }
                },
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 0,
                    "end": 0,
                    "name": "y",
                    "start": 0,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 0,
                    "end": 0,
                    "raw": "3.14",
                    "start": 0,
                    "type": "Literal",
                    "type": "Literal",
                    "value": {
                      "value": 3.14,
                      "suffix": "None"
                    }
                  }
                },
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 0,
                    "end": 0,
                    "name": "z",
                    "start": 0,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 0,
                    "end": 0,
                    "raw": "3.14",
                    "start": 0,
                    "type": "Literal",
                    "type": "Literal",
                    "value": {
                      "value": 3.14,
                      "suffix": "None"
                    }
                  }
                }
              ],
              "callee": {
                "abs_path": false,
                "commentStart": 0,
                "end": 0,
                "name": {
                  "commentStart": 0,
                  "end": 0,
                  "name": "scale",
                  "start": 0,
                  "type": "Identifier"
                },
                "path": [],
                "start": 0,
                "type": "Name"
              },
              "commentStart": 0,
              "end": 0,
              "start": 0,
              "type": "CallExpressionKw",
              "type": "CallExpressionKw",
              "unlabeled": {
                "commentStart": 0,
                "end": 0,
                "start": 0,
                "type": "PipeSubstitution",
                "type": "PipeSubstitution"
              }
            }
          ],
          "commentStart": 0,
          "end": 0,
          "start": 0,
          "type": "PipeExpression",
          "type": "PipeExpression"
        },
        "start": 0,
        "type": "ExpressionStatement",
        "type": "ExpressionStatement"
      }
    ],
    "commentStart": 0,
    "end": 0,
    "nonCodeMeta": {
      "nonCodeNodes": {
        "0": [
          {
            "commentStart": 0,
            "end": 0,
            "start": 0,
            "type": "NonCodeNode",
            "value": {
              "type": "newLine"
            }
          }
        ]
      },
      "startNodes": []
    },
    "start": 0
  }
}
