---
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing module_return_using_var.kcl
---
{
  "Ok": {
    "body": [
      {
        "commentStart": 0,
        "end": 0,
        "path": {
          "type": "Kcl",
          "filename": "cube.kcl"
        },
        "selector": {
          "type": "None",
          "alias": null
        },
        "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": "cube",
                "start": 0,
                "type": "Identifier"
              },
              "path": [],
              "start": 0,
              "type": "Name",
              "type": "Name"
            },
            {
              "arguments": [
                {
                  "type": "LabeledArg",
                  "label": {
                    "commentStart": 0,
                    "end": 0,
                    "name": "x",
                    "start": 0,
                    "type": "Identifier"
                  },
                  "arg": {
                    "commentStart": 0,
                    "end": 0,
                    "raw": "5",
                    "start": 0,
                    "type": "Literal",
                    "type": "Literal",
                    "value": {
                      "value": 5.0,
                      "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": null
            }
          ],
          "commentStart": 0,
          "end": 0,
          "start": 0,
          "type": "PipeExpression",
          "type": "PipeExpression"
        },
        "preComments": [
          "",
          "",
          "// Use the module's return value."
        ],
        "start": 0,
        "type": "ExpressionStatement",
        "type": "ExpressionStatement"
      }
    ],
    "commentStart": 0,
    "end": 0,
    "start": 0
  }
}
