|
[ |
|
{ |
|
"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", |
|
" Switch-related actions and changes ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 771, |
|
"pos_cnum": 771 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 771, |
|
"pos_cnum": 812 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 771, |
|
"pos_cnum": 771 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 771, |
|
"pos_cnum": 812 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 771, |
|
"pos_cnum": 771 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 771, |
|
"pos_cnum": 812 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 771, |
|
"pos_cnum": 771 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 771, |
|
"pos_cnum": 812 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 771, |
|
"pos_cnum": 771 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 12, |
|
"pos_bol": 771, |
|
"pos_cnum": 812 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_open", |
|
{ |
|
"popen_expr": "OpamTypes", |
|
"popen_override": "Fresh", |
|
"popen_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 814, |
|
"pos_cnum": 814 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 814, |
|
"pos_cnum": 828 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"popen_attributes": [] |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 814, |
|
"pos_cnum": 814 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 14, |
|
"pos_bol": 814, |
|
"pos_cnum": 828 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_open", |
|
{ |
|
"popen_expr": "OpamStateTypes", |
|
"popen_override": "Fresh", |
|
"popen_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 829, |
|
"pos_cnum": 829 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 829, |
|
"pos_cnum": 848 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"popen_attributes": [] |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 829, |
|
"pos_cnum": 829 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 829, |
|
"pos_cnum": 848 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1001, |
|
"pos_cnum": 1005 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1001, |
|
"pos_cnum": 1024 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "create_empty_switch" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"global_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "rw", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1026, |
|
"pos_cnum": 1028 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1026, |
|
"pos_cnum": 1030 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1026, |
|
"pos_cnum": 1028 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1026, |
|
"pos_cnum": 1043 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "synopsis" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "string", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1047, |
|
"pos_cnum": 1059 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1047, |
|
"pos_cnum": 1065 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "repos" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"list", |
|
[ |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "repository_name", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1047, |
|
"pos_cnum": 1076 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1047, |
|
"pos_cnum": 1091 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1047, |
|
"pos_cnum": 1076 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1047, |
|
"pos_cnum": 1096 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "invariant" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "formula", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1047, |
|
"pos_cnum": 1111 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1047, |
|
"pos_cnum": 1118 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "switch", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1122, |
|
"pos_cnum": 1124 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1122, |
|
"pos_cnum": 1130 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"global_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "rw", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1122, |
|
"pos_cnum": 1134 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1122, |
|
"pos_cnum": 1136 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1122, |
|
"pos_cnum": 1134 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1122, |
|
"pos_cnum": 1149 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1122, |
|
"pos_cnum": 1124 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1122, |
|
"pos_cnum": 1149 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1047, |
|
"pos_cnum": 1100 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1122, |
|
"pos_cnum": 1149 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1047, |
|
"pos_cnum": 1069 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1122, |
|
"pos_cnum": 1149 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1047, |
|
"pos_cnum": 1049 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1122, |
|
"pos_cnum": 1149 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1026, |
|
"pos_cnum": 1028 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1122, |
|
"pos_cnum": 1149 |
|
}, |
|
"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", |
|
" Initialises a new switch with the given name in the given opam root,\n registers it in the global config and returns the updated global state ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 850, |
|
"pos_cnum": 850 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 923, |
|
"pos_cnum": 1000 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 850, |
|
"pos_cnum": 850 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 923, |
|
"pos_cnum": 1000 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 850, |
|
"pos_cnum": 850 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 923, |
|
"pos_cnum": 1000 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 850, |
|
"pos_cnum": 850 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 923, |
|
"pos_cnum": 1000 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1001, |
|
"pos_cnum": 1001 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1122, |
|
"pos_cnum": 1149 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1001, |
|
"pos_cnum": 1001 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1122, |
|
"pos_cnum": 1149 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1278, |
|
"pos_cnum": 1282 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1278, |
|
"pos_cnum": 1298 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "write_selections" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"switch_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "rw", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1278, |
|
"pos_cnum": 1300 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1278, |
|
"pos_cnum": 1302 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1278, |
|
"pos_cnum": 1300 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1278, |
|
"pos_cnum": 1315 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1278, |
|
"pos_cnum": 1319 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1278, |
|
"pos_cnum": 1323 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1278, |
|
"pos_cnum": 1300 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1278, |
|
"pos_cnum": 1323 |
|
}, |
|
"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", |
|
" Writes the current state file to disk (installed, pinned, root packages etc.).\n Unless [OpamStateConfig.(!r.dryrun)] ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1151, |
|
"pos_cnum": 1151 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 1234, |
|
"pos_cnum": 1277 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1151, |
|
"pos_cnum": 1151 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 1234, |
|
"pos_cnum": 1277 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1151, |
|
"pos_cnum": 1151 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 1234, |
|
"pos_cnum": 1277 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1151, |
|
"pos_cnum": 1151 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 1234, |
|
"pos_cnum": 1277 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1278, |
|
"pos_cnum": 1278 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1278, |
|
"pos_cnum": 1323 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1278, |
|
"pos_cnum": 1278 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1278, |
|
"pos_cnum": 1323 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1476 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1494 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "set_current_switch" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"global_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "rw", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1496 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1498 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1496 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1511 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"switch_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1515 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1517 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1515 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1530 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"switch_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1534 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1536 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1534 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1549 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1515 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1549 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1496 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1549 |
|
}, |
|
"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", |
|
" Updates the global default switch to the one corresponding to the given\n state; fails and exits with a message if the switch is external ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1325, |
|
"pos_cnum": 1325 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1401, |
|
"pos_cnum": 1471 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1325, |
|
"pos_cnum": 1325 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1401, |
|
"pos_cnum": 1471 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1325, |
|
"pos_cnum": 1325 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1401, |
|
"pos_cnum": 1471 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1325, |
|
"pos_cnum": 1325 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1401, |
|
"pos_cnum": 1471 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1472 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1549 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1472 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1472, |
|
"pos_cnum": 1549 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1644, |
|
"pos_cnum": 1648 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1644, |
|
"pos_cnum": 1665 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "gen_switch_config" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "dirname", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1667, |
|
"pos_cnum": 1669 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1667, |
|
"pos_cnum": 1676 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "synopsis" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "string", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1680, |
|
"pos_cnum": 1692 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1680, |
|
"pos_cnum": 1698 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "repos" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"list", |
|
[ |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "repository_name", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1680, |
|
"pos_cnum": 1709 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1680, |
|
"pos_cnum": 1724 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1680, |
|
"pos_cnum": 1709 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1680, |
|
"pos_cnum": 1729 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "invariant" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "formula", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1680, |
|
"pos_cnum": 1744 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1680, |
|
"pos_cnum": 1751 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "switch", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1757 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1763 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "OpamFileSwitch_configt", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1767 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1791 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1757 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1791 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1680, |
|
"pos_cnum": 1733 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1791 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1680, |
|
"pos_cnum": 1702 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1791 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1680, |
|
"pos_cnum": 1682 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1791 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1667, |
|
"pos_cnum": 1669 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1791 |
|
}, |
|
"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", |
|
" Create the default global_config structure for a switch, including default\n prefix ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1551, |
|
"pos_cnum": 1551 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1630, |
|
"pos_cnum": 1643 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1551, |
|
"pos_cnum": 1551 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1630, |
|
"pos_cnum": 1643 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1551, |
|
"pos_cnum": 1551 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1630, |
|
"pos_cnum": 1643 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1551, |
|
"pos_cnum": 1551 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1630, |
|
"pos_cnum": 1643 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1644, |
|
"pos_cnum": 1644 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1791 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1644, |
|
"pos_cnum": 1644 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1791 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1863 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1884 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "install_switch_config" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "dirname", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1886 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1893 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "switch", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1897 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1903 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "OpamFileSwitch_configt", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1907 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1931 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1935 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1939 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1907 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1939 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1897 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1939 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1886 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1939 |
|
}, |
|
"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", |
|
" (Re-)install the configuration for a given root and switch ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1793, |
|
"pos_cnum": 1793 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1793, |
|
"pos_cnum": 1858 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1793, |
|
"pos_cnum": 1793 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1793, |
|
"pos_cnum": 1858 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1793, |
|
"pos_cnum": 1793 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1793, |
|
"pos_cnum": 1858 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1793, |
|
"pos_cnum": 1793 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1793, |
|
"pos_cnum": 1858 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1859 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1939 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1859 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1859, |
|
"pos_cnum": 1939 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2025 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2041 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "install_metadata" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"switch_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "rw", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2043 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2045 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2043 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2058 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "package", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2062 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2069 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2073 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2077 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2062 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2077 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2043 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2077 |
|
}, |
|
"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", |
|
" Add the package metadata to the switch-local cache of installed packages ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1941, |
|
"pos_cnum": 1941 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1941, |
|
"pos_cnum": 2020 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1941, |
|
"pos_cnum": 1941 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1941, |
|
"pos_cnum": 2020 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1941, |
|
"pos_cnum": 1941 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1941, |
|
"pos_cnum": 2020 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1941, |
|
"pos_cnum": 1941 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1941, |
|
"pos_cnum": 2020 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2021 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2077 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2021 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 2021, |
|
"pos_cnum": 2077 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2179 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2194 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "remove_metadata" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"switch_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "rw", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2196 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2198 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2196 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2211 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "package_set", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2215 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2226 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2230 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2234 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2215 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2234 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2196 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2234 |
|
}, |
|
"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", |
|
" Remove the metadata of the package from the switch-local cache of installed\n packages ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 45, |
|
"pos_bol": 2079, |
|
"pos_cnum": 2079 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2159, |
|
"pos_cnum": 2174 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 45, |
|
"pos_bol": 2079, |
|
"pos_cnum": 2079 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2159, |
|
"pos_cnum": 2174 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 45, |
|
"pos_bol": 2079, |
|
"pos_cnum": 2079 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2159, |
|
"pos_cnum": 2174 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 45, |
|
"pos_bol": 2079, |
|
"pos_cnum": 2079 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 46, |
|
"pos_bol": 2159, |
|
"pos_cnum": 2174 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2175 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2234 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2175 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 47, |
|
"pos_bol": 2175, |
|
"pos_cnum": 2234 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2405, |
|
"pos_cnum": 2409 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2405, |
|
"pos_cnum": 2425 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "add_to_reinstall" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"switch_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "rw", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2429 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2431 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2429 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2444 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Labelled", "unpinned_only" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2462 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2466 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "package_set", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2470 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2481 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"switch_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "rw", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2485 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2487 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2485 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2500 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2470 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2500 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2448 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2500 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2429 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2500 |
|
}, |
|
"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", |
|
" Update the on-disk set of packages marked to reinstall on the current switch\n (excepting compiler packages, and pinned packages if [unpinned_only] is\n set) ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2236, |
|
"pos_cnum": 2236 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2393, |
|
"pos_cnum": 2404 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2236, |
|
"pos_cnum": 2236 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2393, |
|
"pos_cnum": 2404 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2236, |
|
"pos_cnum": 2236 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2393, |
|
"pos_cnum": 2404 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 2236, |
|
"pos_cnum": 2236 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 51, |
|
"pos_bol": 2393, |
|
"pos_cnum": 2404 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2405, |
|
"pos_cnum": 2405 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2500 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 52, |
|
"pos_bol": 2405, |
|
"pos_cnum": 2405 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 2427, |
|
"pos_cnum": 2500 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2711, |
|
"pos_cnum": 2715 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2711, |
|
"pos_cnum": 2731 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "add_to_installed" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"switch_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "rw", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2735 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2737 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2735 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2750 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "root" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2760 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2764 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "package", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2768 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2775 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"switch_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "rw", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2779 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2781 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2779 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2794 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2768 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2794 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2754 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2794 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2735 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2794 |
|
}, |
|
"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", |
|
" Updates the package selections and switch config to take into account the\n given newly installed package. The updated state is written to disk unless\n [OpamStateConfig.(!r.dry_run)] and returned. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2502, |
|
"pos_cnum": 2502 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2659, |
|
"pos_cnum": 2710 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2502, |
|
"pos_cnum": 2502 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2659, |
|
"pos_cnum": 2710 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2502, |
|
"pos_cnum": 2502 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2659, |
|
"pos_cnum": 2710 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 2502, |
|
"pos_cnum": 2502 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 2659, |
|
"pos_cnum": 2710 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2711, |
|
"pos_cnum": 2711 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2794 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2711, |
|
"pos_cnum": 2711 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 2733, |
|
"pos_cnum": 2794 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 3086, |
|
"pos_cnum": 3090 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 3086, |
|
"pos_cnum": 3111 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "remove_from_installed" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "keep_as_root" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3129 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3133 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"switch_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "rw", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3137 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3139 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3137 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3152 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "package", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3156 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3163 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"switch_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "rw", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3167 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3169 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3167 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3182 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3156 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3182 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3137 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3182 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3115 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3182 |
|
}, |
|
"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", |
|
" Updates the package selections and switch config to take into account the\n removed package. The updated state is written to disk unless\n [OpamStateConfig.(!r.dry_run)], and returned. If [keep_as_root], the package\n isn't removed from the switch state [installed_roots] set. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 61, |
|
"pos_bol": 2796, |
|
"pos_cnum": 2796 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 64, |
|
"pos_bol": 3020, |
|
"pos_cnum": 3085 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 61, |
|
"pos_bol": 2796, |
|
"pos_cnum": 2796 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 64, |
|
"pos_bol": 3020, |
|
"pos_cnum": 3085 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 61, |
|
"pos_bol": 2796, |
|
"pos_cnum": 2796 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 64, |
|
"pos_bol": 3020, |
|
"pos_cnum": 3085 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 61, |
|
"pos_bol": 2796, |
|
"pos_cnum": 2796 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 64, |
|
"pos_bol": 3020, |
|
"pos_cnum": 3085 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 3086, |
|
"pos_cnum": 3086 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3182 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 3086, |
|
"pos_cnum": 3086 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3113, |
|
"pos_cnum": 3182 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3303, |
|
"pos_cnum": 3307 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3303, |
|
"pos_cnum": 3326 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "update_switch_state" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "installed" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "package_set", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 71, |
|
"pos_bol": 3328, |
|
"pos_cnum": 3342 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 71, |
|
"pos_bol": 3328, |
|
"pos_cnum": 3353 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "installed_roots" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "package_set", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 72, |
|
"pos_bol": 3357, |
|
"pos_cnum": 3377 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 72, |
|
"pos_bol": 3357, |
|
"pos_cnum": 3388 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "reinstall" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "package_set", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 73, |
|
"pos_bol": 3392, |
|
"pos_cnum": 3406 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 73, |
|
"pos_bol": 3392, |
|
"pos_cnum": 3417 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "pinned" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "package_set", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3421, |
|
"pos_cnum": 3432 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3421, |
|
"pos_cnum": 3443 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"switch_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "rw", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3449 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3451 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3449 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3464 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"switch_state", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "rw", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3468 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3470 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3468 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3483 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3449 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3483 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 74, |
|
"pos_bol": 3421, |
|
"pos_cnum": 3423 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3483 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 73, |
|
"pos_bol": 3392, |
|
"pos_cnum": 3394 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3483 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 72, |
|
"pos_bol": 3357, |
|
"pos_cnum": 3359 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3483 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 71, |
|
"pos_bol": 3328, |
|
"pos_cnum": 3330 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3483 |
|
}, |
|
"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", |
|
" Update the switch selections with the supplied optional arguments. Changes\n are written to disk and returned ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 68, |
|
"pos_bol": 3184, |
|
"pos_cnum": 3184 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3263, |
|
"pos_cnum": 3302 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 68, |
|
"pos_bol": 3184, |
|
"pos_cnum": 3184 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3263, |
|
"pos_cnum": 3302 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 68, |
|
"pos_bol": 3184, |
|
"pos_cnum": 3184 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3263, |
|
"pos_cnum": 3302 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 68, |
|
"pos_bol": 3184, |
|
"pos_cnum": 3184 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3263, |
|
"pos_cnum": 3302 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3303, |
|
"pos_cnum": 3303 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3483 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 70, |
|
"pos_bol": 3303, |
|
"pos_cnum": 3303 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/opam-state/opamSwitchAction.mli", |
|
"pos_lnum": 75, |
|
"pos_bol": 3447, |
|
"pos_cnum": 3483 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
|