|
[ |
|
{ |
|
"psig_desc": [ |
|
"Psig_attribute", |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1310, |
|
"pos_cnum": 1314 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1310, |
|
"pos_cnum": 1319 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "alert" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_apply", |
|
{ |
|
"pexp_desc": [ "Pexp_ident", "unstable" ], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1310, |
|
"pos_cnum": 1320 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1310, |
|
"pos_cnum": 1328 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[ |
|
[ |
|
[ "Nolabel" ], |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
"The Domain interface may change in incompatible ways in the future.", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1329, |
|
"pos_cnum": 1334 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1329, |
|
"pos_cnum": 1401 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1329, |
|
"pos_cnum": 1333 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1329, |
|
"pos_cnum": 1402 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
} |
|
] |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1310, |
|
"pos_cnum": 1320 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1329, |
|
"pos_cnum": 1402 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1310, |
|
"pos_cnum": 1320 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1329, |
|
"pos_cnum": 1402 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1310, |
|
"pos_cnum": 1310 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1403, |
|
"pos_cnum": 1404 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1310, |
|
"pos_cnum": 1310 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1403, |
|
"pos_cnum": 1404 |
|
}, |
|
"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", |
|
" Domains.\n\n See 'Parallel programming' chapter in the manual.\n\n @since 5.0 ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1406, |
|
"pos_cnum": 1406 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1475, |
|
"pos_cnum": 1492 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1406, |
|
"pos_cnum": 1406 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1475, |
|
"pos_cnum": 1492 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1406, |
|
"pos_cnum": 1406 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1475, |
|
"pos_cnum": 1492 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1406, |
|
"pos_cnum": 1406 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1475, |
|
"pos_cnum": 1492 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1406, |
|
"pos_cnum": 1406 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1475, |
|
"pos_cnum": 1492 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_type", |
|
[ "Recursive" ], |
|
[ |
|
{ |
|
"ptype_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1494, |
|
"pos_cnum": 1503 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1494, |
|
"pos_cnum": 1504 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "t" |
|
}, |
|
"ptype_params": [ |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1494, |
|
"pos_cnum": 1500 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1494, |
|
"pos_cnum": 1502 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
[ [ "NoVariance" ], [ "Injective" ] ] |
|
] |
|
], |
|
"ptype_cstrs": [], |
|
"ptype_kind": [ "Ptype_abstract" ], |
|
"ptype_private": [ "Public" ], |
|
"ptype_manifest": null, |
|
"ptype_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", |
|
" A domain of type ['a t] runs independently, eventually producing a\n result of type 'a, or an exception ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1505, |
|
"pos_cnum": 1505 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1576, |
|
"pos_cnum": 1617 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1505, |
|
"pos_cnum": 1505 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1576, |
|
"pos_cnum": 1617 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1505, |
|
"pos_cnum": 1505 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1576, |
|
"pos_cnum": 1617 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1505, |
|
"pos_cnum": 1505 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1576, |
|
"pos_cnum": 1617 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"ptype_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1494, |
|
"pos_cnum": 1494 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1494, |
|
"pos_cnum": 1504 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1494, |
|
"pos_cnum": 1494 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1494, |
|
"pos_cnum": 1504 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1623 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1628 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "spawn" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1632 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1636 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1640 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1642 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1632 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1642 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"t", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1647 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1649 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1647 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1651 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1631 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1651 |
|
}, |
|
"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", |
|
" [spawn f] creates a new domain that runs in parallel with the\n current domain.\n\n @raise Failure if the program has insufficient resources to create another\n domain. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1652, |
|
"pos_cnum": 1652 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1818, |
|
"pos_cnum": 1832 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1652, |
|
"pos_cnum": 1652 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1818, |
|
"pos_cnum": 1832 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1652, |
|
"pos_cnum": 1652 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1818, |
|
"pos_cnum": 1832 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1652, |
|
"pos_cnum": 1652 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1818, |
|
"pos_cnum": 1832 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1619 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1651 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1619 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1619, |
|
"pos_cnum": 1651 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1834, |
|
"pos_cnum": 1838 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1834, |
|
"pos_cnum": 1842 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "join" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"t", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1834, |
|
"pos_cnum": 1845 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1834, |
|
"pos_cnum": 1847 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1834, |
|
"pos_cnum": 1845 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1834, |
|
"pos_cnum": 1849 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1834, |
|
"pos_cnum": 1853 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1834, |
|
"pos_cnum": 1855 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1834, |
|
"pos_cnum": 1845 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1834, |
|
"pos_cnum": 1855 |
|
}, |
|
"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", |
|
" [join d] blocks until domain [d] runs to completion. If [d] results in a\n value, then that is returned by [join d]. If [d] raises an uncaught\n exception, then that is re-raised by [join d]. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1856, |
|
"pos_cnum": 1856 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2005, |
|
"pos_cnum": 2058 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1856, |
|
"pos_cnum": 1856 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2005, |
|
"pos_cnum": 2058 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1856, |
|
"pos_cnum": 1856 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2005, |
|
"pos_cnum": 2058 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1856, |
|
"pos_cnum": 1856 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2005, |
|
"pos_cnum": 2058 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1834, |
|
"pos_cnum": 1834 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1834, |
|
"pos_cnum": 1855 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1834, |
|
"pos_cnum": 1834 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1834, |
|
"pos_cnum": 1855 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_type", |
|
[ "Recursive" ], |
|
[ |
|
{ |
|
"ptype_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 45, |
|
"pos_bol": 2060, |
|
"pos_cnum": 2065 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 45, |
|
"pos_bol": 2060, |
|
"pos_cnum": 2067 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "id" |
|
}, |
|
"ptype_params": [], |
|
"ptype_cstrs": [], |
|
"ptype_kind": [ "Ptype_abstract" ], |
|
"ptype_private": [ "Private" ], |
|
"ptype_manifest": { |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 45, |
|
"pos_bol": 2060, |
|
"pos_cnum": 2078 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 45, |
|
"pos_bol": 2060, |
|
"pos_cnum": 2081 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"ptype_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", |
|
" Domains have unique integer identifiers ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2082, |
|
"pos_cnum": 2082 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2082, |
|
"pos_cnum": 2128 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2082, |
|
"pos_cnum": 2082 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2082, |
|
"pos_cnum": 2128 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2082, |
|
"pos_cnum": 2082 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2082, |
|
"pos_cnum": 2128 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2082, |
|
"pos_cnum": 2082 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2082, |
|
"pos_cnum": 2128 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"ptype_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 45, |
|
"pos_bol": 2060, |
|
"pos_cnum": 2060 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 45, |
|
"pos_bol": 2060, |
|
"pos_cnum": 2081 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 45, |
|
"pos_bol": 2060, |
|
"pos_cnum": 2060 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 45, |
|
"pos_bol": 2060, |
|
"pos_cnum": 2081 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2130, |
|
"pos_cnum": 2134 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2130, |
|
"pos_cnum": 2140 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "get_id" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"t", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2130, |
|
"pos_cnum": 2143 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2130, |
|
"pos_cnum": 2145 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2130, |
|
"pos_cnum": 2143 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2130, |
|
"pos_cnum": 2147 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "id", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2130, |
|
"pos_cnum": 2151 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2130, |
|
"pos_cnum": 2153 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2130, |
|
"pos_cnum": 2143 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2130, |
|
"pos_cnum": 2153 |
|
}, |
|
"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", |
|
" [get_id d] returns the identifier of the domain [d] ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2154, |
|
"pos_cnum": 2154 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2154, |
|
"pos_cnum": 2212 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2154, |
|
"pos_cnum": 2154 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2154, |
|
"pos_cnum": 2212 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2154, |
|
"pos_cnum": 2154 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2154, |
|
"pos_cnum": 2212 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2154, |
|
"pos_cnum": 2154 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2154, |
|
"pos_cnum": 2212 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2130, |
|
"pos_cnum": 2130 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2130, |
|
"pos_cnum": 2153 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2130, |
|
"pos_cnum": 2130 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 48, |
|
"pos_bol": 2130, |
|
"pos_cnum": 2153 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2214, |
|
"pos_cnum": 2218 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2214, |
|
"pos_cnum": 2222 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "self" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2214, |
|
"pos_cnum": 2225 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2214, |
|
"pos_cnum": 2229 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "id", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2214, |
|
"pos_cnum": 2233 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2214, |
|
"pos_cnum": 2235 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2214, |
|
"pos_cnum": 2225 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2214, |
|
"pos_cnum": 2235 |
|
}, |
|
"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", |
|
" [self ()] is the identifier of the currently running domain ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2236, |
|
"pos_cnum": 2236 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2236, |
|
"pos_cnum": 2302 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2236, |
|
"pos_cnum": 2236 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2236, |
|
"pos_cnum": 2302 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2236, |
|
"pos_cnum": 2236 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2236, |
|
"pos_cnum": 2302 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2236, |
|
"pos_cnum": 2236 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2236, |
|
"pos_cnum": 2302 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2214, |
|
"pos_cnum": 2214 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2214, |
|
"pos_cnum": 2235 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2214, |
|
"pos_cnum": 2214 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2214, |
|
"pos_cnum": 2235 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2308 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2326 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "before_first_spawn" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2330 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2334 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2338 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2342 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2330 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2342 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2347 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2351 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2329 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2351 |
|
}, |
|
"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", |
|
" [before_first_spawn f] registers [f] to be called before the first domain\n is spawned by the program. The functions registered with\n [before_first_spawn] are called on the main (initial) domain. The functions\n registered with [before_first_spawn] are called in 'first in, first out'\n order: the oldest function added with [before_first_spawn] is called first.\n\n @raise Invalid_argument if the program has already spawned a domain. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2352, |
|
"pos_cnum": 2352 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 61, |
|
"pos_bol": 2729, |
|
"pos_cnum": 2804 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2352, |
|
"pos_cnum": 2352 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 61, |
|
"pos_bol": 2729, |
|
"pos_cnum": 2804 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2352, |
|
"pos_cnum": 2352 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 61, |
|
"pos_bol": 2729, |
|
"pos_cnum": 2804 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2352, |
|
"pos_cnum": 2352 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 61, |
|
"pos_bol": 2729, |
|
"pos_cnum": 2804 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2304 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2351 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2304 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 2304, |
|
"pos_cnum": 2351 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2810 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2817 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "at_exit" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2821 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2825 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2829 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2833 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2821 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2833 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2838 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2842 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2820 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2842 |
|
}, |
|
"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", |
|
" [at_exit f] registers [f] to be called when the current domain exits. Note\n that [at_exit] callbacks are domain-local and only apply to the calling\n domain. The registered functions are called in 'last in, first out' order:\n the function most recently added with [at_exit] is called first. An example:\n\n {[\nlet temp_file_key = Domain.DLS.new_key (fun _ ->\n let tmp = snd (Filename.open_temp_file \"\" \"\") in\n Domain.at_exit (fun () -> close_out_noerr tmp);\n tmp)\n ]}\n\n The snippet above creates a key that when retrieved for the first\n time will open a temporary file and register an [at_exit] callback\n to close it, thus guaranteeing the descriptor is not leaked in\n case the current domain exits. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 64, |
|
"pos_bol": 2843, |
|
"pos_cnum": 2843 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3576 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 64, |
|
"pos_bol": 2843, |
|
"pos_cnum": 2843 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3576 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 64, |
|
"pos_bol": 2843, |
|
"pos_cnum": 2843 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3576 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 64, |
|
"pos_bol": 2843, |
|
"pos_cnum": 2843 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 79, |
|
"pos_bol": 3539, |
|
"pos_cnum": 3576 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2806 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2842 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2806 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 2806, |
|
"pos_cnum": 2842 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3578, |
|
"pos_cnum": 3582 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3578, |
|
"pos_cnum": 3591 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "cpu_relax" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3578, |
|
"pos_cnum": 3594 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3578, |
|
"pos_cnum": 3598 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3578, |
|
"pos_cnum": 3602 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3578, |
|
"pos_cnum": 3606 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3578, |
|
"pos_cnum": 3594 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3578, |
|
"pos_cnum": 3606 |
|
}, |
|
"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", |
|
" If busy-waiting, calling cpu_relax () between iterations\n will improve performance on some CPU architectures ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 82, |
|
"pos_bol": 3607, |
|
"pos_cnum": 3607 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3668, |
|
"pos_cnum": 3725 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 82, |
|
"pos_bol": 3607, |
|
"pos_cnum": 3607 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3668, |
|
"pos_cnum": 3725 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 82, |
|
"pos_bol": 3607, |
|
"pos_cnum": 3607 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3668, |
|
"pos_cnum": 3725 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 82, |
|
"pos_bol": 3607, |
|
"pos_cnum": 3607 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 83, |
|
"pos_bol": 3668, |
|
"pos_cnum": 3725 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3578, |
|
"pos_cnum": 3578 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3578, |
|
"pos_cnum": 3606 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3578, |
|
"pos_cnum": 3578 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 81, |
|
"pos_bol": 3578, |
|
"pos_cnum": 3606 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3727, |
|
"pos_cnum": 3731 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3727, |
|
"pos_cnum": 3745 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "is_main_domain" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3727, |
|
"pos_cnum": 3748 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3727, |
|
"pos_cnum": 3752 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3727, |
|
"pos_cnum": 3756 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3727, |
|
"pos_cnum": 3760 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3727, |
|
"pos_cnum": 3748 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3727, |
|
"pos_cnum": 3760 |
|
}, |
|
"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", |
|
" [is_main_domain ()] returns true if called from the initial domain. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3761, |
|
"pos_cnum": 3761 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3761, |
|
"pos_cnum": 3835 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3761, |
|
"pos_cnum": 3761 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3761, |
|
"pos_cnum": 3835 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3761, |
|
"pos_cnum": 3761 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3761, |
|
"pos_cnum": 3835 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3761, |
|
"pos_cnum": 3761 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 86, |
|
"pos_bol": 3761, |
|
"pos_cnum": 3835 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3727, |
|
"pos_cnum": 3727 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3727, |
|
"pos_cnum": 3760 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3727, |
|
"pos_cnum": 3727 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 85, |
|
"pos_bol": 3727, |
|
"pos_cnum": 3760 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 88, |
|
"pos_bol": 3837, |
|
"pos_cnum": 3841 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 88, |
|
"pos_bol": 3837, |
|
"pos_cnum": 3865 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "recommended_domain_count" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 88, |
|
"pos_bol": 3837, |
|
"pos_cnum": 3868 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 88, |
|
"pos_bol": 3837, |
|
"pos_cnum": 3872 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 88, |
|
"pos_bol": 3837, |
|
"pos_cnum": 3876 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 88, |
|
"pos_bol": 3837, |
|
"pos_cnum": 3879 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 88, |
|
"pos_bol": 3837, |
|
"pos_cnum": 3868 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 88, |
|
"pos_bol": 3837, |
|
"pos_cnum": 3879 |
|
}, |
|
"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", |
|
" The recommended maximum number of domains which should be running\n simultaneously (including domains already running).\n\n The value returned is at least [1]. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 89, |
|
"pos_bol": 3880, |
|
"pos_cnum": 3880 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 92, |
|
"pos_bol": 4007, |
|
"pos_cnum": 4049 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 89, |
|
"pos_bol": 3880, |
|
"pos_cnum": 3880 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 92, |
|
"pos_bol": 4007, |
|
"pos_cnum": 4049 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 89, |
|
"pos_bol": 3880, |
|
"pos_cnum": 3880 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 92, |
|
"pos_bol": 4007, |
|
"pos_cnum": 4049 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 89, |
|
"pos_bol": 3880, |
|
"pos_cnum": 3880 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 92, |
|
"pos_bol": 4007, |
|
"pos_cnum": 4049 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 88, |
|
"pos_bol": 3837, |
|
"pos_cnum": 3837 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 88, |
|
"pos_bol": 3837, |
|
"pos_cnum": 3879 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 88, |
|
"pos_bol": 3837, |
|
"pos_cnum": 3837 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 88, |
|
"pos_bol": 3837, |
|
"pos_cnum": 3879 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 94, |
|
"pos_bol": 4051, |
|
"pos_cnum": 4055 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 94, |
|
"pos_bol": 4051, |
|
"pos_cnum": 4065 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "self_index" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 94, |
|
"pos_bol": 4051, |
|
"pos_cnum": 4068 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 94, |
|
"pos_bol": 4051, |
|
"pos_cnum": 4072 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "int", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 94, |
|
"pos_bol": 4051, |
|
"pos_cnum": 4076 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 94, |
|
"pos_bol": 4051, |
|
"pos_cnum": 4079 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 94, |
|
"pos_bol": 4051, |
|
"pos_cnum": 4068 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 94, |
|
"pos_bol": 4051, |
|
"pos_cnum": 4079 |
|
}, |
|
"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", |
|
" The index of the current domain. It is an integer unique among\n currently-running domains, in the interval [0; N-1] where N is the\n peak number of domains running simultaneously so far.\n\n The index of a terminated domain may be reused for a new\n domain. Use [(Domain.self () :> int)] instead for an identifier\n unique among all domains ever created by the program.\n\n @since 5.3\n", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 95, |
|
"pos_bol": 4080, |
|
"pos_cnum": 4080 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 104, |
|
"pos_bol": 4480, |
|
"pos_cnum": 4482 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 95, |
|
"pos_bol": 4080, |
|
"pos_cnum": 4080 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 104, |
|
"pos_bol": 4480, |
|
"pos_cnum": 4482 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 95, |
|
"pos_bol": 4080, |
|
"pos_cnum": 4080 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 104, |
|
"pos_bol": 4480, |
|
"pos_cnum": 4482 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 95, |
|
"pos_bol": 4080, |
|
"pos_cnum": 4080 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 104, |
|
"pos_bol": 4480, |
|
"pos_cnum": 4482 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 94, |
|
"pos_bol": 4051, |
|
"pos_cnum": 4051 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 94, |
|
"pos_bol": 4051, |
|
"pos_cnum": 4079 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 94, |
|
"pos_bol": 4051, |
|
"pos_cnum": 4051 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 94, |
|
"pos_bol": 4051, |
|
"pos_cnum": 4079 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_module", |
|
{ |
|
"pmd_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 106, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4491 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 106, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4494 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "DLS" |
|
}, |
|
"pmd_type": { |
|
"pmty_desc": [ |
|
"Pmty_signature", |
|
[ |
|
{ |
|
"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", |
|
" Domain-local Storage ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 107, |
|
"pos_bol": 4501, |
|
"pos_cnum": 4501 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 107, |
|
"pos_bol": 4501, |
|
"pos_cnum": 4528 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 107, |
|
"pos_bol": 4501, |
|
"pos_cnum": 4501 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 107, |
|
"pos_bol": 4501, |
|
"pos_cnum": 4528 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 107, |
|
"pos_bol": 4501, |
|
"pos_cnum": 4501 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 107, |
|
"pos_bol": 4501, |
|
"pos_cnum": 4528 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 107, |
|
"pos_bol": 4501, |
|
"pos_cnum": 4501 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 107, |
|
"pos_bol": 4501, |
|
"pos_cnum": 4528 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 107, |
|
"pos_bol": 4501, |
|
"pos_cnum": 4501 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 107, |
|
"pos_bol": 4501, |
|
"pos_cnum": 4528 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_type", |
|
[ "Recursive" ], |
|
[ |
|
{ |
|
"ptype_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 109, |
|
"pos_bol": 4530, |
|
"pos_cnum": 4542 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 109, |
|
"pos_bol": 4530, |
|
"pos_cnum": 4545 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "key" |
|
}, |
|
"ptype_params": [ |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 109, |
|
"pos_bol": 4530, |
|
"pos_cnum": 4539 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 109, |
|
"pos_bol": 4530, |
|
"pos_cnum": 4541 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
[ [ "NoVariance" ], [ "NoInjectivity" ] ] |
|
] |
|
], |
|
"ptype_cstrs": [], |
|
"ptype_kind": [ "Ptype_abstract" ], |
|
"ptype_private": [ "Public" ], |
|
"ptype_manifest": null, |
|
"ptype_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", |
|
" Type of a DLS key ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 110, |
|
"pos_bol": 4546, |
|
"pos_cnum": 4550 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 110, |
|
"pos_bol": 4546, |
|
"pos_cnum": 4574 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 110, |
|
"pos_bol": 4546, |
|
"pos_cnum": 4550 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 110, |
|
"pos_bol": 4546, |
|
"pos_cnum": 4574 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 110, |
|
"pos_bol": 4546, |
|
"pos_cnum": 4550 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 110, |
|
"pos_bol": 4546, |
|
"pos_cnum": 4574 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 110, |
|
"pos_bol": 4546, |
|
"pos_cnum": 4550 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 110, |
|
"pos_bol": 4546, |
|
"pos_cnum": 4574 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"ptype_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 109, |
|
"pos_bol": 4530, |
|
"pos_cnum": 4534 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 109, |
|
"pos_bol": 4530, |
|
"pos_cnum": 4545 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 109, |
|
"pos_bol": 4530, |
|
"pos_cnum": 4534 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 109, |
|
"pos_bol": 4530, |
|
"pos_cnum": 4545 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4584 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4591 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "new_key" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "split_from_parent" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4614 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4616 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4620 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4622 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4614 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4622 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4628 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4632 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4636 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4638 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4628 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4638 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"key", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4643 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4645 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4643 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4649 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4627 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4649 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4594 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4649 |
|
}, |
|
"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", |
|
" [new_key f] returns a new key bound to initialiser [f] for accessing\n domain-local variables.\n\n If [split_from_parent] is not provided, the value for a new\n domain will be computed on-demand by the new domain: the first\n [get] call will call the initializer [f] and store that value.\n\n {b Warning.} [f] may be called several times if another call\n to [get] occurs during initialization on the same domain. Only\n the 'first' value computed will be used, the other now-useless\n values will be discarded. Your initialization function should\n support this situation, or contain logic to detect this case\n and fail.\n\n If [split_from_parent] is provided, spawning a domain will\n derive the child value (for this key) from the parent\n value. This computation happens in the parent domain and it\n always happens, regardless of whether the child domain will\n use it.\n If the splitting function is expensive or requires\n child-side computation, consider using ['a Lazy.t key]:\n\n {[\n let init () = ...\n\n let split_from_parent parent_value =\n ... parent-side computation ...;\n lazy (\n ... child-side computation ...\n )\n\n let key = Domain.DLS.new_key ~split_from_parent init\n\n let get () = Lazy.force (Domain.DLS.get key)\n ]}\n\n In this case a part of the computation happens on the child\n domain; in particular, it can access [parent_value]\n concurrently with the parent domain, which may require\n explicit synchronization to avoid data races.\n ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 113, |
|
"pos_bol": 4650, |
|
"pos_cnum": 4654 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 153, |
|
"pos_bol": 6316, |
|
"pos_cnum": 6322 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 113, |
|
"pos_bol": 4650, |
|
"pos_cnum": 4654 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 153, |
|
"pos_bol": 6316, |
|
"pos_cnum": 6322 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 113, |
|
"pos_bol": 4650, |
|
"pos_cnum": 4654 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 153, |
|
"pos_bol": 6316, |
|
"pos_cnum": 6322 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 113, |
|
"pos_bol": 4650, |
|
"pos_cnum": 4654 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 153, |
|
"pos_bol": 6316, |
|
"pos_cnum": 6322 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4580 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4649 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4580 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 112, |
|
"pos_bol": 4576, |
|
"pos_cnum": 4649 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 6324, |
|
"pos_cnum": 6332 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 6324, |
|
"pos_cnum": 6335 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "get" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"key", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 6324, |
|
"pos_cnum": 6338 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 6324, |
|
"pos_cnum": 6340 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 6324, |
|
"pos_cnum": 6338 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 6324, |
|
"pos_cnum": 6344 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 6324, |
|
"pos_cnum": 6348 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 6324, |
|
"pos_cnum": 6350 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 6324, |
|
"pos_cnum": 6338 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 6324, |
|
"pos_cnum": 6350 |
|
}, |
|
"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", |
|
" [get k] returns [v] if a value [v] is associated to the key [k] on\n the calling domain's domain-local state. Sets [k]'s value with its\n initialiser and returns it otherwise. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 156, |
|
"pos_bol": 6351, |
|
"pos_cnum": 6355 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 158, |
|
"pos_bol": 6501, |
|
"pos_cnum": 6549 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 156, |
|
"pos_bol": 6351, |
|
"pos_cnum": 6355 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 158, |
|
"pos_bol": 6501, |
|
"pos_cnum": 6549 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 156, |
|
"pos_bol": 6351, |
|
"pos_cnum": 6355 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 158, |
|
"pos_bol": 6501, |
|
"pos_cnum": 6549 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 156, |
|
"pos_bol": 6351, |
|
"pos_cnum": 6355 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 158, |
|
"pos_bol": 6501, |
|
"pos_cnum": 6549 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 6324, |
|
"pos_cnum": 6328 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 6324, |
|
"pos_cnum": 6350 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 6324, |
|
"pos_cnum": 6328 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 155, |
|
"pos_bol": 6324, |
|
"pos_cnum": 6350 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6559 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6562 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "set" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"key", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6565 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6567 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6565 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6571 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6575 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6577 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6581 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6585 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6575 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6585 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6565 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6585 |
|
}, |
|
"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", |
|
" [set k v] updates the calling domain's domain-local state to associate\n the key [k] with value [v]. It overwrites any previous values associated\n to [k], which cannot be restored later. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 161, |
|
"pos_bol": 6586, |
|
"pos_cnum": 6590 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 163, |
|
"pos_bol": 6746, |
|
"pos_cnum": 6796 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 161, |
|
"pos_bol": 6586, |
|
"pos_cnum": 6590 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 163, |
|
"pos_bol": 6746, |
|
"pos_cnum": 6796 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 161, |
|
"pos_bol": 6586, |
|
"pos_cnum": 6590 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 163, |
|
"pos_bol": 6746, |
|
"pos_cnum": 6796 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 161, |
|
"pos_bol": 6586, |
|
"pos_cnum": 6590 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 163, |
|
"pos_bol": 6746, |
|
"pos_cnum": 6796 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6555 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6585 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6555 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 160, |
|
"pos_bol": 6551, |
|
"pos_cnum": 6585 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"pmty_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 106, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4497 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 165, |
|
"pos_bol": 6798, |
|
"pos_cnum": 6801 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pmty_attributes": [] |
|
}, |
|
"pmd_attributes": [], |
|
"pmd_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 106, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4484 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 165, |
|
"pos_bol": 6798, |
|
"pos_cnum": 6801 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 106, |
|
"pos_bol": 4484, |
|
"pos_cnum": 4484 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./stdlib/domain.mli", |
|
"pos_lnum": 165, |
|
"pos_bol": 6798, |
|
"pos_cnum": 6801 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
|