| 
									
										
										
										
											2025-03-31 19:46:29 -04:00
										 |  |  | --- | 
					
						
							|  |  |  | source: kcl-lib/src/simulation_tests.rs | 
					
						
							|  |  |  | description: Result of parsing pattern_circular_in_module.kcl | 
					
						
							|  |  |  | --- | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   "Ok": { | 
					
						
							|  |  |  |     "body": [ | 
					
						
							|  |  |  |       { | 
					
						
							|  |  |  |         "commentStart": 0, | 
					
						
							|  |  |  |         "end": 0, | 
					
						
							|  |  |  |         "path": { | 
					
						
							|  |  |  |           "type": "Kcl", | 
					
						
							|  |  |  |           "filename": "thing.kcl" | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "selector": { | 
					
						
							|  |  |  |           "type": "List", | 
					
						
							|  |  |  |           "items": [ | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |               "alias": null, | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |               "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-31 19:46:29 -04:00
										 |  |  |               "end": 0, | 
					
						
							|  |  |  |               "name": { | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |                 "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-31 19:46:29 -04:00
										 |  |  |                 "end": 0, | 
					
						
							|  |  |  |                 "name": "thing", | 
					
						
							|  |  |  |                 "start": 0, | 
					
						
							|  |  |  |                 "type": "Identifier" | 
					
						
							|  |  |  |               }, | 
					
						
							|  |  |  |               "start": 0, | 
					
						
							|  |  |  |               "type": "ImportItem" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           ] | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "start": 0, | 
					
						
							|  |  |  |         "type": "ImportStatement", | 
					
						
							|  |  |  |         "type": "ImportStatement" | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       { | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |         "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-31 19:46:29 -04:00
										 |  |  |         "end": 0, | 
					
						
							|  |  |  |         "expression": { | 
					
						
							|  |  |  |           "callee": { | 
					
						
							|  |  |  |             "abs_path": false, | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |             "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-31 19:46:29 -04:00
										 |  |  |             "end": 0, | 
					
						
							|  |  |  |             "name": { | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |               "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-31 19:46:29 -04:00
										 |  |  |               "end": 0, | 
					
						
							|  |  |  |               "name": "thing", | 
					
						
							|  |  |  |               "start": 0, | 
					
						
							|  |  |  |               "type": "Identifier" | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "path": [], | 
					
						
							|  |  |  |             "start": 0, | 
					
						
							|  |  |  |             "type": "Name" | 
					
						
							|  |  |  |           }, | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |           "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-31 19:46:29 -04:00
										 |  |  |           "end": 0, | 
					
						
							|  |  |  |           "start": 0, | 
					
						
							| 
									
										
										
										
											2025-05-02 16:08:12 -05:00
										 |  |  |           "type": "CallExpressionKw", | 
					
						
							|  |  |  |           "type": "CallExpressionKw", | 
					
						
							|  |  |  |           "unlabeled": null | 
					
						
							| 
									
										
										
										
											2025-03-31 19:46:29 -04:00
										 |  |  |         }, | 
					
						
							|  |  |  |         "start": 0, | 
					
						
							|  |  |  |         "type": "ExpressionStatement", | 
					
						
							|  |  |  |         "type": "ExpressionStatement" | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     "commentStart": 0, | 
					
						
							|  |  |  |     "end": 0, | 
					
						
							|  |  |  |     "nonCodeMeta": { | 
					
						
							|  |  |  |       "nonCodeNodes": { | 
					
						
							|  |  |  |         "0": [ | 
					
						
							|  |  |  |           { | 
					
						
							| 
									
										
										
										
											2025-04-07 17:42:15 +12:00
										 |  |  |             "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-31 19:46:29 -04:00
										 |  |  |             "end": 0, | 
					
						
							|  |  |  |             "start": 0, | 
					
						
							|  |  |  |             "type": "NonCodeNode", | 
					
						
							|  |  |  |             "value": { | 
					
						
							|  |  |  |               "type": "newLine" | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  |           } | 
					
						
							|  |  |  |         ] | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       "startNodes": [] | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     "start": 0 | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } |