[ { "psig_desc": [ "Psig_attribute", { "attr_name": { "loc2": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1160 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1173 }, "loc_ghost": false }, "txt2": "ocaml.warning" }, "attr_payload": [ "PStr", [ { "pstr_desc": [ "Pstr_eval", { "pexp_desc": [ "Pexp_constant", [ "Pconst_string", "+a-4-9-30-40-41-42", { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1175 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1193 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1174 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1194 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1174 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1194 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1156 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1195 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1156 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1195 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_attribute", { "attr_name": { "loc2": { "loc_start": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_end": { "pos_fname": "_none_", "pos_lnum": 0, "pos_bol": 0, "pos_cnum": -1 }, "loc_ghost": true }, "txt2": "ocaml.text" }, "attr_payload": [ "PStr", [ { "pstr_desc": [ "Pstr_eval", { "pexp_desc": [ "Pexp_constant", [ "Pconst_string", " Assign numerical offsets, within closure blocks, for code pointers and\n environment entries. ", { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 19, "pos_bol": 1197, "pos_cnum": 1197 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 20, "pos_bol": 1272, "pos_cnum": 1299 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 19, "pos_bol": 1197, "pos_cnum": 1197 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 20, "pos_bol": 1272, "pos_cnum": 1299 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 19, "pos_bol": 1197, "pos_cnum": 1197 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 20, "pos_bol": 1272, "pos_cnum": 1299 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 19, "pos_bol": 1197, "pos_cnum": 1197 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 20, "pos_bol": 1272, "pos_cnum": 1299 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 19, "pos_bol": 1197, "pos_cnum": 1197 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 20, "pos_bol": 1272, "pos_cnum": 1299 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 22, "pos_bol": 1301, "pos_cnum": 1306 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 22, "pos_bol": 1301, "pos_cnum": 1312 }, "loc_ghost": false }, "txt2": "result" }, "ptype_params": [], "ptype_cstrs": [], "ptype_kind": [ "Ptype_record", [ { "pld_name": { "loc2": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 23, "pos_bol": 1325, "pos_cnum": 1327 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 23, "pos_bol": 1325, "pos_cnum": 1343 }, "loc_ghost": false }, "txt2": "function_offsets" }, "pld_mutable": [ "Immutable" ], "pld_type": { "ptyp_desc": [ "Ptyp_constr", "Closure_idMapt", [ { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 23, "pos_bol": 1325, "pos_cnum": 1346 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 23, "pos_bol": 1325, "pos_cnum": 1349 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 23, "pos_bol": 1325, "pos_cnum": 1346 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 23, "pos_bol": 1325, "pos_cnum": 1366 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pld_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 23, "pos_bol": 1325, "pos_cnum": 1327 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 23, "pos_bol": 1325, "pos_cnum": 1367 }, "loc_ghost": false }, "pld_attributes": [] }, { "pld_name": { "loc2": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 24, "pos_bol": 1368, "pos_cnum": 1370 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 24, "pos_bol": 1368, "pos_cnum": 1391 }, "loc_ghost": false }, "txt2": "free_variable_offsets" }, "pld_mutable": [ "Immutable" ], "pld_type": { "ptyp_desc": [ "Ptyp_constr", "Var_within_closureMapt", [ { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 24, "pos_bol": 1368, "pos_cnum": 1394 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 24, "pos_bol": 1368, "pos_cnum": 1397 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 24, "pos_bol": 1368, "pos_cnum": 1394 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 24, "pos_bol": 1368, "pos_cnum": 1422 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pld_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 24, "pos_bol": 1368, "pos_cnum": 1370 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 24, "pos_bol": 1368, "pos_cnum": 1423 }, "loc_ghost": false }, "pld_attributes": [] } ] ], "ptype_private": [ "Private" ], "ptype_manifest": null, "ptype_attributes": [], "ptype_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 22, "pos_bol": 1301, "pos_cnum": 1301 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 25, "pos_bol": 1424, "pos_cnum": 1425 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 22, "pos_bol": 1301, "pos_cnum": 1301 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 25, "pos_bol": 1424, "pos_cnum": 1425 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 27, "pos_bol": 1427, "pos_cnum": 1431 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 27, "pos_bol": 1427, "pos_cnum": 1438 }, "loc_ghost": false }, "txt2": "compute" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "Flambdaprogram", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 27, "pos_bol": 1427, "pos_cnum": 1441 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 27, "pos_bol": 1427, "pos_cnum": 1456 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "result", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 27, "pos_bol": 1427, "pos_cnum": 1460 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 27, "pos_bol": 1427, "pos_cnum": 1466 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 27, "pos_bol": 1427, "pos_cnum": 1441 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 27, "pos_bol": 1427, "pos_cnum": 1466 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pval_prim": [], "pval_attributes": [], "pval_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 27, "pos_bol": 1427, "pos_cnum": 1427 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 27, "pos_bol": 1427, "pos_cnum": 1466 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 27, "pos_bol": 1427, "pos_cnum": 1427 }, "loc_end": { "pos_fname": "./middle_end/flambda/closure_offsets.mli", "pos_lnum": 27, "pos_bol": 1427, "pos_cnum": 1466 }, "loc_ghost": false } } ]