2024-11-18 16:20:32 -06:00
|
|
|
---
|
2025-03-01 16:32:46 -08:00
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
2024-11-18 16:20:32 -06:00
|
|
|
description: Result of parsing pipe_as_arg.kcl
|
|
|
|
---
|
|
|
|
{
|
|
|
|
"Ok": {
|
|
|
|
"body": [
|
|
|
|
{
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"declaration": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"id": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"name": "cube",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"body": {
|
|
|
|
"body": [
|
|
|
|
{
|
2025-05-01 11:36:51 -05:00
|
|
|
"argument": {
|
|
|
|
"abs_path": false,
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-05-01 11:36:51 -05:00
|
|
|
"name": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-05-01 11:36:51 -05:00
|
|
|
"name": "length",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
2025-05-01 11:36:51 -05:00
|
|
|
"path": [],
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-05-01 11:36:51 -05:00
|
|
|
"type": "Name",
|
|
|
|
"type": "Name"
|
2024-11-18 16:20:32 -06:00
|
|
|
},
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "ReturnStatement",
|
|
|
|
"type": "ReturnStatement"
|
2024-11-18 16:20:32 -06:00
|
|
|
}
|
|
|
|
],
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0
|
2024-11-18 16:20:32 -06:00
|
|
|
},
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"identifier": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"name": "length",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"identifier": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"name": "center",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "FunctionExpression",
|
|
|
|
"type": "FunctionExpression"
|
|
|
|
},
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "VariableDeclarator"
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2024-11-18 16:20:32 -06:00
|
|
|
"kind": "fn",
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2024-11-18 16:20:32 -06:00
|
|
|
"start": 0,
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"type": "VariableDeclaration"
|
|
|
|
},
|
|
|
|
{
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"declaration": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"id": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"name": "double",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"body": {
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"argument": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"left": {
|
2025-03-24 20:58:55 +13:00
|
|
|
"abs_path": false,
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-24 20:58:55 +13:00
|
|
|
"name": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-24 20:58:55 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-24 20:58:55 +13:00
|
|
|
"name": "x",
|
|
|
|
"start": 0,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"path": [],
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-24 20:58:55 +13:00
|
|
|
"type": "Name",
|
|
|
|
"type": "Name"
|
2024-11-18 16:20:32 -06:00
|
|
|
},
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"operator": "*",
|
|
|
|
"right": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"raw": "2",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 2.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2024-12-07 07:16:04 +13:00
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "BinaryExpression",
|
|
|
|
"type": "BinaryExpression"
|
|
|
|
},
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "ReturnStatement",
|
|
|
|
"type": "ReturnStatement"
|
2024-11-18 16:20:32 -06:00
|
|
|
}
|
|
|
|
],
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0
|
2024-11-18 16:20:32 -06:00
|
|
|
},
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"identifier": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"name": "x",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "Identifier"
|
2025-05-01 11:36:51 -05:00
|
|
|
},
|
|
|
|
"labeled": false
|
2024-12-07 07:16:04 +13:00
|
|
|
}
|
|
|
|
],
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "FunctionExpression",
|
|
|
|
"type": "FunctionExpression"
|
|
|
|
},
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "VariableDeclarator"
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2024-11-18 16:20:32 -06:00
|
|
|
"kind": "fn",
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-11-18 16:20:32 -06:00
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"type": "VariableDeclaration"
|
|
|
|
},
|
|
|
|
{
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"declaration": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"id": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"name": "width",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"body": {
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"argument": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"raw": "200",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
2025-01-22 08:29:30 +13:00
|
|
|
"value": {
|
|
|
|
"value": 200.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2024-12-07 07:16:04 +13:00
|
|
|
},
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "ReturnStatement",
|
|
|
|
"type": "ReturnStatement"
|
|
|
|
}
|
|
|
|
],
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0
|
2024-11-18 16:20:32 -06:00
|
|
|
},
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"params": [],
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "FunctionExpression",
|
|
|
|
"type": "FunctionExpression"
|
|
|
|
},
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "VariableDeclarator"
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2024-11-18 16:20:32 -06:00
|
|
|
"kind": "fn",
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-11-18 16:20:32 -06:00
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"type": "VariableDeclaration"
|
|
|
|
},
|
|
|
|
{
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"declaration": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"id": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"name": "myCube",
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"arguments": [
|
|
|
|
{
|
2025-05-01 11:36:51 -05:00
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
|
|
|
"commentStart": 0,
|
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-05-01 11:36:51 -05:00
|
|
|
"name": "length",
|
|
|
|
"start": 0,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
|
|
|
"body": [
|
|
|
|
{
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-05-01 11:36:51 -05:00
|
|
|
"raw": "200",
|
|
|
|
"start": 0,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 200.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-06-24 14:38:43 -04:00
|
|
|
"arguments": [],
|
2025-05-01 11:36:51 -05:00
|
|
|
"callee": {
|
|
|
|
"abs_path": false,
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-24 20:58:55 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-05-01 11:36:51 -05:00
|
|
|
"name": {
|
|
|
|
"commentStart": 0,
|
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-05-01 11:36:51 -05:00
|
|
|
"name": "double",
|
|
|
|
"start": 0,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"path": [],
|
2025-03-24 20:58:55 +13:00
|
|
|
"start": 0,
|
2025-05-01 11:36:51 -05:00
|
|
|
"type": "Name"
|
2025-03-24 20:58:55 +13:00
|
|
|
},
|
2025-05-01 11:36:51 -05:00
|
|
|
"commentStart": 0,
|
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-05-02 16:08:12 -05:00
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"unlabeled": {
|
|
|
|
"commentStart": 0,
|
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-05-02 16:08:12 -05:00
|
|
|
"start": 0,
|
|
|
|
"type": "PipeSubstitution",
|
|
|
|
"type": "PipeSubstitution"
|
|
|
|
}
|
2025-05-01 11:36:51 -05:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"commentStart": 0,
|
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-05-01 11:36:51 -05:00
|
|
|
"start": 0,
|
|
|
|
"type": "PipeExpression",
|
|
|
|
"type": "PipeExpression"
|
|
|
|
}
|
2024-11-18 16:20:32 -06:00
|
|
|
},
|
2024-12-07 07:16:04 +13:00
|
|
|
{
|
2025-05-01 11:36:51 -05:00
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
|
|
|
"commentStart": 0,
|
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-05-01 11:36:51 -05:00
|
|
|
"name": "center",
|
|
|
|
"start": 0,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
|
|
|
"commentStart": 0,
|
|
|
|
"elements": [
|
|
|
|
{
|
|
|
|
"commentStart": 0,
|
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-05-01 11:36:51 -05:00
|
|
|
"raw": "0",
|
|
|
|
"start": 0,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"commentStart": 0,
|
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-05-01 11:36:51 -05:00
|
|
|
"raw": "0",
|
|
|
|
"start": 0,
|
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
2025-01-22 08:29:30 +13:00
|
|
|
}
|
2025-05-01 11:36:51 -05:00
|
|
|
],
|
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-05-01 11:36:51 -05:00
|
|
|
"start": 0,
|
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
}
|
2024-12-07 07:16:04 +13:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
2025-03-24 20:58:55 +13:00
|
|
|
"abs_path": false,
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-24 20:58:55 +13:00
|
|
|
"name": {
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-24 20:58:55 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-24 20:58:55 +13:00
|
|
|
"name": "cube",
|
|
|
|
"start": 0,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"path": [],
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-03-24 20:58:55 +13:00
|
|
|
"type": "Name"
|
2024-11-18 16:20:32 -06:00
|
|
|
},
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2025-05-01 11:36:51 -05:00
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"unlabeled": null
|
2024-12-07 07:16:04 +13:00
|
|
|
},
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-12-07 07:16:04 +13:00
|
|
|
"type": "VariableDeclarator"
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2024-11-18 16:20:32 -06:00
|
|
|
"kind": "const",
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-11-18 16:20:32 -06:00
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"type": "VariableDeclaration"
|
|
|
|
}
|
|
|
|
],
|
2025-03-20 16:23:20 +13:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2024-11-18 16:20:32 -06:00
|
|
|
"nonCodeMeta": {
|
|
|
|
"nonCodeNodes": {
|
|
|
|
"0": [
|
|
|
|
{
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-11-18 16:20:32 -06:00
|
|
|
"type": "NonCodeNode",
|
|
|
|
"value": {
|
|
|
|
"type": "newLine"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"2": [
|
|
|
|
{
|
2025-04-07 17:42:15 +12:00
|
|
|
"commentStart": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"end": 0,
|
2025-06-24 14:38:43 -04:00
|
|
|
"moduleId": 0,
|
2025-03-20 11:06:27 +13:00
|
|
|
"start": 0,
|
2024-11-18 16:20:32 -06:00
|
|
|
"type": "NonCodeNode",
|
|
|
|
"value": {
|
|
|
|
"type": "newLine"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"startNodes": []
|
|
|
|
},
|
|
|
|
"start": 0
|
|
|
|
}
|
|
|
|
}
|