mike dupont
sig
9fad63a
raw
history blame
63 kB
[
{
"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",
" This module provides some facilities for creating references (and hash\n tables) which can easily be snapshotted and restored to an arbitrary\n version.\n\n It is used throughout the frontend (read: typechecker), to register all\n (well, hopefully) the global state. Thus making it easy for tools like\n Merlin to go back and forth typechecking different files. ",
{
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 16,
"pos_bol": 1079,
"pos_cnum": 1079
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 22,
"pos_bol": 1392,
"pos_cnum": 1456
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 16,
"pos_bol": 1079,
"pos_cnum": 1079
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 22,
"pos_bol": 1392,
"pos_cnum": 1456
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 16,
"pos_bol": 1079,
"pos_cnum": 1079
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 22,
"pos_bol": 1392,
"pos_cnum": 1456
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 16,
"pos_bol": 1079,
"pos_cnum": 1079
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 22,
"pos_bol": 1392,
"pos_cnum": 1456
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 16,
"pos_bol": 1079,
"pos_cnum": 1079
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 22,
"pos_bol": 1392,
"pos_cnum": 1456
},
"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",
" {1 Creators} ",
{
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 24,
"pos_bol": 1458,
"pos_cnum": 1458
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 24,
"pos_bol": 1458,
"pos_cnum": 1477
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 24,
"pos_bol": 1458,
"pos_cnum": 1458
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 24,
"pos_bol": 1458,
"pos_cnum": 1477
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 24,
"pos_bol": 1458,
"pos_cnum": 1458
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 24,
"pos_bol": 1458,
"pos_cnum": 1477
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 24,
"pos_bol": 1458,
"pos_cnum": 1458
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 24,
"pos_bol": 1458,
"pos_cnum": 1477
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 24,
"pos_bol": 1458,
"pos_cnum": 1458
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 24,
"pos_bol": 1458,
"pos_cnum": 1477
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 26,
"pos_bol": 1479,
"pos_cnum": 1483
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 26,
"pos_bol": 1479,
"pos_cnum": 1488
},
"loc_ghost": false
},
"txt2": "s_ref"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 26,
"pos_bol": 1479,
"pos_cnum": 1491
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 26,
"pos_bol": 1479,
"pos_cnum": 1493
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [
"Ptyp_constr",
"ref",
[
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 26,
"pos_bol": 1479,
"pos_cnum": 1497
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 26,
"pos_bol": 1479,
"pos_cnum": 1499
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 26,
"pos_bol": 1479,
"pos_cnum": 1497
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 26,
"pos_bol": 1479,
"pos_cnum": 1503
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 26,
"pos_bol": 1479,
"pos_cnum": 1491
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 26,
"pos_bol": 1479,
"pos_cnum": 1503
},
"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",
" Similar to {!val:Stdlib.ref}, except the allocated reference is registered\n into the store. ",
{
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 27,
"pos_bol": 1504,
"pos_cnum": 1504
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 28,
"pos_bol": 1583,
"pos_cnum": 1605
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 27,
"pos_bol": 1504,
"pos_cnum": 1504
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 28,
"pos_bol": 1583,
"pos_cnum": 1605
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 27,
"pos_bol": 1504,
"pos_cnum": 1504
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 28,
"pos_bol": 1583,
"pos_cnum": 1605
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 27,
"pos_bol": 1504,
"pos_cnum": 1504
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 28,
"pos_bol": 1583,
"pos_cnum": 1605
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 26,
"pos_bol": 1479,
"pos_cnum": 1479
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 26,
"pos_bol": 1479,
"pos_cnum": 1503
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 26,
"pos_bol": 1479,
"pos_cnum": 1479
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 26,
"pos_bol": 1479,
"pos_cnum": 1503
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1611
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1618
},
"loc_ghost": false
},
"txt2": "s_table"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1622
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1624
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_var", "b" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1628
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1630
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1622
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1630
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1635
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1637
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [
"Ptyp_constr",
"ref",
[
{
"ptyp_desc": [ "Ptyp_var", "b" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1641
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1643
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1641
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1647
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1635
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1647
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1621
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1647
},
"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",
" Used to register hash tables. Those also need to be placed into refs to be\n easily swapped out, but one can't just \"snapshot\" the initial value to\n create fresh instances, so instead an initializer is required.\n\n Use it like this:\n {[\n let my_table = s_table Hashtbl.create 42\n ]}\n",
{
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 31,
"pos_bol": 1648,
"pos_cnum": 1648
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 39,
"pos_bol": 1953,
"pos_cnum": 1955
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 31,
"pos_bol": 1648,
"pos_cnum": 1648
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 39,
"pos_bol": 1953,
"pos_cnum": 1955
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 31,
"pos_bol": 1648,
"pos_cnum": 1648
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 39,
"pos_bol": 1953,
"pos_cnum": 1955
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 31,
"pos_bol": 1648,
"pos_cnum": 1648
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 39,
"pos_bol": 1953,
"pos_cnum": 1955
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1607
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1647
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1607
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 30,
"pos_bol": 1607,
"pos_cnum": 1647
},
"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",
" {1 State management}\n\n Note: all the following functions are currently unused inside the compiler\n codebase. Merlin is their only user at the moment. ",
{
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 41,
"pos_bol": 1957,
"pos_cnum": 1957
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 44,
"pos_bol": 2062,
"pos_cnum": 2119
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 41,
"pos_bol": 1957,
"pos_cnum": 1957
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 44,
"pos_bol": 2062,
"pos_cnum": 2119
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 41,
"pos_bol": 1957,
"pos_cnum": 1957
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 44,
"pos_bol": 2062,
"pos_cnum": 2119
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 41,
"pos_bol": 1957,
"pos_cnum": 1957
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 44,
"pos_bol": 2062,
"pos_cnum": 2119
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 41,
"pos_bol": 1957,
"pos_cnum": 1957
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 44,
"pos_bol": 2062,
"pos_cnum": 2119
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_type",
[ "Recursive" ],
[
{
"ptype_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 46,
"pos_bol": 2121,
"pos_cnum": 2126
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 46,
"pos_bol": 2121,
"pos_cnum": 2131
},
"loc_ghost": false
},
"txt2": "store"
},
"ptype_params": [],
"ptype_cstrs": [],
"ptype_kind": [ "Ptype_abstract" ],
"ptype_private": [ "Public" ],
"ptype_manifest": null,
"ptype_attributes": [],
"ptype_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 46,
"pos_bol": 2121,
"pos_cnum": 2121
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 46,
"pos_bol": 2121,
"pos_cnum": 2131
},
"loc_ghost": false
}
}
]
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 46,
"pos_bol": 2121,
"pos_cnum": 2121
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 46,
"pos_bol": 2121,
"pos_cnum": 2131
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 48,
"pos_bol": 2133,
"pos_cnum": 2137
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 48,
"pos_bol": 2133,
"pos_cnum": 2142
},
"loc_ghost": false
},
"txt2": "fresh"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "unit", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 48,
"pos_bol": 2133,
"pos_cnum": 2145
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 48,
"pos_bol": 2133,
"pos_cnum": 2149
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "store", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 48,
"pos_bol": 2133,
"pos_cnum": 2153
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 48,
"pos_bol": 2133,
"pos_cnum": 2158
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 48,
"pos_bol": 2133,
"pos_cnum": 2145
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 48,
"pos_bol": 2133,
"pos_cnum": 2158
},
"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",
" Returns a fresh instance of the store.\n\n The first time this function is called, it snapshots the value of all the\n registered references, later calls to [fresh] will return instances\n initialized to those values. ",
{
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 49,
"pos_bol": 2159,
"pos_cnum": 2159
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 53,
"pos_bol": 2353,
"pos_cnum": 2388
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 49,
"pos_bol": 2159,
"pos_cnum": 2159
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 53,
"pos_bol": 2353,
"pos_cnum": 2388
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 49,
"pos_bol": 2159,
"pos_cnum": 2159
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 53,
"pos_bol": 2353,
"pos_cnum": 2388
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 49,
"pos_bol": 2159,
"pos_cnum": 2159
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 53,
"pos_bol": 2353,
"pos_cnum": 2388
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 48,
"pos_bol": 2133,
"pos_cnum": 2133
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 48,
"pos_bol": 2133,
"pos_cnum": 2158
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 48,
"pos_bol": 2133,
"pos_cnum": 2133
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 48,
"pos_bol": 2133,
"pos_cnum": 2158
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2394
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2404
},
"loc_ghost": false
},
"txt2": "with_store"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "store", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2407
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2412
},
"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": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2417
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2421
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2425
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2427
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2417
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2427
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_var", "a" ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2432
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2434
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2416
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2434
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2407
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2434
},
"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",
" [with_store s f] resets all the registered references to the value they have\n in [s] for the run of [f].\n If [f] updates any of the registered refs, [s] is updated to remember those\n changes. ",
{
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 56,
"pos_bol": 2435,
"pos_cnum": 2435
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 59,
"pos_bol": 2627,
"pos_cnum": 2642
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 56,
"pos_bol": 2435,
"pos_cnum": 2435
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 59,
"pos_bol": 2627,
"pos_cnum": 2642
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 56,
"pos_bol": 2435,
"pos_cnum": 2435
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 59,
"pos_bol": 2627,
"pos_cnum": 2642
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 56,
"pos_bol": 2435,
"pos_cnum": 2435
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 59,
"pos_bol": 2627,
"pos_cnum": 2642
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2390
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2434
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2390
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 55,
"pos_bol": 2390,
"pos_cnum": 2434
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 61,
"pos_bol": 2644,
"pos_cnum": 2648
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 61,
"pos_bol": 2644,
"pos_cnum": 2653
},
"loc_ghost": false
},
"txt2": "reset"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "unit", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 61,
"pos_bol": 2644,
"pos_cnum": 2656
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 61,
"pos_bol": 2644,
"pos_cnum": 2660
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "unit", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 61,
"pos_bol": 2644,
"pos_cnum": 2664
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 61,
"pos_bol": 2644,
"pos_cnum": 2668
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 61,
"pos_bol": 2644,
"pos_cnum": 2656
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 61,
"pos_bol": 2644,
"pos_cnum": 2668
},
"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",
" Resets all the references to the initial snapshot (i.e. to the same values\n that new instances start with). ",
{
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 62,
"pos_bol": 2669,
"pos_cnum": 2669
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 63,
"pos_bol": 2748,
"pos_cnum": 2786
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 62,
"pos_bol": 2669,
"pos_cnum": 2669
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 63,
"pos_bol": 2748,
"pos_cnum": 2786
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 62,
"pos_bol": 2669,
"pos_cnum": 2669
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 63,
"pos_bol": 2748,
"pos_cnum": 2786
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 62,
"pos_bol": 2669,
"pos_cnum": 2669
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 63,
"pos_bol": 2748,
"pos_cnum": 2786
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 61,
"pos_bol": 2644,
"pos_cnum": 2644
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 61,
"pos_bol": 2644,
"pos_cnum": 2668
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 61,
"pos_bol": 2644,
"pos_cnum": 2644
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 61,
"pos_bol": 2644,
"pos_cnum": 2668
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 65,
"pos_bol": 2788,
"pos_cnum": 2792
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 65,
"pos_bol": 2788,
"pos_cnum": 2800
},
"loc_ghost": false
},
"txt2": "is_bound"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "unit", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 65,
"pos_bol": 2788,
"pos_cnum": 2803
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 65,
"pos_bol": 2788,
"pos_cnum": 2807
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "bool", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 65,
"pos_bol": 2788,
"pos_cnum": 2811
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 65,
"pos_bol": 2788,
"pos_cnum": 2815
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 65,
"pos_bol": 2788,
"pos_cnum": 2803
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 65,
"pos_bol": 2788,
"pos_cnum": 2815
},
"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",
" Returns [true] when a store is active (i.e. when called from the callback\n passed to {!with_store}), [false] otherwise. ",
{
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 66,
"pos_bol": 2816,
"pos_cnum": 2816
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 67,
"pos_bol": 2894,
"pos_cnum": 2945
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 66,
"pos_bol": 2816,
"pos_cnum": 2816
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 67,
"pos_bol": 2894,
"pos_cnum": 2945
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 66,
"pos_bol": 2816,
"pos_cnum": 2816
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 67,
"pos_bol": 2894,
"pos_cnum": 2945
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 66,
"pos_bol": 2816,
"pos_cnum": 2816
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 67,
"pos_bol": 2894,
"pos_cnum": 2945
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 65,
"pos_bol": 2788,
"pos_cnum": 2788
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 65,
"pos_bol": 2788,
"pos_cnum": 2815
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 65,
"pos_bol": 2788,
"pos_cnum": 2788
},
"loc_end": {
"pos_fname": "./utils/local_store.mli",
"pos_lnum": 65,
"pos_bol": 2788,
"pos_cnum": 2815
},
"loc_ghost": false
}
}
]