2025-03-06 18:01:24 -05:00
|
|
|
---
|
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
|
|
|
description: Result of parsing car-wheel-assembly.kcl
|
|
|
|
---
|
|
|
|
{
|
|
|
|
"Ok": {
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"end": 163,
|
|
|
|
"path": {
|
|
|
|
"type": "Kcl",
|
|
|
|
"filename": "car-wheel.kcl"
|
|
|
|
},
|
|
|
|
"selector": {
|
|
|
|
"type": "None",
|
|
|
|
"alias": {
|
|
|
|
"end": 163,
|
|
|
|
"name": "carWheel",
|
|
|
|
"start": 155,
|
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"start": 129,
|
|
|
|
"type": "ImportStatement",
|
|
|
|
"type": "ImportStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 198,
|
2025-03-06 18:01:24 -05:00
|
|
|
"path": {
|
|
|
|
"type": "Kcl",
|
|
|
|
"filename": "car-rotor.kcl"
|
|
|
|
},
|
|
|
|
"selector": {
|
|
|
|
"type": "None",
|
|
|
|
"alias": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 198,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "carRotor",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 190,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 164,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ImportStatement",
|
|
|
|
"type": "ImportStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 241,
|
2025-03-06 18:01:24 -05:00
|
|
|
"path": {
|
|
|
|
"type": "Kcl",
|
|
|
|
"filename": "brake-caliper.kcl"
|
|
|
|
},
|
|
|
|
"selector": {
|
|
|
|
"type": "None",
|
|
|
|
"alias": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 241,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "brakeCaliper",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 229,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 199,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ImportStatement",
|
|
|
|
"type": "ImportStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 272,
|
2025-03-06 18:01:24 -05:00
|
|
|
"path": {
|
|
|
|
"type": "Kcl",
|
|
|
|
"filename": "lug-nut.kcl"
|
|
|
|
},
|
|
|
|
"selector": {
|
|
|
|
"type": "None",
|
|
|
|
"alias": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 272,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "lugNut",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 266,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 242,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ImportStatement",
|
|
|
|
"type": "ImportStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 305,
|
2025-03-06 18:01:24 -05:00
|
|
|
"path": {
|
|
|
|
"type": "Kcl",
|
|
|
|
"filename": "car-tire.kcl"
|
|
|
|
},
|
|
|
|
"selector": {
|
|
|
|
"type": "None",
|
|
|
|
"alias": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 305,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "carTire",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 298,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 273,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ImportStatement",
|
|
|
|
"type": "ImportStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 340,
|
2025-03-06 18:01:24 -05:00
|
|
|
"path": {
|
|
|
|
"type": "Kcl",
|
|
|
|
"filename": "globals.kcl"
|
|
|
|
},
|
|
|
|
"selector": {
|
|
|
|
"type": "List",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"alias": null,
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 321,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 321,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "lugCount",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 313,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 313,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ImportItem"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 306,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ImportStatement",
|
|
|
|
"type": "ImportStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 390,
|
2025-03-06 18:01:24 -05:00
|
|
|
"expression": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"body": [
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 350,
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "carRotor",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 342,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 375,
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "translate",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 366,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
|
|
|
"elements": [
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 380,
|
2025-03-13 23:38:51 -07:00
|
|
|
"raw": "0",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 379,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 385,
|
2025-03-13 23:38:51 -07:00
|
|
|
"raw": "0.5",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 382,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.5,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 388,
|
2025-03-13 23:38:51 -07:00
|
|
|
"raw": "0",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 387,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 389,
|
|
|
|
"start": 378,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 365,
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "translate",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 356,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 390,
|
|
|
|
"start": 356,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"unlabeled": null
|
|
|
|
}
|
|
|
|
],
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 390,
|
|
|
|
"start": 342,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "PipeExpression",
|
|
|
|
"type": "PipeExpression"
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 342,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"type": "ExpressionStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 399,
|
2025-03-06 18:01:24 -05:00
|
|
|
"expression": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 399,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "carWheel",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 391,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 391,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"type": "ExpressionStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 563,
|
2025-03-06 18:01:24 -05:00
|
|
|
"expression": {
|
|
|
|
"body": [
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 406,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "lugNut",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 400,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 446,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "arcDegrees",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 436,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 452,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "360",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 449,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 360.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 463,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "axis",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 459,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
|
|
|
"elements": [
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 468,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "0",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 467,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 471,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "1",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 470,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 1.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 474,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "0",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 473,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 475,
|
|
|
|
"start": 466,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 488,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "center",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 482,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
|
|
|
"elements": [
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 493,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "0",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 492,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 496,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "0",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 495,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 499,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "0",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 498,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 500,
|
|
|
|
"start": 491,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 516,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "instances",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 507,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 527,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "lugCount",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 519,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 550,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "rotateDuplicates",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 534,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 558,
|
2025-03-06 18:01:24 -05:00
|
|
|
"raw": "false",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 553,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 429,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "patternCircular3d",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 412,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 563,
|
|
|
|
"start": 412,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"unlabeled": null
|
|
|
|
}
|
|
|
|
],
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 563,
|
|
|
|
"start": 400,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "PipeExpression",
|
|
|
|
"type": "PipeExpression"
|
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 400,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"type": "ExpressionStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 616,
|
2025-03-06 18:01:24 -05:00
|
|
|
"expression": {
|
2025-03-13 23:38:51 -07:00
|
|
|
"body": [
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 576,
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "brakeCaliper",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 564,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"type": "LabeledArg",
|
|
|
|
"label": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 601,
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "translate",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 592,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"arg": {
|
|
|
|
"elements": [
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 606,
|
2025-03-13 23:38:51 -07:00
|
|
|
"raw": "0",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 605,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 611,
|
2025-03-13 23:38:51 -07:00
|
|
|
"raw": "0.5",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 608,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.5,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 614,
|
2025-03-13 23:38:51 -07:00
|
|
|
"raw": "0",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 613,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Literal",
|
|
|
|
"type": "Literal",
|
|
|
|
"value": {
|
|
|
|
"value": 0.0,
|
|
|
|
"suffix": "None"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 615,
|
|
|
|
"start": 604,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "ArrayExpression",
|
|
|
|
"type": "ArrayExpression"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"callee": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 591,
|
2025-03-13 23:38:51 -07:00
|
|
|
"name": "translate",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 582,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "Identifier"
|
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 616,
|
|
|
|
"start": 582,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"type": "CallExpressionKw",
|
|
|
|
"unlabeled": null
|
|
|
|
}
|
|
|
|
],
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 616,
|
|
|
|
"start": 564,
|
2025-03-13 23:38:51 -07:00
|
|
|
"type": "PipeExpression",
|
|
|
|
"type": "PipeExpression"
|
2025-03-06 18:01:24 -05:00
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 564,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"type": "ExpressionStatement"
|
|
|
|
},
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 624,
|
2025-03-06 18:01:24 -05:00
|
|
|
"expression": {
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 624,
|
2025-03-06 18:01:24 -05:00
|
|
|
"name": "carTire",
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 617,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
2025-03-18 20:34:44 -07:00
|
|
|
"start": 617,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"type": "ExpressionStatement"
|
|
|
|
}
|
|
|
|
],
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 625,
|
2025-03-06 18:01:24 -05:00
|
|
|
"innerAttrs": [
|
|
|
|
{
|
|
|
|
"end": 127,
|
|
|
|
"name": {
|
|
|
|
"end": 103,
|
|
|
|
"name": "settings",
|
|
|
|
"start": 95,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"end": 126,
|
|
|
|
"key": {
|
|
|
|
"end": 121,
|
|
|
|
"name": "defaultLengthUnit",
|
|
|
|
"start": 104,
|
|
|
|
"type": "Identifier"
|
|
|
|
},
|
|
|
|
"start": 104,
|
|
|
|
"type": "ObjectProperty",
|
|
|
|
"value": {
|
|
|
|
"end": 126,
|
|
|
|
"name": "in",
|
|
|
|
"start": 124,
|
|
|
|
"type": "Identifier",
|
|
|
|
"type": "Identifier"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"start": 94,
|
|
|
|
"type": "Annotation"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"nonCodeMeta": {
|
|
|
|
"nonCodeNodes": {
|
|
|
|
"5": [
|
|
|
|
{
|
2025-03-18 20:34:44 -07:00
|
|
|
"end": 342,
|
|
|
|
"start": 340,
|
2025-03-06 18:01:24 -05:00
|
|
|
"type": "NonCodeNode",
|
|
|
|
"value": {
|
|
|
|
"type": "newLine"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"startNodes": [
|
|
|
|
{
|
|
|
|
"end": 21,
|
|
|
|
"start": 0,
|
|
|
|
"type": "NonCodeNode",
|
|
|
|
"value": {
|
|
|
|
"type": "blockComment",
|
|
|
|
"value": "Car Wheel Assembly",
|
|
|
|
"style": "line"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 79,
|
|
|
|
"start": 22,
|
|
|
|
"type": "NonCodeNode",
|
|
|
|
"value": {
|
|
|
|
"type": "blockComment",
|
|
|
|
"value": "A car wheel assembly with a rotor, tire, and lug nuts.",
|
|
|
|
"style": "line"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 81,
|
|
|
|
"start": 79,
|
|
|
|
"type": "NonCodeNode",
|
|
|
|
"value": {
|
|
|
|
"type": "newLine"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 93,
|
|
|
|
"start": 81,
|
|
|
|
"type": "NonCodeNode",
|
|
|
|
"value": {
|
|
|
|
"type": "blockComment",
|
|
|
|
"value": "Set units",
|
|
|
|
"style": "line"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"end": 129,
|
|
|
|
"start": 127,
|
|
|
|
"type": "NonCodeNode",
|
|
|
|
"value": {
|
|
|
|
"type": "newLine"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"start": 0
|
|
|
|
}
|
|
|
|
}
|