|
[ |
|
{ |
|
"psig_desc": [ |
|
"Psig_attribute", |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 1156, |
|
"pos_cnum": 1160 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 1156, |
|
"pos_cnum": 1173 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "ocaml.warning" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
"+a-4-9-30-40-41-42", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 1156, |
|
"pos_cnum": 1175 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 1156, |
|
"pos_cnum": 1193 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 1156, |
|
"pos_cnum": 1174 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 1156, |
|
"pos_cnum": 1194 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 1156, |
|
"pos_cnum": 1174 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 1156, |
|
"pos_cnum": 1194 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 1156, |
|
"pos_cnum": 1156 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 1156, |
|
"pos_cnum": 1195 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 1156, |
|
"pos_cnum": 1156 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 17, |
|
"pos_bol": 1156, |
|
"pos_cnum": 1195 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"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", |
|
" Description of the semantics of primitives, to be used for optimization\n purposes.\n\n \"No effects\" means that the primitive does not change the observable state\n of the world. For example, it must not write to any mutable storage,\n call arbitrary external functions or change control flow (e.g. by raising\n an exception). Note that allocation is not \"No effects\" (see below).\n\n It is assumed in the compiler that applications of primitives with no\n effects, whose results are not used, may be eliminated. It is further\n assumed that applications of primitives with no effects may be\n duplicated (and thus possibly executed more than once).\n\n (Exceptions arising from allocation points, for example \"out of memory\" or\n exceptions propagated from finalizers or signal handlers, are treated as\n \"effects out of the ether\" and thus ignored for our determination here\n of effectfulness. The same goes for floating point operations that may\n cause hardware traps on some platforms.)\n\n \"Only generative effects\" means that a primitive does not change the\n observable state of the world save for possibly affecting the state of\n the garbage collector by performing an allocation. Applications of\n primitives that only have generative effects and whose results are unused\n may be eliminated by the compiler. However, unlike \"No effects\"\n primitives, such applications will never be eligible for duplication.\n\n \"Arbitrary effects\" covers all other primitives.\n\n \"No coeffects\" means that the primitive does not observe the effects (in\n the sense described above) of other expressions. For example, it must not\n read from any mutable storage or call arbitrary external functions.\n\n It is assumed in the compiler that, subject to data dependencies,\n expressions with neither effects nor coeffects may be reordered with\n respect to other expressions.\n", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1197, |
|
"pos_cnum": 1197 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 3126, |
|
"pos_cnum": 3128 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1197, |
|
"pos_cnum": 1197 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 3126, |
|
"pos_cnum": 3128 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1197, |
|
"pos_cnum": 1197 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 3126, |
|
"pos_cnum": 3128 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1197, |
|
"pos_cnum": 1197 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 3126, |
|
"pos_cnum": 3128 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 19, |
|
"pos_bol": 1197, |
|
"pos_cnum": 1197 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 3126, |
|
"pos_cnum": 3128 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_type", |
|
[ "Recursive" ], |
|
[ |
|
{ |
|
"ptype_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3135 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3142 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "effects" |
|
}, |
|
"ptype_params": [], |
|
"ptype_cstrs": [], |
|
"ptype_kind": [ |
|
"Ptype_variant", |
|
[ |
|
{ |
|
"pcd_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3145 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3155 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "No_effects" |
|
}, |
|
"pcd_vars": [], |
|
"pcd_args": [ "Pcstr_tuple", [] ], |
|
"pcd_res": null, |
|
"pcd_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3145 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3155 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pcd_attributes": [] |
|
}, |
|
{ |
|
"pcd_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3158 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3181 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Only_generative_effects" |
|
}, |
|
"pcd_vars": [], |
|
"pcd_args": [ "Pcstr_tuple", [] ], |
|
"pcd_res": null, |
|
"pcd_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3156 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3181 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pcd_attributes": [] |
|
}, |
|
{ |
|
"pcd_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3184 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3201 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Arbitrary_effects" |
|
}, |
|
"pcd_vars": [], |
|
"pcd_args": [ "Pcstr_tuple", [] ], |
|
"pcd_res": null, |
|
"pcd_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3182 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3201 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pcd_attributes": [] |
|
} |
|
] |
|
], |
|
"ptype_private": [ "Public" ], |
|
"ptype_manifest": null, |
|
"ptype_attributes": [], |
|
"ptype_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3130 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3201 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3130 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 56, |
|
"pos_bol": 3130, |
|
"pos_cnum": 3201 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_type", |
|
[ "Recursive" ], |
|
[ |
|
{ |
|
"ptype_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 3202, |
|
"pos_cnum": 3207 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 3202, |
|
"pos_cnum": 3216 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "coeffects" |
|
}, |
|
"ptype_params": [], |
|
"ptype_cstrs": [], |
|
"ptype_kind": [ |
|
"Ptype_variant", |
|
[ |
|
{ |
|
"pcd_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 3202, |
|
"pos_cnum": 3219 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 3202, |
|
"pos_cnum": 3231 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "No_coeffects" |
|
}, |
|
"pcd_vars": [], |
|
"pcd_args": [ "Pcstr_tuple", [] ], |
|
"pcd_res": null, |
|
"pcd_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 3202, |
|
"pos_cnum": 3219 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 3202, |
|
"pos_cnum": 3231 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pcd_attributes": [] |
|
}, |
|
{ |
|
"pcd_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 3202, |
|
"pos_cnum": 3234 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 3202, |
|
"pos_cnum": 3247 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Has_coeffects" |
|
}, |
|
"pcd_vars": [], |
|
"pcd_args": [ "Pcstr_tuple", [] ], |
|
"pcd_res": null, |
|
"pcd_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 3202, |
|
"pos_cnum": 3232 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 3202, |
|
"pos_cnum": 3247 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pcd_attributes": [] |
|
} |
|
] |
|
], |
|
"ptype_private": [ "Public" ], |
|
"ptype_manifest": null, |
|
"ptype_attributes": [], |
|
"ptype_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 3202, |
|
"pos_cnum": 3202 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 3202, |
|
"pos_cnum": 3247 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 3202, |
|
"pos_cnum": 3202 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 3202, |
|
"pos_cnum": 3247 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3516 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3529 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "for_primitive" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "Clambda_primitivesprimitive", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3531 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3559 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_tuple", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "effects", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3563 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3570 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "coeffects", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3573 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3582 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3563 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3582 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3531 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3582 |
|
}, |
|
"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", |
|
" Describe the semantics of a primitive. This does not take into account of\n the (non-)(co)effectfulness of the arguments in a primitive application.\n To determine whether such an application is (co)effectful, the arguments\n must also be analysed. ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 3249, |
|
"pos_cnum": 3249 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 3482, |
|
"pos_cnum": 3511 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 3249, |
|
"pos_cnum": 3249 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 3482, |
|
"pos_cnum": 3511 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 3249, |
|
"pos_cnum": 3249 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 3482, |
|
"pos_cnum": 3511 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 3249, |
|
"pos_cnum": 3249 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 3482, |
|
"pos_cnum": 3511 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3512 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3582 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3512 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 3512, |
|
"pos_cnum": 3582 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_type", |
|
[ "Recursive" ], |
|
[ |
|
{ |
|
"ptype_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 3584, |
|
"pos_cnum": 3589 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 3584, |
|
"pos_cnum": 3600 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "return_type" |
|
}, |
|
"ptype_params": [], |
|
"ptype_cstrs": [], |
|
"ptype_kind": [ |
|
"Ptype_variant", |
|
[ |
|
{ |
|
"pcd_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3603, |
|
"pos_cnum": 3607 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3603, |
|
"pos_cnum": 3612 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Float" |
|
}, |
|
"pcd_vars": [], |
|
"pcd_args": [ "Pcstr_tuple", [] ], |
|
"pcd_res": null, |
|
"pcd_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3603, |
|
"pos_cnum": 3605 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 3603, |
|
"pos_cnum": 3612 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pcd_attributes": [] |
|
}, |
|
{ |
|
"pcd_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 67, |
|
"pos_bol": 3613, |
|
"pos_cnum": 3617 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 67, |
|
"pos_bol": 3613, |
|
"pos_cnum": 3622 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Other" |
|
}, |
|
"pcd_vars": [], |
|
"pcd_args": [ "Pcstr_tuple", [] ], |
|
"pcd_res": null, |
|
"pcd_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 67, |
|
"pos_bol": 3613, |
|
"pos_cnum": 3615 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 67, |
|
"pos_bol": 3613, |
|
"pos_cnum": 3622 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pcd_attributes": [] |
|
} |
|
] |
|
], |
|
"ptype_private": [ "Public" ], |
|
"ptype_manifest": null, |
|
"ptype_attributes": [], |
|
"ptype_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 3584, |
|
"pos_cnum": 3584 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 67, |
|
"pos_bol": 3613, |
|
"pos_cnum": 3622 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 3584, |
|
"pos_cnum": 3584 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 67, |
|
"pos_bol": 3613, |
|
"pos_cnum": 3622 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3624, |
|
"pos_cnum": 3628 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3624, |
|
"pos_cnum": 3652 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "return_type_of_primitive" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", "Clambda_primitivesprimitive", [] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3624, |
|
"pos_cnum": 3654 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3624, |
|
"pos_cnum": 3682 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "return_type", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3624, |
|
"pos_cnum": 3686 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3624, |
|
"pos_cnum": 3697 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3624, |
|
"pos_cnum": 3654 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3624, |
|
"pos_cnum": 3697 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3624, |
|
"pos_cnum": 3624 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3624, |
|
"pos_cnum": 3697 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3624, |
|
"pos_cnum": 3624 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./middle_end/semantics_of_primitives.mli", |
|
"pos_lnum": 69, |
|
"pos_bol": 3624, |
|
"pos_cnum": 3697 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
|