846 lines
32 KiB
Plaintext
846 lines
32 KiB
Plaintext
|
|
---
|
||
|
|
source: kcl/src/simulation_tests.rs
|
||
|
|
description: Result of parsing sketch_in_object.kcl
|
||
|
|
snapshot_kind: text
|
||
|
|
---
|
||
|
|
{
|
||
|
|
"Ok": {
|
||
|
|
"body": [
|
||
|
|
{
|
||
|
|
"declarations": [
|
||
|
|
{
|
||
|
|
"end": 157,
|
||
|
|
"id": {
|
||
|
|
"end": 7,
|
||
|
|
"name": "test",
|
||
|
|
"start": 3,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"init": {
|
||
|
|
"body": {
|
||
|
|
"body": [
|
||
|
|
{
|
||
|
|
"argument": {
|
||
|
|
"body": [
|
||
|
|
{
|
||
|
|
"arguments": [
|
||
|
|
{
|
||
|
|
"end": 45,
|
||
|
|
"raw": "'XY'",
|
||
|
|
"start": 41,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": "XY"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"callee": {
|
||
|
|
"end": 40,
|
||
|
|
"name": "startSketchOn",
|
||
|
|
"start": 27,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 46,
|
||
|
|
"optional": false,
|
||
|
|
"start": 27,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"arguments": [
|
||
|
|
{
|
||
|
|
"elements": [
|
||
|
|
{
|
||
|
|
"end": 69,
|
||
|
|
"raw": "0",
|
||
|
|
"start": 68,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 0
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 72,
|
||
|
|
"raw": "0",
|
||
|
|
"start": 71,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 0
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 73,
|
||
|
|
"start": 67,
|
||
|
|
"type": "ArrayExpression",
|
||
|
|
"type": "ArrayExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 76,
|
||
|
|
"start": 75,
|
||
|
|
"type": "PipeSubstitution",
|
||
|
|
"type": "PipeSubstitution"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"callee": {
|
||
|
|
"end": 66,
|
||
|
|
"name": "startProfileAt",
|
||
|
|
"start": 52,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 77,
|
||
|
|
"optional": false,
|
||
|
|
"start": 52,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"arguments": [
|
||
|
|
{
|
||
|
|
"elements": [
|
||
|
|
{
|
||
|
|
"end": 90,
|
||
|
|
"raw": "0",
|
||
|
|
"start": 89,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 0
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 93,
|
||
|
|
"raw": "1",
|
||
|
|
"start": 92,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 1
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 94,
|
||
|
|
"start": 88,
|
||
|
|
"type": "ArrayExpression",
|
||
|
|
"type": "ArrayExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 97,
|
||
|
|
"start": 96,
|
||
|
|
"type": "PipeSubstitution",
|
||
|
|
"type": "PipeSubstitution"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"callee": {
|
||
|
|
"end": 87,
|
||
|
|
"name": "line",
|
||
|
|
"start": 83,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 98,
|
||
|
|
"optional": false,
|
||
|
|
"start": 83,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"arguments": [
|
||
|
|
{
|
||
|
|
"elements": [
|
||
|
|
{
|
||
|
|
"end": 111,
|
||
|
|
"raw": "1",
|
||
|
|
"start": 110,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 1
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 114,
|
||
|
|
"raw": "0",
|
||
|
|
"start": 113,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 0
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 115,
|
||
|
|
"start": 109,
|
||
|
|
"type": "ArrayExpression",
|
||
|
|
"type": "ArrayExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 118,
|
||
|
|
"start": 117,
|
||
|
|
"type": "PipeSubstitution",
|
||
|
|
"type": "PipeSubstitution"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"callee": {
|
||
|
|
"end": 108,
|
||
|
|
"name": "line",
|
||
|
|
"start": 104,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 119,
|
||
|
|
"optional": false,
|
||
|
|
"start": 104,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"arguments": [
|
||
|
|
{
|
||
|
|
"elements": [
|
||
|
|
{
|
||
|
|
"end": 132,
|
||
|
|
"raw": "0",
|
||
|
|
"start": 131,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 0
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"argument": {
|
||
|
|
"end": 136,
|
||
|
|
"raw": "1",
|
||
|
|
"start": 135,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 1
|
||
|
|
},
|
||
|
|
"end": 136,
|
||
|
|
"operator": "-",
|
||
|
|
"start": 134,
|
||
|
|
"type": "UnaryExpression",
|
||
|
|
"type": "UnaryExpression"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 137,
|
||
|
|
"start": 130,
|
||
|
|
"type": "ArrayExpression",
|
||
|
|
"type": "ArrayExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 140,
|
||
|
|
"start": 139,
|
||
|
|
"type": "PipeSubstitution",
|
||
|
|
"type": "PipeSubstitution"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"callee": {
|
||
|
|
"end": 129,
|
||
|
|
"name": "line",
|
||
|
|
"start": 125,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 141,
|
||
|
|
"optional": false,
|
||
|
|
"start": 125,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"arguments": [
|
||
|
|
{
|
||
|
|
"end": 154,
|
||
|
|
"start": 153,
|
||
|
|
"type": "PipeSubstitution",
|
||
|
|
"type": "PipeSubstitution"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"callee": {
|
||
|
|
"end": 152,
|
||
|
|
"name": "close",
|
||
|
|
"start": 147,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 155,
|
||
|
|
"optional": false,
|
||
|
|
"start": 147,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 155,
|
||
|
|
"start": 27,
|
||
|
|
"type": "PipeExpression",
|
||
|
|
"type": "PipeExpression"
|
||
|
|
},
|
||
|
|
"end": 155,
|
||
|
|
"start": 20,
|
||
|
|
"type": "ReturnStatement",
|
||
|
|
"type": "ReturnStatement"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 157,
|
||
|
|
"start": 16
|
||
|
|
},
|
||
|
|
"end": 157,
|
||
|
|
"params": [],
|
||
|
|
"start": 10,
|
||
|
|
"type": "FunctionExpression",
|
||
|
|
"type": "FunctionExpression"
|
||
|
|
},
|
||
|
|
"start": 3,
|
||
|
|
"type": "VariableDeclarator"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 157,
|
||
|
|
"kind": "fn",
|
||
|
|
"start": 0,
|
||
|
|
"type": "VariableDeclaration",
|
||
|
|
"type": "VariableDeclaration"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"declarations": [
|
||
|
|
{
|
||
|
|
"end": 369,
|
||
|
|
"id": {
|
||
|
|
"end": 167,
|
||
|
|
"name": "test2",
|
||
|
|
"start": 162,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"init": {
|
||
|
|
"body": {
|
||
|
|
"body": [
|
||
|
|
{
|
||
|
|
"argument": {
|
||
|
|
"end": 367,
|
||
|
|
"properties": [
|
||
|
|
{
|
||
|
|
"end": 365,
|
||
|
|
"key": {
|
||
|
|
"end": 197,
|
||
|
|
"name": "thing1",
|
||
|
|
"start": 191,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"start": 191,
|
||
|
|
"type": "ObjectProperty",
|
||
|
|
"value": {
|
||
|
|
"end": 365,
|
||
|
|
"properties": [
|
||
|
|
{
|
||
|
|
"end": 361,
|
||
|
|
"key": {
|
||
|
|
"end": 211,
|
||
|
|
"name": "thing2",
|
||
|
|
"start": 205,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"start": 205,
|
||
|
|
"type": "ObjectProperty",
|
||
|
|
"value": {
|
||
|
|
"body": [
|
||
|
|
{
|
||
|
|
"arguments": [
|
||
|
|
{
|
||
|
|
"end": 231,
|
||
|
|
"raw": "'XY'",
|
||
|
|
"start": 227,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": "XY"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"callee": {
|
||
|
|
"end": 226,
|
||
|
|
"name": "startSketchOn",
|
||
|
|
"start": 213,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 232,
|
||
|
|
"optional": false,
|
||
|
|
"start": 213,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"arguments": [
|
||
|
|
{
|
||
|
|
"elements": [
|
||
|
|
{
|
||
|
|
"end": 259,
|
||
|
|
"raw": "0",
|
||
|
|
"start": 258,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 0
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 262,
|
||
|
|
"raw": "0",
|
||
|
|
"start": 261,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 0
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 263,
|
||
|
|
"start": 257,
|
||
|
|
"type": "ArrayExpression",
|
||
|
|
"type": "ArrayExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 266,
|
||
|
|
"start": 265,
|
||
|
|
"type": "PipeSubstitution",
|
||
|
|
"type": "PipeSubstitution"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"callee": {
|
||
|
|
"end": 256,
|
||
|
|
"name": "startProfileAt",
|
||
|
|
"start": 242,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 267,
|
||
|
|
"optional": false,
|
||
|
|
"start": 242,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"arguments": [
|
||
|
|
{
|
||
|
|
"elements": [
|
||
|
|
{
|
||
|
|
"end": 284,
|
||
|
|
"raw": "0",
|
||
|
|
"start": 283,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 0
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 287,
|
||
|
|
"raw": "1",
|
||
|
|
"start": 286,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 1
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 288,
|
||
|
|
"start": 282,
|
||
|
|
"type": "ArrayExpression",
|
||
|
|
"type": "ArrayExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 291,
|
||
|
|
"start": 290,
|
||
|
|
"type": "PipeSubstitution",
|
||
|
|
"type": "PipeSubstitution"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"callee": {
|
||
|
|
"end": 281,
|
||
|
|
"name": "line",
|
||
|
|
"start": 277,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 292,
|
||
|
|
"optional": false,
|
||
|
|
"start": 277,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"arguments": [
|
||
|
|
{
|
||
|
|
"elements": [
|
||
|
|
{
|
||
|
|
"end": 309,
|
||
|
|
"raw": "1",
|
||
|
|
"start": 308,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 1
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 312,
|
||
|
|
"raw": "0",
|
||
|
|
"start": 311,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 0
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 313,
|
||
|
|
"start": 307,
|
||
|
|
"type": "ArrayExpression",
|
||
|
|
"type": "ArrayExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 316,
|
||
|
|
"start": 315,
|
||
|
|
"type": "PipeSubstitution",
|
||
|
|
"type": "PipeSubstitution"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"callee": {
|
||
|
|
"end": 306,
|
||
|
|
"name": "line",
|
||
|
|
"start": 302,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 317,
|
||
|
|
"optional": false,
|
||
|
|
"start": 302,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"arguments": [
|
||
|
|
{
|
||
|
|
"elements": [
|
||
|
|
{
|
||
|
|
"end": 334,
|
||
|
|
"raw": "0",
|
||
|
|
"start": 333,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 0
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"argument": {
|
||
|
|
"end": 338,
|
||
|
|
"raw": "1",
|
||
|
|
"start": 337,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 1
|
||
|
|
},
|
||
|
|
"end": 338,
|
||
|
|
"operator": "-",
|
||
|
|
"start": 336,
|
||
|
|
"type": "UnaryExpression",
|
||
|
|
"type": "UnaryExpression"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 339,
|
||
|
|
"start": 332,
|
||
|
|
"type": "ArrayExpression",
|
||
|
|
"type": "ArrayExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 342,
|
||
|
|
"start": 341,
|
||
|
|
"type": "PipeSubstitution",
|
||
|
|
"type": "PipeSubstitution"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"callee": {
|
||
|
|
"end": 331,
|
||
|
|
"name": "line",
|
||
|
|
"start": 327,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 343,
|
||
|
|
"optional": false,
|
||
|
|
"start": 327,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"arguments": [
|
||
|
|
{
|
||
|
|
"end": 360,
|
||
|
|
"start": 359,
|
||
|
|
"type": "PipeSubstitution",
|
||
|
|
"type": "PipeSubstitution"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"callee": {
|
||
|
|
"end": 358,
|
||
|
|
"name": "close",
|
||
|
|
"start": 353,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 361,
|
||
|
|
"optional": false,
|
||
|
|
"start": 353,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 361,
|
||
|
|
"start": 213,
|
||
|
|
"type": "PipeExpression",
|
||
|
|
"type": "PipeExpression"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"start": 199,
|
||
|
|
"type": "ObjectExpression",
|
||
|
|
"type": "ObjectExpression"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"start": 187,
|
||
|
|
"type": "ObjectExpression",
|
||
|
|
"type": "ObjectExpression"
|
||
|
|
},
|
||
|
|
"end": 367,
|
||
|
|
"start": 180,
|
||
|
|
"type": "ReturnStatement",
|
||
|
|
"type": "ReturnStatement"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 369,
|
||
|
|
"start": 176
|
||
|
|
},
|
||
|
|
"end": 369,
|
||
|
|
"params": [],
|
||
|
|
"start": 170,
|
||
|
|
"type": "FunctionExpression",
|
||
|
|
"type": "FunctionExpression"
|
||
|
|
},
|
||
|
|
"start": 162,
|
||
|
|
"type": "VariableDeclarator"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 369,
|
||
|
|
"kind": "fn",
|
||
|
|
"start": 159,
|
||
|
|
"type": "VariableDeclaration",
|
||
|
|
"type": "VariableDeclaration"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"declarations": [
|
||
|
|
{
|
||
|
|
"end": 381,
|
||
|
|
"id": {
|
||
|
|
"end": 372,
|
||
|
|
"name": "x",
|
||
|
|
"start": 371,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"init": {
|
||
|
|
"arguments": [],
|
||
|
|
"callee": {
|
||
|
|
"end": 379,
|
||
|
|
"name": "test",
|
||
|
|
"start": 375,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 381,
|
||
|
|
"optional": false,
|
||
|
|
"start": 375,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
},
|
||
|
|
"start": 371,
|
||
|
|
"type": "VariableDeclarator"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 381,
|
||
|
|
"kind": "const",
|
||
|
|
"start": 371,
|
||
|
|
"type": "VariableDeclaration",
|
||
|
|
"type": "VariableDeclaration"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 404,
|
||
|
|
"expression": {
|
||
|
|
"body": [
|
||
|
|
{
|
||
|
|
"end": 383,
|
||
|
|
"name": "x",
|
||
|
|
"start": 382,
|
||
|
|
"type": "Identifier",
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"arguments": [
|
||
|
|
{
|
||
|
|
"argument": {
|
||
|
|
"end": 400,
|
||
|
|
"raw": "10",
|
||
|
|
"start": 398,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 10
|
||
|
|
},
|
||
|
|
"end": 400,
|
||
|
|
"operator": "-",
|
||
|
|
"start": 397,
|
||
|
|
"type": "UnaryExpression",
|
||
|
|
"type": "UnaryExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 403,
|
||
|
|
"start": 402,
|
||
|
|
"type": "PipeSubstitution",
|
||
|
|
"type": "PipeSubstitution"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"callee": {
|
||
|
|
"end": 396,
|
||
|
|
"name": "extrude",
|
||
|
|
"start": 389,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 404,
|
||
|
|
"optional": false,
|
||
|
|
"start": 389,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 404,
|
||
|
|
"start": 382,
|
||
|
|
"type": "PipeExpression",
|
||
|
|
"type": "PipeExpression"
|
||
|
|
},
|
||
|
|
"start": 382,
|
||
|
|
"type": "ExpressionStatement",
|
||
|
|
"type": "ExpressionStatement"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"declarations": [
|
||
|
|
{
|
||
|
|
"end": 418,
|
||
|
|
"id": {
|
||
|
|
"end": 408,
|
||
|
|
"name": "x2",
|
||
|
|
"start": 406,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"init": {
|
||
|
|
"arguments": [],
|
||
|
|
"callee": {
|
||
|
|
"end": 416,
|
||
|
|
"name": "test2",
|
||
|
|
"start": 411,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 418,
|
||
|
|
"optional": false,
|
||
|
|
"start": 411,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
},
|
||
|
|
"start": 406,
|
||
|
|
"type": "VariableDeclarator"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 418,
|
||
|
|
"kind": "const",
|
||
|
|
"start": 406,
|
||
|
|
"type": "VariableDeclaration",
|
||
|
|
"type": "VariableDeclaration"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 455,
|
||
|
|
"expression": {
|
||
|
|
"body": [
|
||
|
|
{
|
||
|
|
"computed": false,
|
||
|
|
"end": 435,
|
||
|
|
"object": {
|
||
|
|
"computed": false,
|
||
|
|
"end": 428,
|
||
|
|
"object": {
|
||
|
|
"end": 421,
|
||
|
|
"name": "x2",
|
||
|
|
"start": 419,
|
||
|
|
"type": "Identifier",
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"property": {
|
||
|
|
"end": 428,
|
||
|
|
"name": "thing1",
|
||
|
|
"start": 422,
|
||
|
|
"type": "Identifier",
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"start": 419,
|
||
|
|
"type": "MemberExpression",
|
||
|
|
"type": "MemberExpression"
|
||
|
|
},
|
||
|
|
"property": {
|
||
|
|
"end": 435,
|
||
|
|
"name": "thing2",
|
||
|
|
"start": 429,
|
||
|
|
"type": "Identifier",
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"start": 419,
|
||
|
|
"type": "MemberExpression",
|
||
|
|
"type": "MemberExpression"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"arguments": [
|
||
|
|
{
|
||
|
|
"end": 451,
|
||
|
|
"raw": "10",
|
||
|
|
"start": 449,
|
||
|
|
"type": "Literal",
|
||
|
|
"type": "Literal",
|
||
|
|
"value": 10
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"end": 454,
|
||
|
|
"start": 453,
|
||
|
|
"type": "PipeSubstitution",
|
||
|
|
"type": "PipeSubstitution"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"callee": {
|
||
|
|
"end": 448,
|
||
|
|
"name": "extrude",
|
||
|
|
"start": 441,
|
||
|
|
"type": "Identifier"
|
||
|
|
},
|
||
|
|
"end": 455,
|
||
|
|
"optional": false,
|
||
|
|
"start": 441,
|
||
|
|
"type": "CallExpression",
|
||
|
|
"type": "CallExpression"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 455,
|
||
|
|
"start": 419,
|
||
|
|
"type": "PipeExpression",
|
||
|
|
"type": "PipeExpression"
|
||
|
|
},
|
||
|
|
"start": 419,
|
||
|
|
"type": "ExpressionStatement",
|
||
|
|
"type": "ExpressionStatement"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"end": 456,
|
||
|
|
"nonCodeMeta": {
|
||
|
|
"nonCodeNodes": {
|
||
|
|
"0": [
|
||
|
|
{
|
||
|
|
"end": 159,
|
||
|
|
"start": 157,
|
||
|
|
"type": "NonCodeNode",
|
||
|
|
"value": {
|
||
|
|
"type": "newLine"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"1": [
|
||
|
|
{
|
||
|
|
"end": 371,
|
||
|
|
"start": 369,
|
||
|
|
"type": "NonCodeNode",
|
||
|
|
"value": {
|
||
|
|
"type": "newLine"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"3": [
|
||
|
|
{
|
||
|
|
"end": 406,
|
||
|
|
"start": 404,
|
||
|
|
"type": "NonCodeNode",
|
||
|
|
"value": {
|
||
|
|
"type": "newLine"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"startNodes": []
|
||
|
|
},
|
||
|
|
"start": 0
|
||
|
|
}
|
||
|
|
}
|