|
[ |
|
{ |
|
"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", |
|
"\nReferences:\n - {{: http://www.opengroup.org/onlinepubs/007908799/xbd/re.html} re}\n - {{: http://www.opengroup.org/onlinepubs/007908799/xsh/regcomp.html} regcomp}\n\nExample of how to use this module (to parse some IRC logs):\n\n{[\ntype msg = {\n time:string;\n author:string;\n content:string;\n}\n\nlet re = Core.compile (Re_posix.re \"([^:].*:[^:]*:[^:]{2})<.([^>]+)> (.+)$\")\n\n(* parse a line *)\nlet match_line line =\n try\n let substrings = Core.exec re line in\n let groups = Core.get_all substrings in\n (* groups can be obtained directly by index within [substrings] *)\n Some {time=groups.(1); author=groups.(2); content=groups.(3)}\n with Not_found ->\n None (* regex didn't match *)\n]}\n", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 887, |
|
"pos_cnum": 887 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1591, |
|
"pos_cnum": 1593 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 887, |
|
"pos_cnum": 887 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1591, |
|
"pos_cnum": 1593 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 887, |
|
"pos_cnum": 887 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1591, |
|
"pos_cnum": 1593 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 887, |
|
"pos_cnum": 887 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1591, |
|
"pos_cnum": 1593 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 887, |
|
"pos_cnum": 887 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 49, |
|
"pos_bol": 1591, |
|
"pos_cnum": 1593 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_exception", |
|
{ |
|
"ptyexn_constructor": { |
|
"pext_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 1624, |
|
"pos_cnum": 1634 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 1624, |
|
"pos_cnum": 1645 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Parse_error" |
|
}, |
|
"pext_kind": [ "Pext_decl", [], [ "Pcstr_tuple", [] ], null ], |
|
"pext_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 1624, |
|
"pos_cnum": 1624 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 1624, |
|
"pos_cnum": 1645 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pext_attributes": [] |
|
}, |
|
"ptyexn_loc": { |
|
"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 |
|
}, |
|
"ptyexn_attributes": [] |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 1624, |
|
"pos_cnum": 1624 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 53, |
|
"pos_bol": 1624, |
|
"pos_cnum": 1645 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_exception", |
|
{ |
|
"ptyexn_constructor": { |
|
"pext_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 1646, |
|
"pos_cnum": 1656 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 1646, |
|
"pos_cnum": 1669 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Not_supported" |
|
}, |
|
"pext_kind": [ "Pext_decl", [], [ "Pcstr_tuple", [] ], null ], |
|
"pext_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 1646, |
|
"pos_cnum": 1646 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 1646, |
|
"pos_cnum": 1669 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pext_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", |
|
" Errors that can be raised during the parsing of the regular expression ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 1670, |
|
"pos_cnum": 1670 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 1670, |
|
"pos_cnum": 1747 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 1670, |
|
"pos_cnum": 1670 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 1670, |
|
"pos_cnum": 1747 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 1670, |
|
"pos_cnum": 1670 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 1670, |
|
"pos_cnum": 1747 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 1670, |
|
"pos_cnum": 1670 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 55, |
|
"pos_bol": 1670, |
|
"pos_cnum": 1747 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
}, |
|
"ptyexn_loc": { |
|
"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 |
|
}, |
|
"ptyexn_attributes": [] |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 1646, |
|
"pos_cnum": 1646 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 54, |
|
"pos_bol": 1646, |
|
"pos_cnum": 1669 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_type", |
|
[ "Recursive" ], |
|
[ |
|
{ |
|
"ptype_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1754 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1757 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "opt" |
|
}, |
|
"ptype_params": [], |
|
"ptype_cstrs": [], |
|
"ptype_kind": [ "Ptype_abstract" ], |
|
"ptype_private": [ "Public" ], |
|
"ptype_manifest": { |
|
"ptyp_desc": [ |
|
"Ptyp_variant", |
|
[ |
|
{ |
|
"prf_desc": [ |
|
"Rtag", |
|
{ |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1761 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1767 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "ICase" |
|
}, |
|
true, |
|
[] |
|
], |
|
"prf_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1761 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1767 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"prf_attributes": [] |
|
}, |
|
{ |
|
"prf_desc": [ |
|
"Rtag", |
|
{ |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1770 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1776 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "NoSub" |
|
}, |
|
true, |
|
[] |
|
], |
|
"prf_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1770 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1776 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"prf_attributes": [] |
|
}, |
|
{ |
|
"prf_desc": [ |
|
"Rtag", |
|
{ |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1779 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1787 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "Newline" |
|
}, |
|
true, |
|
[] |
|
], |
|
"prf_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1779 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1787 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"prf_attributes": [] |
|
} |
|
], |
|
[ "Closed" ], |
|
null |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1760 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1788 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"ptype_attributes": [], |
|
"ptype_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1749 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1788 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1749 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 57, |
|
"pos_bol": 1749, |
|
"pos_cnum": 1788 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1794 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1796 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "re" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "opts" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"list", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "opt", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1806 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1809 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1806 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1814 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "string", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1819 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1825 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "Coret", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1829 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1835 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1819 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1835 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1799 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1835 |
|
}, |
|
"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", |
|
" Parsing of a Posix extended regular expression ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 60, |
|
"pos_bol": 1836, |
|
"pos_cnum": 1836 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 60, |
|
"pos_bol": 1836, |
|
"pos_cnum": 1889 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 60, |
|
"pos_bol": 1836, |
|
"pos_cnum": 1836 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 60, |
|
"pos_bol": 1836, |
|
"pos_cnum": 1889 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 60, |
|
"pos_bol": 1836, |
|
"pos_cnum": 1836 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 60, |
|
"pos_bol": 1836, |
|
"pos_cnum": 1889 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 60, |
|
"pos_bol": 1836, |
|
"pos_cnum": 1836 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 60, |
|
"pos_bol": 1836, |
|
"pos_cnum": 1889 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1790 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1835 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1790 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 59, |
|
"pos_bol": 1790, |
|
"pos_cnum": 1835 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 1891, |
|
"pos_cnum": 1895 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 1891, |
|
"pos_cnum": 1902 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "compile" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "Coret", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 1891, |
|
"pos_cnum": 1905 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 1891, |
|
"pos_cnum": 1911 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "Corere", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 1891, |
|
"pos_cnum": 1915 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 1891, |
|
"pos_cnum": 1922 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 1891, |
|
"pos_cnum": 1905 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 1891, |
|
"pos_cnum": 1922 |
|
}, |
|
"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", |
|
" [compile r] is defined as [Core.compile (Core.longest r)] ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 1923, |
|
"pos_cnum": 1923 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 1923, |
|
"pos_cnum": 1987 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 1923, |
|
"pos_cnum": 1923 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 1923, |
|
"pos_cnum": 1987 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 1923, |
|
"pos_cnum": 1923 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 1923, |
|
"pos_cnum": 1987 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 1923, |
|
"pos_cnum": 1923 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 63, |
|
"pos_bol": 1923, |
|
"pos_cnum": 1987 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 1891, |
|
"pos_cnum": 1891 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 1891, |
|
"pos_cnum": 1922 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 1891, |
|
"pos_cnum": 1891 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 62, |
|
"pos_bol": 1891, |
|
"pos_cnum": 1922 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 1993 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 2004 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "compile_pat" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Optional", "opts" ], |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_constr", |
|
"list", |
|
[ |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "opt", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 2014 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 2017 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
] |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 2014 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 2022 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "string", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 2027 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 2033 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "Corere", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 2037 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 2044 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 2027 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 2044 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 2007 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 2044 |
|
}, |
|
"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", |
|
" [compile_pat ?opts regex] compiles the Posix extended regular expression [regexp] ", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2045, |
|
"pos_cnum": 2045 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2045, |
|
"pos_cnum": 2133 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2045, |
|
"pos_cnum": 2045 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2045, |
|
"pos_cnum": 2133 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2045, |
|
"pos_cnum": 2045 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2045, |
|
"pos_cnum": 2133 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2045, |
|
"pos_cnum": 2045 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 66, |
|
"pos_bol": 2045, |
|
"pos_cnum": 2133 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 1989 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 2044 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 1989 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./_opam/lib/re/posix.mli", |
|
"pos_lnum": 65, |
|
"pos_bol": 1989, |
|
"pos_cnum": 2044 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
|