--- source: kcl/src/simulation_tests.rs description: Result of parsing import_cycle1.kcl --- { "Ok": { "body": [ { "end": 69, "path": { "type": "Kcl", "filename": "import_cycle2.kcl" }, "selector": { "type": "List", "items": [ { "alias": null, "end": 44, "name": { "end": 44, "name": "two", "start": 41, "type": "Identifier" }, "start": 41, "type": "ImportItem" } ] }, "start": 34, "type": "ImportStatement", "type": "ImportStatement" }, { "declaration": { "end": 109, "id": { "end": 84, "name": "one", "start": 81, "type": "Identifier" }, "init": { "body": { "body": [ { "argument": { "end": 107, "left": { "arguments": [], "callee": { "end": 101, "name": "two", "start": 98, "type": "Identifier" }, "end": 103, "start": 98, "type": "CallExpression", "type": "CallExpression" }, "operator": "-", "right": { "end": 107, "raw": "1", "start": 106, "type": "Literal", "type": "Literal", "value": { "value": 1.0, "suffix": "None" } }, "start": 98, "type": "BinaryExpression", "type": "BinaryExpression" }, "end": 107, "start": 91, "type": "ReturnStatement", "type": "ReturnStatement" } ], "end": 109, "start": 87 }, "end": 109, "params": [], "start": 84, "type": "FunctionExpression", "type": "FunctionExpression" }, "start": 81, "type": "VariableDeclarator" }, "end": 109, "kind": "fn", "start": 71, "type": "VariableDeclaration", "type": "VariableDeclaration", "visibility": "export" } ], "end": 110, "innerAttrs": [ { "end": 33, "name": { "end": 9, "name": "settings", "start": 1, "type": "Identifier" }, "properties": [ { "end": 32, "key": { "end": 27, "name": "defaultLengthUnit", "start": 10, "type": "Identifier" }, "start": 10, "type": "ObjectProperty", "value": { "end": 32, "name": "in", "start": 30, "type": "Identifier", "type": "Identifier" } } ], "start": 0, "type": "Annotation" } ], "nonCodeMeta": { "nonCodeNodes": { "0": [ { "end": 71, "start": 69, "type": "NonCodeNode", "value": { "type": "newLine" } } ] }, "startNodes": [] }, "start": 0 } }