--- source: kcl-lib/src/simulation_tests.rs description: Result of parsing array_index_oob.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": 19, "id": { "end": 10, "name": "x", "start": 9, "type": "Identifier" }, "init": { "computed": false, "end": 19, "object": { "end": 16, "name": "arr", "start": 13, "type": "Identifier", "type": "Identifier" }, "property": { "end": 18, "raw": "0", "start": 17, "type": "Literal", "type": "Literal", "value": { "value": 0.0, "suffix": "None" } }, "start": 13, "type": "MemberExpression", "type": "MemberExpression" }, "start": 9, "type": "VariableDeclarator" }, "end": 19, "kind": "const", "start": 9, "type": "VariableDeclaration", "type": "VariableDeclaration" } ], "end": 20, "start": 0 } }