John Smith
john@example.com
---
source: kcl/src/simulation_tests.rs
description: Result of parsing array_elem_pop_fail.kcl
{
"Ok": {
"body": [
"declaration": {
"end": 15,
"id": {
"end": 3,
"name": "arr",
"start": 0,
"type": "Identifier"
},
"init": {
"elements": [
"end": 8,
"raw": "1",
"start": 7,
"type": "Literal",
"value": {
"value": 1.0,
"suffix": "None"
}
"end": 11,
"raw": "2",
"start": 10,
"value": 2.0,
"end": 14,
"raw": "3",
"start": 13,
"value": 3.0,
],
"start": 6,
"type": "ArrayExpression",
"type": "ArrayExpression"
"type": "VariableDeclarator"
"kind": "const",
"type": "VariableDeclaration",
"type": "VariableDeclaration"
"end": 36,
"end": 25,
"name": "pushedArr",
"start": 16,
"arguments": [
"end": 35,
"start": 32,
"type": "Identifier",
"callee": {
"end": 31,
"name": "pop",
"start": 28,
"type": "CallExpression",
"type": "CallExpression"
"end": 56,
"end": 41,
"name": "fail",
"start": 37,
"computed": false,
"object": {
"end": 53,
"start": 44,
"property": {
"end": 55,
"start": 54,
"type": "MemberExpression",
"type": "MemberExpression"
"end": 57,
"start": 0