| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  | --- | 
					
						
							|  |  |  | source: kcl-lib/src/simulation_tests.rs | 
					
						
							|  |  |  | description: Result of parsing assembly_mixed_units_cubes.kcl | 
					
						
							|  |  |  | --- | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   "Ok": { | 
					
						
							|  |  |  |     "body": [ | 
					
						
							|  |  |  |       { | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |         "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |         "end": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |         "path": { | 
					
						
							|  |  |  |           "type": "Kcl", | 
					
						
							|  |  |  |           "filename": "cube-inches.kcl" | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "selector": { | 
					
						
							|  |  |  |           "type": "None", | 
					
						
							|  |  |  |           "alias": { | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |             "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |             "end": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |             "name": "cubeIn", | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |             "start": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |             "type": "Identifier" | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |         "start": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |         "type": "ImportStatement", | 
					
						
							|  |  |  |         "type": "ImportStatement" | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       { | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |         "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |         "end": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |         "path": { | 
					
						
							|  |  |  |           "type": "Kcl", | 
					
						
							|  |  |  |           "filename": "cube-mm.kcl" | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "selector": { | 
					
						
							|  |  |  |           "type": "None", | 
					
						
							|  |  |  |           "alias": { | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |             "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |             "end": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |             "name": "cubeMm", | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |             "start": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |             "type": "Identifier" | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |         "start": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |         "type": "ImportStatement", | 
					
						
							|  |  |  |         "type": "ImportStatement" | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       { | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |         "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |         "end": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |         "expression": { | 
					
						
							| 
									
										
										
										
											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-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, | 
					
						
							|  |  |  |             "name": "cubeIn", | 
					
						
							|  |  |  |             "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" | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |         "start": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |         "type": "ExpressionStatement", | 
					
						
							|  |  |  |         "type": "ExpressionStatement" | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       { | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |         "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |         "end": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |         "expression": { | 
					
						
							| 
									
										
										
										
											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-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, | 
					
						
							|  |  |  |             "name": "cubeMm", | 
					
						
							|  |  |  |             "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" | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |         "start": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |         "type": "ExpressionStatement", | 
					
						
							|  |  |  |         "type": "ExpressionStatement" | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2025-03-20 16:23:20 +13:00
										 |  |  |     "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |     "end": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |     "innerAttrs": [ | 
					
						
							|  |  |  |       { | 
					
						
							| 
									
										
										
										
											2025-03-20 16:23:20 +13:00
										 |  |  |         "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |         "end": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |         "name": { | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |           "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |           "end": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |           "name": "settings", | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |           "start": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |           "type": "Identifier" | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "properties": [ | 
					
						
							|  |  |  |           { | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |             "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |             "end": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |             "key": { | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |               "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |               "end": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |               "name": "defaultLengthUnit", | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |               "start": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |               "type": "Identifier" | 
					
						
							|  |  |  |             }, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |             "start": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |             "type": "ObjectProperty", | 
					
						
							|  |  |  |             "value": { | 
					
						
							| 
									
										
										
										
											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-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, | 
					
						
							|  |  |  |                 "name": "in", | 
					
						
							|  |  |  |                 "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" | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  |         "start": 0, | 
					
						
							|  |  |  |         "type": "Annotation" | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "nonCodeMeta": { | 
					
						
							|  |  |  |       "nonCodeNodes": { | 
					
						
							|  |  |  |         "1": [ | 
					
						
							|  |  |  |           { | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |             "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |             "end": 0, | 
					
						
							|  |  |  |             "start": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |             "type": "NonCodeNode", | 
					
						
							|  |  |  |             "value": { | 
					
						
							|  |  |  |               "type": "newLine" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         ] | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       "startNodes": [ | 
					
						
							|  |  |  |         { | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |           "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |           "end": 0, | 
					
						
							|  |  |  |           "start": 0, | 
					
						
							| 
									
										
										
										
											2025-03-17 11:26:56 -04:00
										 |  |  |           "type": "NonCodeNode", | 
					
						
							|  |  |  |           "value": { | 
					
						
							|  |  |  |             "type": "newLine" | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       ] | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     "start": 0 | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } |