--- source: kcl-lib/src/simulation_tests.rs description: Result of parsing import_transform.kcl --- { "Ok": { "body": [ { "commentStart": 0, "end": 0, "path": { "type": "Foreign", "path": "2-5-long-m8-chc-screw.stl" }, "selector": { "type": "None", "alias": { "commentStart": 38, "end": 0, "name": "screw", "start": 0, "type": "Identifier" } }, "start": 0, "type": "ImportStatement", "type": "ImportStatement" }, { "commentStart": 43, "end": 0, "expression": { "body": [ { "commentStart": 45, "end": 0, "name": "screw", "start": 0, "type": "Identifier", "type": "Identifier" }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 81, "end": 0, "name": "roll", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 88, "end": 0, "raw": "3.14", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 3.14, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 101, "end": 0, "name": "pitch", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 109, "end": 0, "raw": "3.14", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 3.14, "suffix": "None" } } }, { "type": "LabeledArg", "label": { "commentStart": 122, "end": 0, "name": "yaw", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 128, "end": 0, "raw": "3.14", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 3.14, "suffix": "None" } } } ], "callee": { "commentStart": 56, "end": 0, "name": "rotate", "start": 0, "type": "Identifier" }, "commentStart": 56, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "commentStart": 71, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 159, "end": 0, "name": "translate", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 171, "elements": [ { "commentStart": 172, "end": 0, "raw": "3.14", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 3.14, "suffix": "None" } }, { "commentStart": 178, "end": 0, "raw": "3.14", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 3.14, "suffix": "None" } }, { "commentStart": 184, "end": 0, "raw": "3.14", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 3.14, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "commentStart": 146, "end": 0, "name": "translate", "start": 0, "type": "Identifier" }, "commentStart": 146, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "commentStart": 156, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } }, { "arguments": [ { "type": "LabeledArg", "label": { "commentStart": 205, "end": 0, "name": "scale", "start": 0, "type": "Identifier" }, "arg": { "commentStart": 213, "elements": [ { "commentStart": 214, "end": 0, "raw": "3.14", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 3.14, "suffix": "None" } }, { "commentStart": 220, "end": 0, "raw": "3.14", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 3.14, "suffix": "None" } }, { "commentStart": 226, "end": 0, "raw": "3.14", "start": 0, "type": "Literal", "type": "Literal", "value": { "value": 3.14, "suffix": "None" } } ], "end": 0, "start": 0, "type": "ArrayExpression", "type": "ArrayExpression" } } ], "callee": { "commentStart": 196, "end": 0, "name": "scale", "start": 0, "type": "Identifier" }, "commentStart": 196, "end": 0, "start": 0, "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { "commentStart": 202, "end": 0, "start": 0, "type": "PipeSubstitution", "type": "PipeSubstitution" } } ], "commentStart": 45, "end": 0, "start": 0, "type": "PipeExpression", "type": "PipeExpression" }, "start": 0, "type": "ExpressionStatement", "type": "ExpressionStatement" } ], "commentStart": 0, "end": 0, "nonCodeMeta": { "nonCodeNodes": { "0": [ { "commentStart": 43, "end": 0, "start": 0, "type": "NonCodeNode", "value": { "type": "newLine" } } ] }, "startNodes": [] }, "start": 0 } }