| 
									
										
										
										
											2024-11-18 16:20:32 -06:00
										 |  |  | --- | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  | source: kcl-lib/src/simulation_tests.rs | 
					
						
							| 
									
										
										
										
											2024-11-18 16:20:32 -06:00
										 |  |  | description: Result of parsing object_prop_not_found.kcl | 
					
						
							|  |  |  | --- | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   "Ok": { | 
					
						
							|  |  |  |     "body": [ | 
					
						
							|  |  |  |       { | 
					
						
							| 
									
										
										
										
											2025-03-20 16:23:20 +13:00
										 |  |  |         "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |         "declaration": { | 
					
						
							| 
									
										
										
										
											2025-03-20 16:23:20 +13:00
										 |  |  |           "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |           "end": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |           "id": { | 
					
						
							| 
									
										
										
										
											2025-03-20 16:23:20 +13:00
										 |  |  |             "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |             "end": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |             "name": "obj", | 
					
						
							| 
									
										
										
										
											2024-11-18 16:20:32 -06:00
										 |  |  |             "start": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |             "type": "Identifier" | 
					
						
							|  |  |  |           }, | 
					
						
							|  |  |  |           "init": { | 
					
						
							| 
									
										
										
										
											2025-03-20 16:23:20 +13:00
										 |  |  |             "commentStart": 6, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |             "end": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |             "properties": [], | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |             "start": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |             "type": "ObjectExpression", | 
					
						
							|  |  |  |             "type": "ObjectExpression" | 
					
						
							|  |  |  |           }, | 
					
						
							|  |  |  |           "start": 0, | 
					
						
							|  |  |  |           "type": "VariableDeclarator" | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |         "end": 0, | 
					
						
							| 
									
										
										
										
											2024-11-18 16:20:32 -06:00
										 |  |  |         "kind": "const", | 
					
						
							|  |  |  |         "start": 0, | 
					
						
							|  |  |  |         "type": "VariableDeclaration", | 
					
						
							|  |  |  |         "type": "VariableDeclaration" | 
					
						
							|  |  |  |       }, | 
					
						
							|  |  |  |       { | 
					
						
							| 
									
										
										
										
											2025-03-20 16:23:20 +13:00
										 |  |  |         "commentStart": 11, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |         "declaration": { | 
					
						
							| 
									
										
										
										
											2025-03-20 16:23:20 +13:00
										 |  |  |           "commentStart": 11, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |           "end": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |           "id": { | 
					
						
							| 
									
										
										
										
											2025-03-20 16:23:20 +13:00
										 |  |  |             "commentStart": 11, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |             "end": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |             "name": "k", | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |             "start": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |             "type": "Identifier" | 
					
						
							|  |  |  |           }, | 
					
						
							|  |  |  |           "init": { | 
					
						
							| 
									
										
										
										
											2025-03-20 16:23:20 +13:00
										 |  |  |             "commentStart": 15, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |             "computed": false, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |             "end": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |             "object": { | 
					
						
							| 
									
										
										
										
											2025-03-20 16:23:20 +13:00
										 |  |  |               "commentStart": 15, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |               "end": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |               "name": "obj", | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |               "start": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |               "type": "Identifier", | 
					
						
							| 
									
										
										
										
											2024-11-18 16:20:32 -06:00
										 |  |  |               "type": "Identifier" | 
					
						
							|  |  |  |             }, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |             "property": { | 
					
						
							| 
									
										
										
										
											2025-03-20 16:23:20 +13:00
										 |  |  |               "commentStart": 19, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |               "end": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |               "raw": "\"age\"", | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |               "start": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |               "type": "Literal", | 
					
						
							|  |  |  |               "type": "Literal", | 
					
						
							|  |  |  |               "value": "age" | 
					
						
							| 
									
										
										
										
											2024-11-18 16:20:32 -06:00
										 |  |  |             }, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |             "start": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |             "type": "MemberExpression", | 
					
						
							|  |  |  |             "type": "MemberExpression" | 
					
						
							|  |  |  |           }, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |           "start": 0, | 
					
						
							| 
									
										
										
										
											2024-12-07 07:16:04 +13:00
										 |  |  |           "type": "VariableDeclarator" | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |         "end": 0, | 
					
						
							| 
									
										
										
										
											2024-11-18 16:20:32 -06:00
										 |  |  |         "kind": "const", | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |         "start": 0, | 
					
						
							| 
									
										
										
										
											2024-11-18 16:20:32 -06:00
										 |  |  |         "type": "VariableDeclaration", | 
					
						
							|  |  |  |         "type": "VariableDeclaration" | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2025-03-20 16:23:20 +13:00
										 |  |  |     "commentStart": 0, | 
					
						
							| 
									
										
										
										
											2025-03-20 11:06:27 +13:00
										 |  |  |     "end": 0, | 
					
						
							| 
									
										
										
										
											2024-11-18 16:20:32 -06:00
										 |  |  |     "start": 0 | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } |