--- source: kcl-lib/src/simulation_tests.rs description: Result of parsing array_elem_pop_empty_fail.kcl --- { "Ok": { "body": [ { "declaration": { "end": 8, "id": { "end": 3, "name": "arr", "start": 0, "type": "Identifier" }, "init": { "elements": [], "end": 8, "start": 6, "type": "ArrayExpression", "type": "ArrayExpression" }, "start": 0, "type": "VariableDeclarator" }, "end": 8, "kind": "const", "start": 0, "type": "VariableDeclaration", "type": "VariableDeclaration" }, { "declaration": { "end": 24, "id": { "end": 13, "name": "fail", "start": 9, "type": "Identifier" }, "init": { "arguments": [ { "end": 23, "name": "arr", "start": 20, "type": "Identifier", "type": "Identifier" } ], "callee": { "end": 19, "name": "pop", "start": 16, "type": "Identifier" }, "end": 24, "start": 16, "type": "CallExpression", "type": "CallExpression" }, "start": 9, "type": "VariableDeclarator" }, "end": 24, "kind": "const", "start": 9, "type": "VariableDeclaration", "type": "VariableDeclaration" } ], "end": 25, "start": 0 } }