ocaml-opam-ppxlib-json-ast / ocaml /middle_end /flambda /find_recursive_functions.mli.sig
mike dupont
sig
f289002
raw
history blame
18 kB
[
{
"psig_desc": [
"Psig_attribute",
{
"attr_name": {
"loc2": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1160
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.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/find_recursive_functions.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1175
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1193
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1174
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.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/find_recursive_functions.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1174
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1194
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1156
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1195
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 17,
"pos_bol": 1156,
"pos_cnum": 1156
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.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",
" \"Recursive functions\" are those functions [f] that might call either:\n - themselves, or\n - another function that in turn might call [f].\n\n For example in the following simultaneous definition of [f] [g] and [h],\n [f] and [g] are recursive functions, but not [h]:\n [let rec f x = g x\n and g x = f x\n and h x = g x]\n",
{
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 19,
"pos_bol": 1197,
"pos_cnum": 1197
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 28,
"pos_bol": 1544,
"pos_cnum": 1546
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 19,
"pos_bol": 1197,
"pos_cnum": 1197
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 28,
"pos_bol": 1544,
"pos_cnum": 1546
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 19,
"pos_bol": 1197,
"pos_cnum": 1197
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 28,
"pos_bol": 1544,
"pos_cnum": 1546
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 19,
"pos_bol": 1197,
"pos_cnum": 1197
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 28,
"pos_bol": 1544,
"pos_cnum": 1546
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 19,
"pos_bol": 1197,
"pos_cnum": 1197
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 28,
"pos_bol": 1544,
"pos_cnum": 1546
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 34,
"pos_bol": 1731,
"pos_cnum": 1735
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 34,
"pos_bol": 1731,
"pos_cnum": 1759
},
"loc_ghost": false
},
"txt2": "in_function_declarations"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [
"Ptyp_constr", "Flambdafunction_declarations", []
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 35,
"pos_bol": 1760,
"pos_cnum": 1765
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 35,
"pos_bol": 1760,
"pos_cnum": 1794
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [
"Ptyp_arrow",
[ "Labelled", "backend" ],
{
"ptyp_desc": [ "Ptyp_package", [ "Backend_intfS", [] ] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 36,
"pos_bol": 1795,
"pos_cnum": 1808
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 36,
"pos_bol": 1795,
"pos_cnum": 1831
},
"loc_ghost": false
},
"ptyp_loc_stack": [
{
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 36,
"pos_bol": 1795,
"pos_cnum": 1816
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 36,
"pos_bol": 1795,
"pos_cnum": 1830
},
"loc_ghost": false
}
],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "VariableSett", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 37,
"pos_bol": 1832,
"pos_cnum": 1837
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 37,
"pos_bol": 1832,
"pos_cnum": 1851
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 36,
"pos_bol": 1795,
"pos_cnum": 1800
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 37,
"pos_bol": 1832,
"pos_cnum": 1851
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 35,
"pos_bol": 1760,
"pos_cnum": 1765
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 37,
"pos_bol": 1832,
"pos_cnum": 1851
},
"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",
" Determine the recursive functions, if any, bound by the given set of\n function declarations.\n This is only intended to be used by [Flambda.create_function_declarations].\n",
{
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 30,
"pos_bol": 1548,
"pos_cnum": 1548
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 33,
"pos_bol": 1728,
"pos_cnum": 1730
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 30,
"pos_bol": 1548,
"pos_cnum": 1548
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 33,
"pos_bol": 1728,
"pos_cnum": 1730
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 30,
"pos_bol": 1548,
"pos_cnum": 1548
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 33,
"pos_bol": 1728,
"pos_cnum": 1730
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 30,
"pos_bol": 1548,
"pos_cnum": 1548
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 33,
"pos_bol": 1728,
"pos_cnum": 1730
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 34,
"pos_bol": 1731,
"pos_cnum": 1731
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 37,
"pos_bol": 1832,
"pos_cnum": 1851
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 34,
"pos_bol": 1731,
"pos_cnum": 1731
},
"loc_end": {
"pos_fname": "./middle_end/flambda/find_recursive_functions.mli",
"pos_lnum": 37,
"pos_bol": 1832,
"pos_cnum": 1851
},
"loc_ghost": false
}
}
]