[ | |
{ | |
"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", | |
" Functions imported from Unix. They are explicitly here to remove the\n temptation to use the Unix module directly in ocamltest. ", | |
{ | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 15, | |
"pos_bol": 1002, | |
"pos_cnum": 1002 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 16, | |
"pos_bol": 1075, | |
"pos_cnum": 1138 | |
}, | |
"loc_ghost": false | |
}, | |
null | |
] | |
], | |
"pexp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 15, | |
"pos_bol": 1002, | |
"pos_cnum": 1002 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 16, | |
"pos_bol": 1075, | |
"pos_cnum": 1138 | |
}, | |
"loc_ghost": false | |
}, | |
"pexp_loc_stack": [], | |
"pexp_attributes": [] | |
}, | |
[] | |
], | |
"pstr_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 15, | |
"pos_bol": 1002, | |
"pos_cnum": 1002 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 16, | |
"pos_bol": 1075, | |
"pos_cnum": 1138 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |
], | |
"attr_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 15, | |
"pos_bol": 1002, | |
"pos_cnum": 1002 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 16, | |
"pos_bol": 1075, | |
"pos_cnum": 1138 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 15, | |
"pos_bol": 1002, | |
"pos_cnum": 1002 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 16, | |
"pos_bol": 1075, | |
"pos_cnum": 1138 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 18, | |
"pos_bol": 1140, | |
"pos_cnum": 1144 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 18, | |
"pos_bol": 1140, | |
"pos_cnum": 1155 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "has_symlink" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 18, | |
"pos_bol": 1140, | |
"pos_cnum": 1158 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 18, | |
"pos_bol": 1140, | |
"pos_cnum": 1162 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 18, | |
"pos_bol": 1140, | |
"pos_cnum": 1166 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 18, | |
"pos_bol": 1140, | |
"pos_cnum": 1170 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 18, | |
"pos_bol": 1140, | |
"pos_cnum": 1158 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 18, | |
"pos_bol": 1140, | |
"pos_cnum": 1170 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
"pval_prim": [], | |
"pval_attributes": [], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 18, | |
"pos_bol": 1140, | |
"pos_cnum": 1140 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 18, | |
"pos_bol": 1140, | |
"pos_cnum": 1170 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 18, | |
"pos_bol": 1140, | |
"pos_cnum": 1140 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 18, | |
"pos_bol": 1140, | |
"pos_cnum": 1170 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1175 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1182 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "symlink" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Optional", "to_dir" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1193 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1197 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "string", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1201 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1207 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "string", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1211 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1217 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1221 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1225 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1211 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1225 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1201 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1225 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1185 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1225 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
"pval_prim": [], | |
"pval_attributes": [], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1171 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1225 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1171 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 19, | |
"pos_bol": 1171, | |
"pos_cnum": 1225 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1230 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1235 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "chmod" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "string", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1238 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1244 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "int", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1248 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1251 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1255 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1259 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1248 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1259 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1238 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1259 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
"pval_prim": [], | |
"pval_attributes": [], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1226 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1259 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1226 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 20, | |
"pos_bol": 1226, | |
"pos_cnum": 1259 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 21, | |
"pos_bol": 1260, | |
"pos_cnum": 1264 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 21, | |
"pos_bol": 1260, | |
"pos_cnum": 1276 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "gettimeofday" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 21, | |
"pos_bol": 1260, | |
"pos_cnum": 1279 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 21, | |
"pos_bol": 1260, | |
"pos_cnum": 1283 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "float", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 21, | |
"pos_bol": 1260, | |
"pos_cnum": 1287 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 21, | |
"pos_bol": 1260, | |
"pos_cnum": 1292 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 21, | |
"pos_bol": 1260, | |
"pos_cnum": 1279 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 21, | |
"pos_bol": 1260, | |
"pos_cnum": 1292 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
"pval_prim": [], | |
"pval_attributes": [], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 21, | |
"pos_bol": 1260, | |
"pos_cnum": 1260 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 21, | |
"pos_bol": 1260, | |
"pos_cnum": 1292 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 21, | |
"pos_bol": 1260, | |
"pos_cnum": 1260 | |
}, | |
"loc_end": { | |
"pos_fname": "./ocamltest/ocamltest_unix.mli", | |
"pos_lnum": 21, | |
"pos_bol": 1260, | |
"pos_cnum": 1292 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |