[ { "psig_desc": [ "Psig_attribute", { "attr_name": { "loc2": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1160 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.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/flambda_to_clambda.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1175 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1193 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1174 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.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/flambda_to_clambda.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1174 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1194 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1156 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1195 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1156 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1195 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 19, "pos_bol": 1197, "pos_cnum": 1202 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 19, "pos_bol": 1197, "pos_cnum": 1208 }, "loc_ghost": false }, "txt2": "result" }, "ptype_params": [], "ptype_cstrs": [], "ptype_kind": [ "Ptype_record", [ { "pld_name": { "loc2": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 20, "pos_bol": 1213, "pos_cnum": 1215 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 20, "pos_bol": 1213, "pos_cnum": 1219 }, "loc_ghost": false }, "txt2": "expr" }, "pld_mutable": [ "Immutable" ], "pld_type": { "ptyp_desc": [ "Ptyp_constr", "Clambdaulambda", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 20, "pos_bol": 1213, "pos_cnum": 1222 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 20, "pos_bol": 1213, "pos_cnum": 1237 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pld_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 20, "pos_bol": 1213, "pos_cnum": 1215 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 20, "pos_bol": 1213, "pos_cnum": 1238 }, "loc_ghost": false }, "pld_attributes": [] }, { "pld_name": { "loc2": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 21, "pos_bol": 1239, "pos_cnum": 1241 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 21, "pos_bol": 1239, "pos_cnum": 1260 }, "loc_ghost": false }, "txt2": "preallocated_blocks" }, "pld_mutable": [ "Immutable" ], "pld_type": { "ptyp_desc": [ "Ptyp_constr", "list", [ { "ptyp_desc": [ "Ptyp_constr", "Clambdapreallocated_block", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 21, "pos_bol": 1239, "pos_cnum": 1263 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 21, "pos_bol": 1239, "pos_cnum": 1289 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 21, "pos_bol": 1239, "pos_cnum": 1263 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 21, "pos_bol": 1239, "pos_cnum": 1294 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pld_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 21, "pos_bol": 1239, "pos_cnum": 1241 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 21, "pos_bol": 1239, "pos_cnum": 1295 }, "loc_ghost": false }, "pld_attributes": [] }, { "pld_name": { "loc2": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 22, "pos_bol": 1296, "pos_cnum": 1298 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 22, "pos_bol": 1296, "pos_cnum": 1318 }, "loc_ghost": false }, "txt2": "structured_constants" }, "pld_mutable": [ "Immutable" ], "pld_type": { "ptyp_desc": [ "Ptyp_constr", "SymbolMapt", [ { "ptyp_desc": [ "Ptyp_constr", "Clambdaustructured_constant", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 22, "pos_bol": 1296, "pos_cnum": 1321 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 22, "pos_bol": 1296, "pos_cnum": 1349 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 22, "pos_bol": 1296, "pos_cnum": 1321 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 22, "pos_bol": 1296, "pos_cnum": 1362 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pld_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 22, "pos_bol": 1296, "pos_cnum": 1298 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 22, "pos_bol": 1296, "pos_cnum": 1363 }, "loc_ghost": false }, "pld_attributes": [] }, { "pld_name": { "loc2": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 23, "pos_bol": 1364, "pos_cnum": 1366 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 23, "pos_bol": 1364, "pos_cnum": 1374 }, "loc_ghost": false }, "txt2": "exported" }, "pld_mutable": [ "Immutable" ], "pld_type": { "ptyp_desc": [ "Ptyp_constr", "Export_infot", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 23, "pos_bol": 1364, "pos_cnum": 1377 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 23, "pos_bol": 1364, "pos_cnum": 1390 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pld_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 23, "pos_bol": 1364, "pos_cnum": 1366 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 23, "pos_bol": 1364, "pos_cnum": 1391 }, "loc_ghost": false }, "pld_attributes": [] } ] ], "ptype_private": [ "Public" ], "ptype_manifest": null, "ptype_attributes": [], "ptype_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 19, "pos_bol": 1197, "pos_cnum": 1197 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 24, "pos_bol": 1392, "pos_cnum": 1393 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 19, "pos_bol": 1197, "pos_cnum": 1197 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 24, "pos_bol": 1392, "pos_cnum": 1393 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 38, "pos_bol": 1940, "pos_cnum": 1944 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 38, "pos_bol": 1940, "pos_cnum": 1951 }, "loc_ghost": false }, "txt2": "convert" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Labelled", "ppf_dump" ], { "ptyp_desc": [ "Ptyp_constr", "Formatformatter", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 39, "pos_bol": 1952, "pos_cnum": 1966 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 39, "pos_bol": 1952, "pos_cnum": 1982 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_tuple", [ { "ptyp_desc": [ "Ptyp_constr", "Flambdaprogram", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 40, "pos_bol": 1983, "pos_cnum": 1988 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 40, "pos_bol": 1983, "pos_cnum": 2003 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "Export_infotransient", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 40, "pos_bol": 1983, "pos_cnum": 2006 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 40, "pos_bol": 1983, "pos_cnum": 2027 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 40, "pos_bol": 1983, "pos_cnum": 1988 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 40, "pos_bol": 1983, "pos_cnum": 2027 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "result", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 41, "pos_bol": 2028, "pos_cnum": 2033 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 41, "pos_bol": 2028, "pos_cnum": 2039 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 40, "pos_bol": 1983, "pos_cnum": 1988 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 41, "pos_bol": 2028, "pos_cnum": 2039 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 39, "pos_bol": 1952, "pos_cnum": 1957 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 41, "pos_bol": 2028, "pos_cnum": 2039 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "pval_prim": [], "pval_attributes": [ { "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.doc" }, "attr_payload": [ "PStr", [ { "pstr_desc": [ "Pstr_eval", { "pexp_desc": [ "Pexp_constant", [ "Pconst_string", " Convert an Flambda program, with associated proto-export information,\n to Clambda.\n This yields a Clambda expression together with augmented export\n information and details about required statically-allocated values\n (preallocated blocks, for [Initialize_symbol], and structured\n constants).\n\n It is during this process that accesses to variables within\n closures are transformed to field accesses within closure values.\n For direct calls, the hidden closure parameter is added. Switch\n tables are also built.\n", { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 26, "pos_bol": 1395, "pos_cnum": 1395 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 37, "pos_bol": 1937, "pos_cnum": 1939 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 26, "pos_bol": 1395, "pos_cnum": 1395 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 37, "pos_bol": 1937, "pos_cnum": 1939 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 26, "pos_bol": 1395, "pos_cnum": 1395 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 37, "pos_bol": 1937, "pos_cnum": 1939 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 26, "pos_bol": 1395, "pos_cnum": 1395 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 37, "pos_bol": 1937, "pos_cnum": 1939 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 38, "pos_bol": 1940, "pos_cnum": 1940 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 41, "pos_bol": 2028, "pos_cnum": 2039 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 38, "pos_bol": 1940, "pos_cnum": 1940 }, "loc_end": { "pos_fname": "./middle_end/flambda/flambda_to_clambda.mli", "pos_lnum": 41, "pos_bol": 2028, "pos_cnum": 2039 }, "loc_ghost": false } } ]