--- source: kcl/src/simulation_tests.rs description: Result of parsing invalid_member_object.kcl --- { "Ok": { "body": [ { "declaration": { "end": 9, "id": { "end": 3, "name": "num", "start": 0, "type": "Identifier" }, "init": { "end": 9, "raw": "999", "start": 6, "type": "Literal", "type": "Literal", "value": { "value": 999.0, "suffix": "None" } }, "start": 0, "type": "VariableDeclarator" }, "end": 9, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 20, "id": { "end": 11, "name": "x", "start": 10, "type": "Identifier" }, "init": { "computed": false, "end": 20, "object": { "end": 17, "name": "num", "start": 14, "type": "Identifier", "type": "Identifier" }, "property": { "end": 19, "raw": "3", "start": 18, "type": "Literal", "type": "Literal", "value": { "value": 3.0, "suffix": "None" } }, "start": 14, "type": "MemberExpression", "type": "MemberExpression" }, "start": 10, "type": "VariableDeclarator" }, "end": 20, "kind": "const", "start": 10, "type": "VariableDeclaration", "type": "VariableDeclaration" } ], "end": 21, "start": 0 } }