{ "id": { "prefix": 0, "offset": 0 }, "root": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 0 }, "nodes": [ { "data": { "text": "calc", "is_terminal": false }, "parent": null, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 1 } ] }, { "data": { "text": "calc_lst1", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 0 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 2 } ] }, { "data": { "text": "calc_lst1_itm1", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 1 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 3 }, { "tree_id": { "prefix": 0, "offset": 0 }, "index": 4 } ] }, { "data": { "text": "instruction", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 2 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 5 } ] }, { "data": { "text": ";", "is_terminal": true }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 2 }, "children": [] }, { "data": { "text": "assignment", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 3 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 6 }, { "tree_id": { "prefix": 0, "offset": 0 }, "index": 11 } ] }, { "data": { "text": "assign_item", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 5 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 7 }, { "tree_id": { "prefix": 0, "offset": 0 }, "index": 9 } ] }, { "data": { "text": "id", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 6 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 8 } ] }, { "data": { "text": "c", "is_terminal": true }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 7 }, "children": [] }, { "data": { "text": "assign_op", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 6 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 10 } ] }, { "data": { "text": "=", "is_terminal": true }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 9 }, "children": [] }, { "data": { "text": "locigal_or", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 5 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 12 } ] }, { "data": { "text": "locigal_and", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 11 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 13 } ] }, { "data": { "text": "bitwise_or", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 12 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 14 } ] }, { "data": { "text": "bitwise_and", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 13 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 15 } ] }, { "data": { "text": "equality", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 14 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 16 } ] }, { "data": { "text": "relational", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 15 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 17 } ] }, { "data": { "text": "bitwise_shift", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 16 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 18 } ] }, { "data": { "text": "sum", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 17 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 19 }, { "tree_id": { "prefix": 0, "offset": 0 }, "index": 33 } ] }, { "data": { "text": "mult", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 18 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 20 }, { "tree_id": { "prefix": 0, "offset": 0 }, "index": 24 } ] }, { "data": { "text": "power", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 19 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 21 } ] }, { "data": { "text": "factor", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 20 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 22 } ] }, { "data": { "text": "number", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 21 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 23 } ] }, { "data": { "text": "2", "is_terminal": true }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 22 }, "children": [] }, { "data": { "text": "mult_lst1", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 19 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 25 } ] }, { "data": { "text": "mult_lst1_itm1", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 24 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 26 } ] }, { "data": { "text": "mult_item", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 25 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 27 }, { "tree_id": { "prefix": 0, "offset": 0 }, "index": 29 } ] }, { "data": { "text": "mult_op", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 26 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 28 } ] }, { "data": { "text": "*", "is_terminal": true }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 27 }, "children": [] }, { "data": { "text": "power", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 26 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 30 } ] }, { "data": { "text": "factor", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 29 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 31 } ] }, { "data": { "text": "number", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 30 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 32 } ] }, { "data": { "text": "4", "is_terminal": true }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 31 }, "children": [] }, { "data": { "text": "sum_lst1", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 18 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 34 } ] }, { "data": { "text": "sum_lst1_itm1", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 33 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 35 } ] }, { "data": { "text": "sum_item", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 34 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 36 }, { "tree_id": { "prefix": 0, "offset": 0 }, "index": 39 } ] }, { "data": { "text": "add_op", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 35 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 37 } ] }, { "data": { "text": "plus", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 36 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 38 } ] }, { "data": { "text": "+", "is_terminal": true }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 37 }, "children": [] }, { "data": { "text": "mult", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 35 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 40 } ] }, { "data": { "text": "power", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 39 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 41 } ] }, { "data": { "text": "factor", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 40 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 42 } ] }, { "data": { "text": "number", "is_terminal": false }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 41 }, "children": [ { "tree_id": { "prefix": 0, "offset": 0 }, "index": 43 } ] }, { "data": { "text": "5", "is_terminal": true }, "parent": { "tree_id": { "prefix": 0, "offset": 0 }, "index": 42 }, "children": [] } ], "free_ids": [] }