[ | |
{ | |
"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", | |
" Meta data related interface for a ppx rewriter ", | |
{ | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 1, | |
"pos_bol": 0, | |
"pos_cnum": 0 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 1, | |
"pos_bol": 0, | |
"pos_cnum": 53 | |
}, | |
"loc_ghost": false | |
}, | |
null | |
] | |
], | |
"pexp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 1, | |
"pos_bol": 0, | |
"pos_cnum": 0 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 1, | |
"pos_bol": 0, | |
"pos_cnum": 53 | |
}, | |
"loc_ghost": false | |
}, | |
"pexp_loc_stack": [], | |
"pexp_attributes": [] | |
}, | |
[] | |
], | |
"pstr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 1, | |
"pos_bol": 0, | |
"pos_cnum": 0 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 1, | |
"pos_bol": 0, | |
"pos_cnum": 53 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |
], | |
"attr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 1, | |
"pos_bol": 0, | |
"pos_cnum": 0 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 1, | |
"pos_bol": 0, | |
"pos_cnum": 53 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 1, | |
"pos_bol": 0, | |
"pos_cnum": 0 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 1, | |
"pos_bol": 0, | |
"pos_cnum": 53 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 3, | |
"pos_bol": 55, | |
"pos_cnum": 59 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 3, | |
"pos_bol": 55, | |
"pos_cnum": 78 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "add_ppx_context_str" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Labelled", "tool_name" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "string", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 4, | |
"pos_bol": 81, | |
"pos_cnum": 93 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 4, | |
"pos_bol": 81, | |
"pos_cnum": 99 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", | |
"list", | |
[ | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", "Parsetreestructure_item", [] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 5, | |
"pos_bol": 103, | |
"pos_cnum": 105 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 5, | |
"pos_bol": 103, | |
"pos_cnum": 129 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 5, | |
"pos_bol": 103, | |
"pos_cnum": 105 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 5, | |
"pos_bol": 103, | |
"pos_cnum": 134 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", | |
"list", | |
[ | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", "Parsetreestructure_item", [] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 6, | |
"pos_bol": 138, | |
"pos_cnum": 140 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 6, | |
"pos_bol": 138, | |
"pos_cnum": 164 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 6, | |
"pos_bol": 138, | |
"pos_cnum": 140 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 6, | |
"pos_bol": 138, | |
"pos_cnum": 169 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 5, | |
"pos_bol": 103, | |
"pos_cnum": 105 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 6, | |
"pos_bol": 138, | |
"pos_cnum": 169 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 4, | |
"pos_bol": 81, | |
"pos_cnum": 83 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 6, | |
"pos_bol": 138, | |
"pos_cnum": 169 | |
}, | |
"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", | |
" Extract information from the current environment and encode it into an\n attribute which is prepended to the list of structure items in order to pass\n the information to an external processor. ", | |
{ | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 7, | |
"pos_bol": 170, | |
"pos_cnum": 170 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 9, | |
"pos_bol": 326, | |
"pos_cnum": 374 | |
}, | |
"loc_ghost": false | |
}, | |
null | |
] | |
], | |
"pexp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 7, | |
"pos_bol": 170, | |
"pos_cnum": 170 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 9, | |
"pos_bol": 326, | |
"pos_cnum": 374 | |
}, | |
"loc_ghost": false | |
}, | |
"pexp_loc_stack": [], | |
"pexp_attributes": [] | |
}, | |
[] | |
], | |
"pstr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 7, | |
"pos_bol": 170, | |
"pos_cnum": 170 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 9, | |
"pos_bol": 326, | |
"pos_cnum": 374 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |
], | |
"attr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 7, | |
"pos_bol": 170, | |
"pos_cnum": 170 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 9, | |
"pos_bol": 326, | |
"pos_cnum": 374 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 3, | |
"pos_bol": 55, | |
"pos_cnum": 55 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 6, | |
"pos_bol": 138, | |
"pos_cnum": 169 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 3, | |
"pos_bol": 55, | |
"pos_cnum": 55 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 6, | |
"pos_bol": 138, | |
"pos_cnum": 169 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 11, | |
"pos_bol": 376, | |
"pos_cnum": 380 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 11, | |
"pos_bol": 376, | |
"pos_cnum": 400 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "drop_ppx_context_str" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Labelled", "restore" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 413 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 417 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", | |
"list", | |
[ | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", "Parsetreestructure_item", [] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 421 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 445 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 421 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 450 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", | |
"list", | |
[ | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", "Parsetreestructure_item", [] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 454 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 478 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 454 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 483 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 421 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 483 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 405 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 483 | |
}, | |
"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", | |
" Drop the ocaml.ppx.context attribute from a structure. If [restore] is true,\n also restore the associated data in the current process. ", | |
{ | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 13, | |
"pos_bol": 484, | |
"pos_cnum": 484 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 14, | |
"pos_bol": 565, | |
"pos_cnum": 628 | |
}, | |
"loc_ghost": false | |
}, | |
null | |
] | |
], | |
"pexp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 13, | |
"pos_bol": 484, | |
"pos_cnum": 484 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 14, | |
"pos_bol": 565, | |
"pos_cnum": 628 | |
}, | |
"loc_ghost": false | |
}, | |
"pexp_loc_stack": [], | |
"pexp_attributes": [] | |
}, | |
[] | |
], | |
"pstr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 13, | |
"pos_bol": 484, | |
"pos_cnum": 484 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 14, | |
"pos_bol": 565, | |
"pos_cnum": 628 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |
], | |
"attr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 13, | |
"pos_bol": 484, | |
"pos_cnum": 484 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 14, | |
"pos_bol": 565, | |
"pos_cnum": 628 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 11, | |
"pos_bol": 376, | |
"pos_cnum": 376 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 483 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 11, | |
"pos_bol": 376, | |
"pos_cnum": 376 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 12, | |
"pos_bol": 403, | |
"pos_cnum": 483 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 16, | |
"pos_bol": 630, | |
"pos_cnum": 634 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 16, | |
"pos_bol": 630, | |
"pos_cnum": 653 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "add_ppx_context_sig" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Labelled", "tool_name" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "string", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 17, | |
"pos_bol": 656, | |
"pos_cnum": 668 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 17, | |
"pos_bol": 656, | |
"pos_cnum": 674 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", | |
"list", | |
[ | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", "Parsetreesignature_item", [] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 18, | |
"pos_bol": 678, | |
"pos_cnum": 680 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 18, | |
"pos_bol": 678, | |
"pos_cnum": 704 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 18, | |
"pos_bol": 678, | |
"pos_cnum": 680 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 18, | |
"pos_bol": 678, | |
"pos_cnum": 709 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", | |
"list", | |
[ | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", "Parsetreesignature_item", [] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 19, | |
"pos_bol": 713, | |
"pos_cnum": 715 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 19, | |
"pos_bol": 713, | |
"pos_cnum": 739 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 19, | |
"pos_bol": 713, | |
"pos_cnum": 715 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 19, | |
"pos_bol": 713, | |
"pos_cnum": 744 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 18, | |
"pos_bol": 678, | |
"pos_cnum": 680 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 19, | |
"pos_bol": 713, | |
"pos_cnum": 744 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 17, | |
"pos_bol": 656, | |
"pos_cnum": 658 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 19, | |
"pos_bol": 713, | |
"pos_cnum": 744 | |
}, | |
"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", | |
" Same as [add_ppx_context_str], but for signatures. ", | |
{ | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 20, | |
"pos_bol": 745, | |
"pos_cnum": 745 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 20, | |
"pos_bol": 745, | |
"pos_cnum": 802 | |
}, | |
"loc_ghost": false | |
}, | |
null | |
] | |
], | |
"pexp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 20, | |
"pos_bol": 745, | |
"pos_cnum": 745 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 20, | |
"pos_bol": 745, | |
"pos_cnum": 802 | |
}, | |
"loc_ghost": false | |
}, | |
"pexp_loc_stack": [], | |
"pexp_attributes": [] | |
}, | |
[] | |
], | |
"pstr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 20, | |
"pos_bol": 745, | |
"pos_cnum": 745 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 20, | |
"pos_bol": 745, | |
"pos_cnum": 802 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |
], | |
"attr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 20, | |
"pos_bol": 745, | |
"pos_cnum": 745 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 20, | |
"pos_bol": 745, | |
"pos_cnum": 802 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 16, | |
"pos_bol": 630, | |
"pos_cnum": 630 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 19, | |
"pos_bol": 713, | |
"pos_cnum": 744 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 16, | |
"pos_bol": 630, | |
"pos_cnum": 630 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 19, | |
"pos_bol": 713, | |
"pos_cnum": 744 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 22, | |
"pos_bol": 804, | |
"pos_cnum": 808 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 22, | |
"pos_bol": 804, | |
"pos_cnum": 828 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "drop_ppx_context_sig" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Labelled", "restore" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "bool", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 841 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 845 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", | |
"list", | |
[ | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", "Parsetreesignature_item", [] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 849 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 873 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 849 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 878 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", | |
"list", | |
[ | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", "Parsetreesignature_item", [] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 882 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 906 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 882 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 911 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 849 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 911 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 833 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 911 | |
}, | |
"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", | |
" Same as [drop_ppx_context_str], but for signatures. ", | |
{ | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 24, | |
"pos_bol": 912, | |
"pos_cnum": 912 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 24, | |
"pos_bol": 912, | |
"pos_cnum": 970 | |
}, | |
"loc_ghost": false | |
}, | |
null | |
] | |
], | |
"pexp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 24, | |
"pos_bol": 912, | |
"pos_cnum": 912 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 24, | |
"pos_bol": 912, | |
"pos_cnum": 970 | |
}, | |
"loc_ghost": false | |
}, | |
"pexp_loc_stack": [], | |
"pexp_attributes": [] | |
}, | |
[] | |
], | |
"pstr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 24, | |
"pos_bol": 912, | |
"pos_cnum": 912 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 24, | |
"pos_bol": 912, | |
"pos_cnum": 970 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |
], | |
"attr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 24, | |
"pos_bol": 912, | |
"pos_cnum": 912 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 24, | |
"pos_bol": 912, | |
"pos_cnum": 970 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 22, | |
"pos_bol": 804, | |
"pos_cnum": 804 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 911 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 22, | |
"pos_bol": 804, | |
"pos_cnum": 804 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 23, | |
"pos_bol": 831, | |
"pos_cnum": 911 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 26, | |
"pos_bol": 972, | |
"pos_cnum": 976 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 26, | |
"pos_bol": 972, | |
"pos_cnum": 985 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "tool_name" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 26, | |
"pos_bol": 972, | |
"pos_cnum": 988 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 26, | |
"pos_bol": 972, | |
"pos_cnum": 992 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "string", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 26, | |
"pos_bol": 972, | |
"pos_cnum": 996 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 26, | |
"pos_bol": 972, | |
"pos_cnum": 1002 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 26, | |
"pos_bol": 972, | |
"pos_cnum": 988 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 26, | |
"pos_bol": 972, | |
"pos_cnum": 1002 | |
}, | |
"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", | |
" Can be used within a ppx preprocessor to know which tool is calling it\n [\"ocamlc\"], [\"ocamlopt\"], [\"ocamldoc\"], [\"ocamldep\"], [\"ocaml\"], ... ", | |
{ | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 27, | |
"pos_bol": 1003, | |
"pos_cnum": 1003 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 28, | |
"pos_bol": 1078, | |
"pos_cnum": 1153 | |
}, | |
"loc_ghost": false | |
}, | |
null | |
] | |
], | |
"pexp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 27, | |
"pos_bol": 1003, | |
"pos_cnum": 1003 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 28, | |
"pos_bol": 1078, | |
"pos_cnum": 1153 | |
}, | |
"loc_ghost": false | |
}, | |
"pexp_loc_stack": [], | |
"pexp_attributes": [] | |
}, | |
[] | |
], | |
"pstr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 27, | |
"pos_bol": 1003, | |
"pos_cnum": 1003 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 28, | |
"pos_bol": 1078, | |
"pos_cnum": 1153 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |
], | |
"attr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 27, | |
"pos_bol": 1003, | |
"pos_cnum": 1003 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 28, | |
"pos_bol": 1078, | |
"pos_cnum": 1153 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 26, | |
"pos_bol": 972, | |
"pos_cnum": 972 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 26, | |
"pos_bol": 972, | |
"pos_cnum": 1002 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 26, | |
"pos_bol": 972, | |
"pos_cnum": 972 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 26, | |
"pos_bol": 972, | |
"pos_cnum": 1002 | |
}, | |
"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", | |
" {1 Cookies} ", | |
{ | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1155, | |
"pos_cnum": 1155 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1155, | |
"pos_cnum": 1173 | |
}, | |
"loc_ghost": false | |
}, | |
null | |
] | |
], | |
"pexp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1155, | |
"pos_cnum": 1155 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1155, | |
"pos_cnum": 1173 | |
}, | |
"loc_ghost": false | |
}, | |
"pexp_loc_stack": [], | |
"pexp_attributes": [] | |
}, | |
[] | |
], | |
"pstr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1155, | |
"pos_cnum": 1155 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1155, | |
"pos_cnum": 1173 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |
], | |
"attr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1155, | |
"pos_cnum": 1155 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1155, | |
"pos_cnum": 1173 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1155, | |
"pos_cnum": 1155 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 30, | |
"pos_bol": 1155, | |
"pos_cnum": 1173 | |
}, | |
"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", | |
" Cookies are used to pass information from a ppx processor to a further\n invocation of itself, when called from the OCaml toplevel (or other tools\n that support cookies). ", | |
{ | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 32, | |
"pos_bol": 1175, | |
"pos_cnum": 1175 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 34, | |
"pos_bol": 1328, | |
"pos_cnum": 1357 | |
}, | |
"loc_ghost": false | |
}, | |
null | |
] | |
], | |
"pexp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 32, | |
"pos_bol": 1175, | |
"pos_cnum": 1175 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 34, | |
"pos_bol": 1328, | |
"pos_cnum": 1357 | |
}, | |
"loc_ghost": false | |
}, | |
"pexp_loc_stack": [], | |
"pexp_attributes": [] | |
}, | |
[] | |
], | |
"pstr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 32, | |
"pos_bol": 1175, | |
"pos_cnum": 1175 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 34, | |
"pos_bol": 1328, | |
"pos_cnum": 1357 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |
], | |
"attr_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 32, | |
"pos_bol": 1175, | |
"pos_cnum": 1175 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 34, | |
"pos_bol": 1328, | |
"pos_cnum": 1357 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 32, | |
"pos_bol": 1175, | |
"pos_cnum": 1175 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 34, | |
"pos_bol": 1328, | |
"pos_cnum": 1357 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1363 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1373 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "set_cookie" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "string", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1376 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1382 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "Parsetreeexpression", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1386 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1406 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1410 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1414 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1386 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1414 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1376 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1414 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
"pval_prim": [], | |
"pval_attributes": [], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1359 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1414 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1359 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 36, | |
"pos_bol": 1359, | |
"pos_cnum": 1414 | |
}, | |
"loc_ghost": false | |
} | |
}, | |
{ | |
"psig_desc": [ | |
"Psig_value", | |
{ | |
"pval_name": { | |
"loc2": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 39, | |
"pos_bol": 1499, | |
"pos_cnum": 1503 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 39, | |
"pos_bol": 1499, | |
"pos_cnum": 1513 | |
}, | |
"loc_ghost": false | |
}, | |
"txt2": "get_cookie" | |
}, | |
"pval_type": { | |
"ptyp_desc": [ | |
"Ptyp_arrow", | |
[ "Nolabel" ], | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "string", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 39, | |
"pos_bol": 1499, | |
"pos_cnum": 1516 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 39, | |
"pos_bol": 1499, | |
"pos_cnum": 1522 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
{ | |
"ptyp_desc": [ | |
"Ptyp_constr", | |
"option", | |
[ | |
{ | |
"ptyp_desc": [ "Ptyp_constr", "Parsetreeexpression", [] ], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 39, | |
"pos_bol": 1499, | |
"pos_cnum": 1526 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 39, | |
"pos_bol": 1499, | |
"pos_cnum": 1546 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
] | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 39, | |
"pos_bol": 1499, | |
"pos_cnum": 1526 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 39, | |
"pos_bol": 1499, | |
"pos_cnum": 1553 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
} | |
], | |
"ptyp_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 39, | |
"pos_bol": 1499, | |
"pos_cnum": 1516 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 39, | |
"pos_bol": 1499, | |
"pos_cnum": 1553 | |
}, | |
"loc_ghost": false | |
}, | |
"ptyp_loc_stack": [], | |
"ptyp_attributes": [] | |
}, | |
"pval_prim": [], | |
"pval_attributes": [], | |
"pval_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 39, | |
"pos_bol": 1499, | |
"pos_cnum": 1499 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 39, | |
"pos_bol": 1499, | |
"pos_cnum": 1553 | |
}, | |
"loc_ghost": false | |
} | |
} | |
], | |
"psig_loc": { | |
"loc_start": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 39, | |
"pos_bol": 1499, | |
"pos_cnum": 1499 | |
}, | |
"loc_end": { | |
"pos_fname": "./_opam/lib/ppxlib/astlib/ast_metadata.mli", | |
"pos_lnum": 39, | |
"pos_bol": 1499, | |
"pos_cnum": 1553 | |
}, | |
"loc_ghost": false | |
} | |
} | |
] | |