|
[ |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1107, |
|
"pos_cnum": 1111 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1107, |
|
"pos_cnum": 1115 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "test" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1107, |
|
"pos_cnum": 1118 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1107, |
|
"pos_cnum": 1122 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1107, |
|
"pos_cnum": 1126 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1107, |
|
"pos_cnum": 1130 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1107, |
|
"pos_cnum": 1118 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1107, |
|
"pos_cnum": 1130 |
|
}, |
|
"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", |
|
" [test e] tests that [e] evaluates to [true]. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1131, |
|
"pos_cnum": 1131 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1131, |
|
"pos_cnum": 1182 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1131, |
|
"pos_cnum": 1131 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1131, |
|
"pos_cnum": 1182 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1131, |
|
"pos_cnum": 1131 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1131, |
|
"pos_cnum": 1182 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1131, |
|
"pos_cnum": 1131 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1131, |
|
"pos_cnum": 1182 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1107, |
|
"pos_cnum": 1107 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1107, |
|
"pos_cnum": 1130 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1107, |
|
"pos_cnum": 1107 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 18, |
|
"pos_bol": 1107, |
|
"pos_cnum": 1130 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1188 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1200 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "failure_test" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1204 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1206 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "b" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1210 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1212 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1204 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1212 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1217 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1219 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "string", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1223 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1229 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1233 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1237 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1223 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1237 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1217 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1237 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1203 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1237 |
|
}, |
|
"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", |
|
" [failure_test f x s] tests that [f x] raises the exception [Failure s]. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1238, |
|
"pos_cnum": 1238 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1238, |
|
"pos_cnum": 1316 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1238, |
|
"pos_cnum": 1238 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1238, |
|
"pos_cnum": 1316 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1238, |
|
"pos_cnum": 1238 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1238, |
|
"pos_cnum": 1316 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1238, |
|
"pos_cnum": 1238 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1238, |
|
"pos_cnum": 1316 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1184 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1237 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1184 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 21, |
|
"pos_bol": 1184, |
|
"pos_cnum": 1237 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1322 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1342 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "test_raises_some_exc" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1346 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1348 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "b" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1352 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1354 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1346 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1354 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1359 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1361 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1365 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1369 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1359 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1369 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1345 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1369 |
|
}, |
|
"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", |
|
" [test_raises_some_exc f x] tests that [f x] raises an exception. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 1370, |
|
"pos_cnum": 1370 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 1370, |
|
"pos_cnum": 1441 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 1370, |
|
"pos_cnum": 1370 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 1370, |
|
"pos_cnum": 1441 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 1370, |
|
"pos_cnum": 1370 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 1370, |
|
"pos_cnum": 1441 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 1370, |
|
"pos_cnum": 1370 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 25, |
|
"pos_bol": 1370, |
|
"pos_cnum": 1441 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1318 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1369 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1318 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 24, |
|
"pos_bol": 1318, |
|
"pos_cnum": 1369 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1447 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1463 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "any_failure_test" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1467 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1469 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "b" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1473 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1475 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1467 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1475 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1480 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1482 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1486 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1490 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1480 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1490 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1466 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1490 |
|
}, |
|
"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", |
|
" [any_failure_test f x] tests that [f x] raises a [Failure] exception ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1491, |
|
"pos_cnum": 1491 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1491, |
|
"pos_cnum": 1566 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1491, |
|
"pos_cnum": 1491 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1491, |
|
"pos_cnum": 1566 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1491, |
|
"pos_cnum": 1491 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1491, |
|
"pos_cnum": 1566 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1491, |
|
"pos_cnum": 1491 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 28, |
|
"pos_bol": 1491, |
|
"pos_cnum": 1566 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1443 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1490 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1443 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 27, |
|
"pos_bol": 1443, |
|
"pos_cnum": 1490 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1572 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1592 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "test_raises_this_exc" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "exn", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1595 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1598 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1603 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1605 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "b" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1609 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1611 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1603 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1611 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1616 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1618 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1622 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1626 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1616 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1626 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1602 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1626 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1595 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1626 |
|
}, |
|
"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", |
|
" [test_raises_this_exc exc f x] tests that [f x]\n raises the exception [exc]. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1627, |
|
"pos_cnum": 1627 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1679, |
|
"pos_cnum": 1713 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1627, |
|
"pos_cnum": 1627 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1679, |
|
"pos_cnum": 1713 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1627, |
|
"pos_cnum": 1627 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1679, |
|
"pos_cnum": 1713 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 31, |
|
"pos_bol": 1627, |
|
"pos_cnum": 1627 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 32, |
|
"pos_bol": 1679, |
|
"pos_cnum": 1713 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1568 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1626 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1568 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 30, |
|
"pos_bol": 1568, |
|
"pos_cnum": 1626 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1719 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1736 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "test_raises_exc_p" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "exn", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1740 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1743 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1747 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1751 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1740 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1751 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1757 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1759 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "b" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1763 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1765 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1757 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1765 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1770 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1772 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1776 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1780 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1770 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1780 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1756 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1780 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1739 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1780 |
|
}, |
|
"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", |
|
" [test_raises_exc_p p f x] tests that [f x] raises an exception that\n verifies predicate [p]. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1781, |
|
"pos_cnum": 1781 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1853, |
|
"pos_cnum": 1883 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1781, |
|
"pos_cnum": 1781 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1853, |
|
"pos_cnum": 1883 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1781, |
|
"pos_cnum": 1781 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1853, |
|
"pos_cnum": 1883 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 35, |
|
"pos_bol": 1781, |
|
"pos_cnum": 1781 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 36, |
|
"pos_bol": 1853, |
|
"pos_cnum": 1883 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1715 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1780 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1715 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 34, |
|
"pos_bol": 1715, |
|
"pos_cnum": 1780 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1889 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1906 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "scan_failure_test" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1910 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1912 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "b" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1916 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1918 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1910 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1918 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_var", "a" ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1923 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1925 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1929 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1933 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1923 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1933 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1909 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1933 |
|
}, |
|
"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", |
|
" [scan_failure_test f x] tests that [f x] raises [Scanf.Scan_failure]. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1934, |
|
"pos_cnum": 1934 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1934, |
|
"pos_cnum": 2010 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1934, |
|
"pos_cnum": 1934 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1934, |
|
"pos_cnum": 2010 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1934, |
|
"pos_cnum": 1934 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1934, |
|
"pos_cnum": 2010 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1934, |
|
"pos_cnum": 1934 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 39, |
|
"pos_bol": 1934, |
|
"pos_cnum": 2010 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1885 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1933 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1885 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./testsuite/lib/testing.mli", |
|
"pos_lnum": 38, |
|
"pos_bol": 1885, |
|
"pos_cnum": 1933 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
|