ocaml-opam-ppxlib-json-ast / ocaml /utils /build_path_prefix_map.mli.sig
mike dupont
sig
9fad63a
raw
history blame
75.4 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",
" Rewrite paths for reproducible builds\n\n {b Warning:} this module is unstable and part of\n {{!Compiler_libs}compiler-libs}.\n\n See\n {{: https://reproducible-builds.org/specs/build-path-prefix-map/ }\n the BUILD_PATH_PREFIX_MAP spec}\n",
{
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 16,
"pos_bol": 1079,
"pos_cnum": 1079
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 24,
"pos_bol": 1318,
"pos_cnum": 1320
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 16,
"pos_bol": 1079,
"pos_cnum": 1079
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 24,
"pos_bol": 1318,
"pos_cnum": 1320
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 16,
"pos_bol": 1079,
"pos_cnum": 1079
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 24,
"pos_bol": 1318,
"pos_cnum": 1320
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 16,
"pos_bol": 1079,
"pos_cnum": 1079
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 24,
"pos_bol": 1318,
"pos_cnum": 1320
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 16,
"pos_bol": 1079,
"pos_cnum": 1079
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 24,
"pos_bol": 1318,
"pos_cnum": 1320
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_type",
[ "Recursive" ],
[
{
"ptype_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 27,
"pos_bol": 1323,
"pos_cnum": 1328
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 27,
"pos_bol": 1323,
"pos_cnum": 1332
},
"loc_ghost": false
},
"txt2": "path"
},
"ptype_params": [],
"ptype_cstrs": [],
"ptype_kind": [ "Ptype_abstract" ],
"ptype_private": [ "Public" ],
"ptype_manifest": {
"ptyp_desc": [ "Ptyp_constr", "string", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 27,
"pos_bol": 1323,
"pos_cnum": 1335
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 27,
"pos_bol": 1323,
"pos_cnum": 1341
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"ptype_attributes": [],
"ptype_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 27,
"pos_bol": 1323,
"pos_cnum": 1323
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 27,
"pos_bol": 1323,
"pos_cnum": 1341
},
"loc_ghost": false
}
}
]
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 27,
"pos_bol": 1323,
"pos_cnum": 1323
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 27,
"pos_bol": 1323,
"pos_cnum": 1341
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_type",
[ "Recursive" ],
[
{
"ptype_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 28,
"pos_bol": 1342,
"pos_cnum": 1347
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 28,
"pos_bol": 1342,
"pos_cnum": 1358
},
"loc_ghost": false
},
"txt2": "path_prefix"
},
"ptype_params": [],
"ptype_cstrs": [],
"ptype_kind": [ "Ptype_abstract" ],
"ptype_private": [ "Public" ],
"ptype_manifest": {
"ptyp_desc": [ "Ptyp_constr", "string", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 28,
"pos_bol": 1342,
"pos_cnum": 1361
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 28,
"pos_bol": 1342,
"pos_cnum": 1367
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"ptype_attributes": [],
"ptype_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 28,
"pos_bol": 1342,
"pos_cnum": 1342
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 28,
"pos_bol": 1342,
"pos_cnum": 1367
},
"loc_ghost": false
}
}
]
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 28,
"pos_bol": 1342,
"pos_cnum": 1342
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 28,
"pos_bol": 1342,
"pos_cnum": 1367
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_type",
[ "Recursive" ],
[
{
"ptype_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 29,
"pos_bol": 1368,
"pos_cnum": 1373
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 29,
"pos_bol": 1368,
"pos_cnum": 1386
},
"loc_ghost": false
},
"txt2": "error_message"
},
"ptype_params": [],
"ptype_cstrs": [],
"ptype_kind": [ "Ptype_abstract" ],
"ptype_private": [ "Public" ],
"ptype_manifest": {
"ptyp_desc": [ "Ptyp_constr", "string", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 29,
"pos_bol": 1368,
"pos_cnum": 1389
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 29,
"pos_bol": 1368,
"pos_cnum": 1395
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"ptype_attributes": [],
"ptype_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 29,
"pos_bol": 1368,
"pos_cnum": 1368
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 29,
"pos_bol": 1368,
"pos_cnum": 1395
},
"loc_ghost": false
}
}
]
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 29,
"pos_bol": 1368,
"pos_cnum": 1368
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 29,
"pos_bol": 1368,
"pos_cnum": 1395
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 31,
"pos_bol": 1397,
"pos_cnum": 1401
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 31,
"pos_bol": 1397,
"pos_cnum": 1414
},
"loc_ghost": false
},
"txt2": "encode_prefix"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "path_prefix", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 31,
"pos_bol": 1397,
"pos_cnum": 1417
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 31,
"pos_bol": 1397,
"pos_cnum": 1428
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "string", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 31,
"pos_bol": 1397,
"pos_cnum": 1432
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 31,
"pos_bol": 1397,
"pos_cnum": 1438
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 31,
"pos_bol": 1397,
"pos_cnum": 1417
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 31,
"pos_bol": 1397,
"pos_cnum": 1438
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"pval_prim": [],
"pval_attributes": [],
"pval_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 31,
"pos_bol": 1397,
"pos_cnum": 1397
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 31,
"pos_bol": 1397,
"pos_cnum": 1438
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 31,
"pos_bol": 1397,
"pos_cnum": 1397
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 31,
"pos_bol": 1397,
"pos_cnum": 1438
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1443
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1456
},
"loc_ghost": false
},
"txt2": "decode_prefix"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "string", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1459
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1465
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [
"Ptyp_constr",
"result",
[
{
"ptyp_desc": [ "Ptyp_constr", "path_prefix", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1470
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1481
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "error_message", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1483
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1496
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1469
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1504
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1459
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1504
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"pval_prim": [],
"pval_attributes": [],
"pval_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1439
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1504
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1439
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 32,
"pos_bol": 1439,
"pos_cnum": 1504
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_type",
[ "Recursive" ],
[
{
"ptype_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1511
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1515
},
"loc_ghost": false
},
"txt2": "pair"
},
"ptype_params": [],
"ptype_cstrs": [],
"ptype_kind": [
"Ptype_record",
[
{
"pld_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1520
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1526
},
"loc_ghost": false
},
"txt2": "target"
},
"pld_mutable": [ "Immutable" ],
"pld_type": {
"ptyp_desc": [ "Ptyp_constr", "path_prefix", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1528
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1539
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"pld_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1520
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1540
},
"loc_ghost": false
},
"pld_attributes": []
},
{
"pld_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1541
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1547
},
"loc_ghost": false
},
"txt2": "source"
},
"pld_mutable": [ "Immutable" ],
"pld_type": {
"ptyp_desc": [ "Ptyp_constr", "path_prefix", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1550
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1561
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"pld_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1541
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1561
},
"loc_ghost": false
},
"pld_attributes": []
}
]
],
"ptype_private": [ "Public" ],
"ptype_manifest": null,
"ptype_attributes": [],
"ptype_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1506
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1563
},
"loc_ghost": false
}
}
]
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1506
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 34,
"pos_bol": 1506,
"pos_cnum": 1563
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 36,
"pos_bol": 1565,
"pos_cnum": 1569
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 36,
"pos_bol": 1565,
"pos_cnum": 1580
},
"loc_ghost": false
},
"txt2": "encode_pair"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "pair", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 36,
"pos_bol": 1565,
"pos_cnum": 1583
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 36,
"pos_bol": 1565,
"pos_cnum": 1587
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "string", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 36,
"pos_bol": 1565,
"pos_cnum": 1591
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 36,
"pos_bol": 1565,
"pos_cnum": 1597
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 36,
"pos_bol": 1565,
"pos_cnum": 1583
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 36,
"pos_bol": 1565,
"pos_cnum": 1597
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"pval_prim": [],
"pval_attributes": [],
"pval_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 36,
"pos_bol": 1565,
"pos_cnum": 1565
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 36,
"pos_bol": 1565,
"pos_cnum": 1597
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 36,
"pos_bol": 1565,
"pos_cnum": 1565
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 36,
"pos_bol": 1565,
"pos_cnum": 1597
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1602
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1613
},
"loc_ghost": false
},
"txt2": "decode_pair"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "string", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1616
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1622
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [
"Ptyp_constr",
"result",
[
{
"ptyp_desc": [ "Ptyp_constr", "pair", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1627
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1631
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "error_message", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1633
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1646
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1626
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1654
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1616
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1654
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"pval_prim": [],
"pval_attributes": [],
"pval_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1598
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1654
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1598
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 37,
"pos_bol": 1598,
"pos_cnum": 1654
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_type",
[ "Recursive" ],
[
{
"ptype_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 39,
"pos_bol": 1656,
"pos_cnum": 1661
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 39,
"pos_bol": 1656,
"pos_cnum": 1664
},
"loc_ghost": false
},
"txt2": "map"
},
"ptype_params": [],
"ptype_cstrs": [],
"ptype_kind": [ "Ptype_abstract" ],
"ptype_private": [ "Public" ],
"ptype_manifest": {
"ptyp_desc": [
"Ptyp_constr",
"list",
[
{
"ptyp_desc": [
"Ptyp_constr",
"option",
[
{
"ptyp_desc": [ "Ptyp_constr", "pair", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 39,
"pos_bol": 1656,
"pos_cnum": 1667
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 39,
"pos_bol": 1656,
"pos_cnum": 1671
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 39,
"pos_bol": 1656,
"pos_cnum": 1667
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 39,
"pos_bol": 1656,
"pos_cnum": 1678
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 39,
"pos_bol": 1656,
"pos_cnum": 1667
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 39,
"pos_bol": 1656,
"pos_cnum": 1683
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"ptype_attributes": [],
"ptype_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 39,
"pos_bol": 1656,
"pos_cnum": 1656
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 39,
"pos_bol": 1656,
"pos_cnum": 1683
},
"loc_ghost": false
}
}
]
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 39,
"pos_bol": 1656,
"pos_cnum": 1656
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 39,
"pos_bol": 1656,
"pos_cnum": 1683
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 41,
"pos_bol": 1685,
"pos_cnum": 1689
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 41,
"pos_bol": 1685,
"pos_cnum": 1699
},
"loc_ghost": false
},
"txt2": "encode_map"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "map", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 41,
"pos_bol": 1685,
"pos_cnum": 1702
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 41,
"pos_bol": 1685,
"pos_cnum": 1705
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "string", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 41,
"pos_bol": 1685,
"pos_cnum": 1709
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 41,
"pos_bol": 1685,
"pos_cnum": 1715
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 41,
"pos_bol": 1685,
"pos_cnum": 1702
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 41,
"pos_bol": 1685,
"pos_cnum": 1715
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"pval_prim": [],
"pval_attributes": [],
"pval_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 41,
"pos_bol": 1685,
"pos_cnum": 1685
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 41,
"pos_bol": 1685,
"pos_cnum": 1715
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 41,
"pos_bol": 1685,
"pos_cnum": 1685
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 41,
"pos_bol": 1685,
"pos_cnum": 1715
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1720
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1730
},
"loc_ghost": false
},
"txt2": "decode_map"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "string", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1733
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1739
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [
"Ptyp_constr",
"result",
[
{
"ptyp_desc": [ "Ptyp_constr", "map", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1744
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1747
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "error_message", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1749
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1762
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1743
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1770
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1733
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1770
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
"pval_prim": [],
"pval_attributes": [],
"pval_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1716
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1770
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1716
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 42,
"pos_bol": 1716,
"pos_cnum": 1770
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1776
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1789
},
"loc_ghost": false
},
"txt2": "rewrite_first"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "map", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1792
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1795
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "path", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1799
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1803
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [
"Ptyp_constr",
"option",
[
{
"ptyp_desc": [ "Ptyp_constr", "path", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1807
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1811
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1807
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1818
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1799
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1818
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1792
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1818
},
"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",
" [rewrite_first map path] tries to find a source in [map]\n that is a prefix of the input [path]. If it succeeds,\n it replaces this prefix with the corresponding target.\n If it fails, it just returns [None]. ",
{
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 45,
"pos_bol": 1819,
"pos_cnum": 1819
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 48,
"pos_bol": 1997,
"pos_cnum": 2040
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 45,
"pos_bol": 1819,
"pos_cnum": 1819
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 48,
"pos_bol": 1997,
"pos_cnum": 2040
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 45,
"pos_bol": 1819,
"pos_cnum": 1819
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 48,
"pos_bol": 1997,
"pos_cnum": 2040
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 45,
"pos_bol": 1819,
"pos_cnum": 1819
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 48,
"pos_bol": 1997,
"pos_cnum": 2040
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1772
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1818
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1772
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 44,
"pos_bol": 1772,
"pos_cnum": 1818
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2046
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2057
},
"loc_ghost": false
},
"txt2": "rewrite_all"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "map", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2060
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2063
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "path", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2067
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2071
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [
"Ptyp_constr",
"list",
[
{
"ptyp_desc": [ "Ptyp_constr", "path", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2075
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2079
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
]
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2075
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2084
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2067
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2084
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2060
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2084
},
"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",
" [rewrite_all map path] finds all sources in [map]\n that are a prefix of the input [path]. For each matching\n source, in priority order, it replaces this prefix with\n the corresponding target and adds the result to\n the returned list.\n If there are no matches, it just returns [[]]. ",
{
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 51,
"pos_bol": 2085,
"pos_cnum": 2085
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 56,
"pos_bol": 2335,
"pos_cnum": 2388
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 51,
"pos_bol": 2085,
"pos_cnum": 2085
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 56,
"pos_bol": 2335,
"pos_cnum": 2388
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 51,
"pos_bol": 2085,
"pos_cnum": 2085
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 56,
"pos_bol": 2335,
"pos_cnum": 2388
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 51,
"pos_bol": 2085,
"pos_cnum": 2085
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 56,
"pos_bol": 2335,
"pos_cnum": 2388
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2042
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2084
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2042
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 50,
"pos_bol": 2042,
"pos_cnum": 2084
},
"loc_ghost": false
}
},
{
"psig_desc": [
"Psig_value",
{
"pval_name": {
"loc2": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2394
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2401
},
"loc_ghost": false
},
"txt2": "rewrite"
},
"pval_type": {
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "map", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2404
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2407
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [
"Ptyp_arrow",
[ "Nolabel" ],
{
"ptyp_desc": [ "Ptyp_constr", "path", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2411
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2415
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
},
{
"ptyp_desc": [ "Ptyp_constr", "path", [] ],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2419
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2423
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2411
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2423
},
"loc_ghost": false
},
"ptyp_loc_stack": [],
"ptyp_attributes": []
}
],
"ptyp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2404
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2423
},
"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",
" [rewrite path] uses [rewrite_first] to try to find a\n mapping for path. If found, it returns that, otherwise\n it just returns [path]. ",
{
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 59,
"pos_bol": 2424,
"pos_cnum": 2424
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 61,
"pos_bol": 2540,
"pos_cnum": 2570
},
"loc_ghost": false
},
null
]
],
"pexp_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 59,
"pos_bol": 2424,
"pos_cnum": 2424
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 61,
"pos_bol": 2540,
"pos_cnum": 2570
},
"loc_ghost": false
},
"pexp_loc_stack": [],
"pexp_attributes": []
},
[]
],
"pstr_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 59,
"pos_bol": 2424,
"pos_cnum": 2424
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 61,
"pos_bol": 2540,
"pos_cnum": 2570
},
"loc_ghost": false
}
}
]
],
"attr_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 59,
"pos_bol": 2424,
"pos_cnum": 2424
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 61,
"pos_bol": 2540,
"pos_cnum": 2570
},
"loc_ghost": false
}
}
],
"pval_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2390
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2423
},
"loc_ghost": false
}
}
],
"psig_loc": {
"loc_start": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2390
},
"loc_end": {
"pos_fname": "./utils/build_path_prefix_map.mli",
"pos_lnum": 58,
"pos_bol": 2390,
"pos_cnum": 2423
},
"loc_ghost": false
}
}
]