[ { "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", " Identify projections from variables used in function bodies (free\n variables or specialised args, for example, according to [which_variables]\n below). Projections from variables that are also used boxed are not\n returned. ", { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1156 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 20, "pos_bol": 1378, "pos_cnum": 1394 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1156 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 20, "pos_bol": 1378, "pos_cnum": 1394 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1156 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 20, "pos_bol": 1378, "pos_cnum": 1394 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1156 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 20, "pos_bol": 1378, "pos_cnum": 1394 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 17, "pos_bol": 1156, "pos_cnum": 1156 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 20, "pos_bol": 1378, "pos_cnum": 1394 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 29, "pos_bol": 1677, "pos_cnum": 1681 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 29, "pos_bol": 1677, "pos_cnum": 1699 }, "loc_ghost": false }, "txt2": "from_function_decl" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Labelled", "env" ], { "ptyp_desc": [ "Ptyp_constr", "Inline_and_simplify_auxEnvt", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 30, "pos_bol": 1700, "pos_cnum": 1709 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 30, "pos_bol": 1700, "pos_cnum": 1738 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Labelled", "which_variables" ], { "ptyp_desc": [ "Ptyp_constr", "VariableMapt", [ { "ptyp_desc": [ "Ptyp_constr", "Flambdaspecialised_to", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 31, "pos_bol": 1739, "pos_cnum": 1760 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 31, "pos_bol": 1739, "pos_cnum": 1782 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 31, "pos_bol": 1739, "pos_cnum": 1760 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 31, "pos_bol": 1739, "pos_cnum": 1797 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Labelled", "function_decl" ], { "ptyp_desc": [ "Ptyp_constr", "Flambdafunction_declaration", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 32, "pos_bol": 1798, "pos_cnum": 1817 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 32, "pos_bol": 1798, "pos_cnum": 1845 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "ProjectionSett", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 33, "pos_bol": 1846, "pos_cnum": 1851 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 33, "pos_bol": 1846, "pos_cnum": 1867 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 32, "pos_bol": 1798, "pos_cnum": 1803 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 33, "pos_bol": 1846, "pos_cnum": 1867 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 31, "pos_bol": 1739, "pos_cnum": 1744 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 33, "pos_bol": 1846, "pos_cnum": 1867 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 30, "pos_bol": 1700, "pos_cnum": 1705 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 33, "pos_bol": 1846, "pos_cnum": 1867 }, "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", " [which_variables] maps (existing) inner variables to (existing) outer\n variables in the manner of [free_vars] and [specialised_args] in\n [Flambda.set_of_closures].\n\n The returned projections are [projecting_from] (cf. projection.mli)\n the \"existing inner vars\".\n", { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 22, "pos_bol": 1396, "pos_cnum": 1396 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 28, "pos_bol": 1674, "pos_cnum": 1676 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 22, "pos_bol": 1396, "pos_cnum": 1396 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 28, "pos_bol": 1674, "pos_cnum": 1676 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 22, "pos_bol": 1396, "pos_cnum": 1396 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 28, "pos_bol": 1674, "pos_cnum": 1676 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 22, "pos_bol": 1396, "pos_cnum": 1396 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 28, "pos_bol": 1674, "pos_cnum": 1676 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 29, "pos_bol": 1677, "pos_cnum": 1677 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 33, "pos_bol": 1846, "pos_cnum": 1867 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 29, "pos_bol": 1677, "pos_cnum": 1677 }, "loc_end": { "pos_fname": "./middle_end/flambda/extract_projections.mli", "pos_lnum": 33, "pos_bol": 1846, "pos_cnum": 1867 }, "loc_ghost": false } } ]