| 
									
										
										
										
											2025-05-20 20:47:32 -04:00
										 |  |  | --- | 
					
						
							|  |  |  | source: kcl-lib/src/simulation_tests.rs | 
					
						
							| 
									
										
										
										
											2025-06-24 14:38:43 -04:00
										 |  |  | description: Result of parsing nested_assembly.kcl | 
					
						
							| 
									
										
										
										
											2025-05-20 20:47:32 -04:00
										 |  |  | --- | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   "Ok": { | 
					
						
							|  |  |  |     "body": [ | 
					
						
							|  |  |  |       { | 
					
						
							|  |  |  |         "commentStart": 0, | 
					
						
							|  |  |  |         "end": 0, | 
					
						
							| 
									
										
										
										
											2025-06-24 14:38:43 -04:00
										 |  |  |         "moduleId": 0, | 
					
						
							| 
									
										
										
										
											2025-05-20 20:47:32 -04:00
										 |  |  |         "path": { | 
					
						
							|  |  |  |           "type": "Kcl", | 
					
						
							|  |  |  |           "filename": "nested/foo/bar/main.kcl" | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "selector": { | 
					
						
							|  |  |  |           "type": "None", | 
					
						
							|  |  |  |           "alias": { | 
					
						
							|  |  |  |             "commentStart": 0, | 
					
						
							|  |  |  |             "end": 0, | 
					
						
							| 
									
										
										
										
											2025-06-24 14:38:43 -04:00
										 |  |  |             "moduleId": 0, | 
					
						
							| 
									
										
										
										
											2025-05-20 20:47:32 -04:00
										 |  |  |             "name": "bar", | 
					
						
							|  |  |  |             "start": 0, | 
					
						
							|  |  |  |             "type": "Identifier" | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "start": 0, | 
					
						
							|  |  |  |         "type": "ImportStatement", | 
					
						
							|  |  |  |         "type": "ImportStatement" | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       { | 
					
						
							|  |  |  |         "commentStart": 0, | 
					
						
							|  |  |  |         "end": 0, | 
					
						
							|  |  |  |         "expression": { | 
					
						
							|  |  |  |           "abs_path": false, | 
					
						
							|  |  |  |           "commentStart": 0, | 
					
						
							|  |  |  |           "end": 0, | 
					
						
							| 
									
										
										
										
											2025-06-24 14:38:43 -04:00
										 |  |  |           "moduleId": 0, | 
					
						
							| 
									
										
										
										
											2025-05-20 20:47:32 -04:00
										 |  |  |           "name": { | 
					
						
							|  |  |  |             "commentStart": 0, | 
					
						
							|  |  |  |             "end": 0, | 
					
						
							| 
									
										
										
										
											2025-06-24 14:38:43 -04:00
										 |  |  |             "moduleId": 0, | 
					
						
							| 
									
										
										
										
											2025-05-20 20:47:32 -04:00
										 |  |  |             "name": "bar", | 
					
						
							|  |  |  |             "start": 0, | 
					
						
							|  |  |  |             "type": "Identifier" | 
					
						
							|  |  |  |           }, | 
					
						
							|  |  |  |           "path": [], | 
					
						
							|  |  |  |           "start": 0, | 
					
						
							|  |  |  |           "type": "Name", | 
					
						
							|  |  |  |           "type": "Name" | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-06-24 14:38:43 -04:00
										 |  |  |         "moduleId": 0, | 
					
						
							| 
									
										
										
										
											2025-05-20 20:47:32 -04:00
										 |  |  |         "start": 0, | 
					
						
							|  |  |  |         "type": "ExpressionStatement", | 
					
						
							|  |  |  |         "type": "ExpressionStatement" | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "commentStart": 0, | 
					
						
							|  |  |  |     "end": 0, | 
					
						
							| 
									
										
										
										
											2025-06-24 14:38:43 -04:00
										 |  |  |     "moduleId": 0, | 
					
						
							| 
									
										
										
										
											2025-05-20 20:47:32 -04:00
										 |  |  |     "nonCodeMeta": { | 
					
						
							|  |  |  |       "nonCodeNodes": { | 
					
						
							|  |  |  |         "0": [ | 
					
						
							|  |  |  |           { | 
					
						
							|  |  |  |             "commentStart": 0, | 
					
						
							|  |  |  |             "end": 0, | 
					
						
							| 
									
										
										
										
											2025-06-24 14:38:43 -04:00
										 |  |  |             "moduleId": 0, | 
					
						
							| 
									
										
										
										
											2025-05-20 20:47:32 -04:00
										 |  |  |             "start": 0, | 
					
						
							|  |  |  |             "type": "NonCodeNode", | 
					
						
							|  |  |  |             "value": { | 
					
						
							|  |  |  |               "type": "newLine" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         ] | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       "startNodes": [] | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     "start": 0 | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } |