mike dupont
sig
f289002
raw
history blame
29.6 kB
[
{
"psig_desc": [
"Psig_attribute",
{
"attr_name": {
"loc2": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1160
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.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/import_approx.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1175
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1193
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1174
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.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/import_approx.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1174
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1194
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1156
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1195
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1156
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.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",
" Create simple value approximations from the export information in\n .cmx files. ",
{
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 19,
"pos_bol": 1197,
"pos_cnum": 1197
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 20,
"pos_bol": 1267,
"pos_cnum": 1285
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 19,
"pos_bol": 1197,
"pos_cnum": 1197
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 20,
"pos_bol": 1267,
"pos_cnum": 1285
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 19,
"pos_bol": 1197,
"pos_cnum": 1197
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 20,
"pos_bol": 1267,
"pos_cnum": 1285
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 19,
"pos_bol": 1197,
"pos_cnum": 1197
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 20,
"pos_bol": 1267,
"pos_cnum": 1285
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 19,
"pos_bol": 1197,
"pos_cnum": 1197
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 20,
"pos_bol": 1267,
"pos_cnum": 1285
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 25,
"pos_bol": 1494,
"pos_cnum": 1498
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 25,
"pos_bol": 1494,
"pos_cnum": 1511
},
"loc_ghost": false
},
"txt2": "really_import"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "Simple_value_approxdescr", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 25,
"pos_bol": 1494,
"pos_cnum": 1514
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 25,
"pos_bol": 1494,
"pos_cnum": 1539
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "Simple_value_approxdescr", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 25,
"pos_bol": 1494,
"pos_cnum": 1543
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 25,
"pos_bol": 1494,
"pos_cnum": 1568
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 25,
"pos_bol": 1494,
"pos_cnum": 1514
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 25,
"pos_bol": 1494,
"pos_cnum": 1568
},
"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",
" Given an approximation description, load .cmx files (possibly more\n than one) until the description is fully resolved. If a necessary .cmx\n file cannot be found, \"unresolved\" will be returned. ",
{
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 22,
"pos_bol": 1287,
"pos_cnum": 1287
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 24,
"pos_bol": 1434,
"pos_cnum": 1493
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 22,
"pos_bol": 1287,
"pos_cnum": 1287
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 24,
"pos_bol": 1434,
"pos_cnum": 1493
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 22,
"pos_bol": 1287,
"pos_cnum": 1287
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 24,
"pos_bol": 1434,
"pos_cnum": 1493
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 22,
"pos_bol": 1287,
"pos_cnum": 1287
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 24,
"pos_bol": 1434,
"pos_cnum": 1493
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 25,
"pos_bol": 1494,
"pos_cnum": 1494
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 25,
"pos_bol": 1494,
"pos_cnum": 1568
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 25,
"pos_bol": 1494,
"pos_cnum": 1494
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 25,
"pos_bol": 1494,
"pos_cnum": 1568
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 28,
"pos_bol": 1650,
"pos_cnum": 1654
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 28,
"pos_bol": 1650,
"pos_cnum": 1674
},
"loc_ghost": false
},
"txt2": "really_import_approx"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "Simple_value_approxt", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 28,
"pos_bol": 1650,
"pos_cnum": 1677
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 28,
"pos_bol": 1650,
"pos_cnum": 1698
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "Simple_value_approxt", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 28,
"pos_bol": 1650,
"pos_cnum": 1702
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 28,
"pos_bol": 1650,
"pos_cnum": 1723
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 28,
"pos_bol": 1650,
"pos_cnum": 1677
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 28,
"pos_bol": 1650,
"pos_cnum": 1723
},
"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",
" Maps the description of the given approximation through [really_import]. ",
{
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 27,
"pos_bol": 1570,
"pos_cnum": 1570
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 27,
"pos_bol": 1570,
"pos_cnum": 1649
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 27,
"pos_bol": 1570,
"pos_cnum": 1570
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 27,
"pos_bol": 1570,
"pos_cnum": 1649
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 27,
"pos_bol": 1570,
"pos_cnum": 1570
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 27,
"pos_bol": 1570,
"pos_cnum": 1649
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 27,
"pos_bol": 1570,
"pos_cnum": 1570
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 27,
"pos_bol": 1570,
"pos_cnum": 1649
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 28,
"pos_bol": 1650,
"pos_cnum": 1650
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 28,
"pos_bol": 1650,
"pos_cnum": 1723
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 28,
"pos_bol": 1650,
"pos_cnum": 1650
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 28,
"pos_bol": 1650,
"pos_cnum": 1723
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 34,
"pos_bol": 1944,
"pos_cnum": 1948
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 34,
"pos_bol": 1944,
"pos_cnum": 1961
},
"loc_ghost": false
},
"txt2": "import_symbol"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "Symbolt", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 34,
"pos_bol": 1944,
"pos_cnum": 1964
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 34,
"pos_bol": 1944,
"pos_cnum": 1972
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "Simple_value_approxt", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 34,
"pos_bol": 1944,
"pos_cnum": 1976
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 34,
"pos_bol": 1944,
"pos_cnum": 1997
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 34,
"pos_bol": 1944,
"pos_cnum": 1964
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 34,
"pos_bol": 1944,
"pos_cnum": 1997
},
"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",
" Read and convert the approximation of a given symbol from the\n relevant .cmx file. Unlike the \"really_\" functions, this does not\n continue to load .cmx files until the approximation is fully\n resolved. ",
{
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 30,
"pos_bol": 1725,
"pos_cnum": 1725
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 33,
"pos_bol": 1927,
"pos_cnum": 1943
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 30,
"pos_bol": 1725,
"pos_cnum": 1725
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 33,
"pos_bol": 1927,
"pos_cnum": 1943
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 30,
"pos_bol": 1725,
"pos_cnum": 1725
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 33,
"pos_bol": 1927,
"pos_cnum": 1943
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 30,
"pos_bol": 1725,
"pos_cnum": 1725
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 33,
"pos_bol": 1927,
"pos_cnum": 1943
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 34,
"pos_bol": 1944,
"pos_cnum": 1944
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 34,
"pos_bol": 1944,
"pos_cnum": 1997
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 34,
"pos_bol": 1944,
"pos_cnum": 1944
},
"loc_end": {
"pos_fname": "./middle_end/flambda/import_approx.mli",
"pos_lnum": 34,
"pos_bol": 1944,
"pos_cnum": 1997
},
"loc_ghost": false
}
}
]