|
[ |
|
{ |
|
"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", |
|
" Long identifiers, used in parsetree.\n\n {b Warning:} this module is unstable and part of\n {{!Compiler_libs}compiler-libs}.\n\n To print a longident, see {!Pprintast.longident}, using\n {!Format.asprintf} to convert to a string.\n\n", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 1079, |
|
"pos_cnum": 1079 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1314, |
|
"pos_cnum": 1316 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 1079, |
|
"pos_cnum": 1079 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1314, |
|
"pos_cnum": 1316 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 1079, |
|
"pos_cnum": 1079 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1314, |
|
"pos_cnum": 1316 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 1079, |
|
"pos_cnum": 1079 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1314, |
|
"pos_cnum": 1316 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 16, |
|
"pos_bol": 1079, |
|
"pos_cnum": 1079 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1314, |
|
"pos_cnum": 1316 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_type", |
|
[ "Recursive" ], |
|
[ |
|
{ |
|
"ptype_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1323 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1324 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "t" |
|
}, |
|
"ptype_params": [], |
|
"ptype_cstrs": [], |
|
"ptype_kind": [ |
|
"Ptype_variant", |
|
[ |
|
{ |
|
"pcd_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1327, |
|
"pos_cnum": 1331 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1327, |
|
"pos_cnum": 1337 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Lident" |
|
}, |
|
"pcd_vars": [], |
|
"pcd_args": [ |
|
"Pcstr_tuple", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "string", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1327, |
|
"pos_cnum": 1341 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1327, |
|
"pos_cnum": 1347 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"pcd_res": null, |
|
"pcd_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1327, |
|
"pos_cnum": 1331 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1327, |
|
"pos_cnum": 1347 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pcd_attributes": [] |
|
}, |
|
{ |
|
"pcd_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1348, |
|
"pos_cnum": 1352 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1348, |
|
"pos_cnum": 1356 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Ldot" |
|
}, |
|
"pcd_vars": [], |
|
"pcd_args": [ |
|
"Pcstr_tuple", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1348, |
|
"pos_cnum": 1360 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1348, |
|
"pos_cnum": 1361 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "string", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1348, |
|
"pos_cnum": 1364 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1348, |
|
"pos_cnum": 1370 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"pcd_res": null, |
|
"pcd_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1348, |
|
"pos_cnum": 1350 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1348, |
|
"pos_cnum": 1370 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pcd_attributes": [] |
|
}, |
|
{ |
|
"pcd_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1371, |
|
"pos_cnum": 1375 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1371, |
|
"pos_cnum": 1381 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Lapply" |
|
}, |
|
"pcd_vars": [], |
|
"pcd_args": [ |
|
"Pcstr_tuple", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1371, |
|
"pos_cnum": 1385 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1371, |
|
"pos_cnum": 1386 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1371, |
|
"pos_cnum": 1389 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1371, |
|
"pos_cnum": 1390 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"pcd_res": null, |
|
"pcd_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1371, |
|
"pos_cnum": 1373 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1371, |
|
"pos_cnum": 1390 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pcd_attributes": [] |
|
} |
|
] |
|
], |
|
"ptype_private": [ "Public" ], |
|
"ptype_manifest": null, |
|
"ptype_attributes": [], |
|
"ptype_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1318 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1371, |
|
"pos_cnum": 1390 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 26, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1318 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 29, |
|
"pos_bol": 1371, |
|
"pos_cnum": 1390 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1392, |
|
"pos_cnum": 1396 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1392, |
|
"pos_cnum": 1403 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "flatten" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1392, |
|
"pos_cnum": 1405 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1392, |
|
"pos_cnum": 1406 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"list", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "string", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1392, |
|
"pos_cnum": 1410 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1392, |
|
"pos_cnum": 1416 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1392, |
|
"pos_cnum": 1410 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1392, |
|
"pos_cnum": 1421 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1392, |
|
"pos_cnum": 1405 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1392, |
|
"pos_cnum": 1421 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1392, |
|
"pos_cnum": 1392 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1392, |
|
"pos_cnum": 1421 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1392, |
|
"pos_cnum": 1392 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1392, |
|
"pos_cnum": 1421 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1426 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1435 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "unflatten" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"list", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "string", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1437 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1443 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1437 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1448 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"option", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1452 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1453 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1452 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1460 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1437 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1460 |
|
}, |
|
"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", |
|
" For a non-empty list [l], [unflatten l] is [Some lid] where [lid] is\n the long identifier created by concatenating the elements of [l]\n with [Ldot].\n [unflatten []] is [None].\n", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1461, |
|
"pos_cnum": 1461 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1650, |
|
"pos_cnum": 1652 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1461, |
|
"pos_cnum": 1461 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1650, |
|
"pos_cnum": 1652 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1461, |
|
"pos_cnum": 1461 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1650, |
|
"pos_cnum": 1652 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 33, |
|
"pos_bol": 1461, |
|
"pos_cnum": 1461 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 37, |
|
"pos_bol": 1650, |
|
"pos_cnum": 1652 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1422 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1460 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1422 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1422, |
|
"pos_cnum": 1460 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1654, |
|
"pos_cnum": 1658 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1654, |
|
"pos_cnum": 1662 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "last" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1654, |
|
"pos_cnum": 1664 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1654, |
|
"pos_cnum": 1665 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "string", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1654, |
|
"pos_cnum": 1669 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1654, |
|
"pos_cnum": 1675 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1654, |
|
"pos_cnum": 1664 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1654, |
|
"pos_cnum": 1675 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1654, |
|
"pos_cnum": 1654 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1654, |
|
"pos_cnum": 1675 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1654, |
|
"pos_cnum": 1654 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1654, |
|
"pos_cnum": 1675 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1676, |
|
"pos_cnum": 1680 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1676, |
|
"pos_cnum": 1685 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "parse" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "string", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1676, |
|
"pos_cnum": 1687 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1676, |
|
"pos_cnum": 1693 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "t", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1676, |
|
"pos_cnum": 1697 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1676, |
|
"pos_cnum": 1698 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1676, |
|
"pos_cnum": 1687 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1676, |
|
"pos_cnum": 1698 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [ |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1699, |
|
"pos_cnum": 1702 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1699, |
|
"pos_cnum": 1712 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "deprecated" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
"this function may misparse its input,\nuse \"Parse.longident\" or \"Longident.unflatten\"", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1699, |
|
"pos_cnum": 1714 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1805 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1699, |
|
"pos_cnum": 1713 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1806 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1699, |
|
"pos_cnum": 1713 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1806 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 41, |
|
"pos_bol": 1699, |
|
"pos_cnum": 1699 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1807 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"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", |
|
"\n\n This function is broken on identifiers that are not just \"Word.Word.word\";\n for example, it returns incorrect results on infix operators\n and extended module paths.\n\n If you want to generate long identifiers that are a list of\n dot-separated identifiers, the function {!unflatten} is safer and faster.\n {!unflatten} is available since OCaml 4.06.0.\n\n If you want to parse any identifier correctly, use the long-identifiers\n functions from the {!Parse} module, in particular {!Parse.longident}.\n They are available since OCaml 4.11, and also provide proper\n input-location support.\n\n", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 1808, |
|
"pos_cnum": 1808 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2416, |
|
"pos_cnum": 2418 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 1808, |
|
"pos_cnum": 1808 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2416, |
|
"pos_cnum": 2418 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 1808, |
|
"pos_cnum": 1808 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2416, |
|
"pos_cnum": 2418 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 43, |
|
"pos_bol": 1808, |
|
"pos_cnum": 1808 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 58, |
|
"pos_bol": 2416, |
|
"pos_cnum": 2418 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1676, |
|
"pos_cnum": 1676 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1807 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 40, |
|
"pos_bol": 1676, |
|
"pos_cnum": 1676 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/longident.mli", |
|
"pos_lnum": 42, |
|
"pos_bol": 1755, |
|
"pos_cnum": 1807 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
|