[ { "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", " Regular expressions and high-level string processing ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 16, "pos_bol": 1079, "pos_cnum": 1079 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 16, "pos_bol": 1079, "pos_cnum": 1138 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 16, "pos_bol": 1079, "pos_cnum": 1079 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 16, "pos_bol": 1079, "pos_cnum": 1138 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 16, "pos_bol": 1079, "pos_cnum": 1079 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 16, "pos_bol": 1079, "pos_cnum": 1138 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 16, "pos_bol": 1079, "pos_cnum": 1079 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 16, "pos_bol": 1079, "pos_cnum": 1138 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 16, "pos_bol": 1079, "pos_cnum": 1079 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 16, "pos_bol": 1079, "pos_cnum": 1138 }, "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 Regular expressions} ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 19, "pos_bol": 1141, "pos_cnum": 1141 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 19, "pos_bol": 1141, "pos_cnum": 1171 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 19, "pos_bol": 1141, "pos_cnum": 1141 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 19, "pos_bol": 1141, "pos_cnum": 1171 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 19, "pos_bol": 1141, "pos_cnum": 1141 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 19, "pos_bol": 1141, "pos_cnum": 1171 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 19, "pos_bol": 1141, "pos_cnum": 1141 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 19, "pos_bol": 1141, "pos_cnum": 1171 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 19, "pos_bol": 1141, "pos_cnum": 1141 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 19, "pos_bol": 1141, "pos_cnum": 1171 }, "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", "\n The {!Str} library provides regular expressions on sequences of bytes.\n It is, in general, unsuitable to match Unicode characters.\n", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 21, "pos_bol": 1173, "pos_cnum": 1173 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 24, "pos_bol": 1311, "pos_cnum": 1313 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 21, "pos_bol": 1173, "pos_cnum": 1173 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 24, "pos_bol": 1311, "pos_cnum": 1313 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 21, "pos_bol": 1173, "pos_cnum": 1173 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 24, "pos_bol": 1311, "pos_cnum": 1313 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 21, "pos_bol": 1173, "pos_cnum": 1173 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 24, "pos_bol": 1311, "pos_cnum": 1313 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 21, "pos_bol": 1173, "pos_cnum": 1173 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 24, "pos_bol": 1311, "pos_cnum": 1313 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 26, "pos_bol": 1315, "pos_cnum": 1320 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 26, "pos_bol": 1315, "pos_cnum": 1326 }, "loc_ghost": false }, "txt2": "regexp" }, "ptype_params": [], "ptype_cstrs": [], "ptype_kind": [ "Ptype_abstract" ], "ptype_private": [ "Public" ], "ptype_manifest": null, "ptype_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", " The type of compiled regular expressions. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 27, "pos_bol": 1327, "pos_cnum": 1327 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 27, "pos_bol": 1327, "pos_cnum": 1375 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 27, "pos_bol": 1327, "pos_cnum": 1327 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 27, "pos_bol": 1327, "pos_cnum": 1375 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 27, "pos_bol": 1327, "pos_cnum": 1327 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 27, "pos_bol": 1327, "pos_cnum": 1375 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 27, "pos_bol": 1327, "pos_cnum": 1327 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 27, "pos_bol": 1327, "pos_cnum": 1375 }, "loc_ghost": false } } ], "ptype_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 26, "pos_bol": 1315, "pos_cnum": 1315 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 26, "pos_bol": 1315, "pos_cnum": 1326 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 26, "pos_bol": 1315, "pos_cnum": 1315 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 26, "pos_bol": 1315, "pos_cnum": 1326 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 30, "pos_bol": 1378, "pos_cnum": 1382 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 30, "pos_bol": 1378, "pos_cnum": 1388 }, "loc_ghost": false }, "txt2": "regexp" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 30, "pos_bol": 1378, "pos_cnum": 1391 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 30, "pos_bol": 1378, "pos_cnum": 1397 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 30, "pos_bol": 1378, "pos_cnum": 1401 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 30, "pos_bol": 1378, "pos_cnum": 1407 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 30, "pos_bol": 1378, "pos_cnum": 1391 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 30, "pos_bol": 1378, "pos_cnum": 1407 }, "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 a regular expression. The following constructs are\n recognized:\n - [. ] Matches any character except newline.\n - [* ] (postfix) Matches the preceding expression zero, one or\n several times\n - [+ ] (postfix) Matches the preceding expression one or\n several times\n - [? ] (postfix) Matches the preceding expression once or\n not at all\n - [[..] ] Character set. Ranges are denoted with [-], as in [[a-z]].\n An initial [^], as in [[^0-9]], complements the set.\n To include a [\\]] character in a set, make it the first\n character of the set. To include a [-] character in a set,\n make it the first or the last character of the set.\n - [^ ] Matches at beginning of line: either at the beginning of\n the matched string, or just after a '\\n' character.\n - [$ ] Matches at end of line: either at the end of the matched\n string, or just before a '\\n' character.\n - [\\| ] (infix) Alternative between two expressions.\n - [\\(..\\)] Grouping and naming of the enclosed expression.\n - [\\1 ] The text matched by the first [\\(...\\)] expression\n ([\\2] for the second expression, and so on up to [\\9]).\n - [\\b ] Matches word boundaries.\n - [\\ ] Quotes special characters. The special characters\n are [$^\\.*+?[]].\n\n In regular expressions you will often use backslash characters; it's\n easier to use a quoted string literal [{|...|}] to avoid having to\n escape backslashes.\n\n For example, the following expression:\n {[ let r = Str.regexp {|hello \\([A-Za-z]+\\)|} in\n Str.replace_first r {|\\1|} \"hello world\" ]}\n returns the string [\"world\"].\n\n If you want a regular expression that matches a literal backslash\n character, you need to double it: [Str.regexp {|\\\\|}].\n\n You can use regular string literals [\"...\"] too, however you will\n have to escape backslashes. The example above can be rewritten with a\n regular string literal as:\n {[ let r = Str.regexp \"hello \\\\([A-Za-z]+\\\\)\" in\n Str.replace_first r \"\\\\1\" \"hello world\" ]}\n\n And the regular expression for matching a backslash becomes a\n quadruple backslash: [Str.regexp \"\\\\\\\\\"]. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 31, "pos_bol": 1408, "pos_cnum": 1408 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 76, "pos_bol": 3625, "pos_cnum": 3672 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 31, "pos_bol": 1408, "pos_cnum": 1408 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 76, "pos_bol": 3625, "pos_cnum": 3672 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 31, "pos_bol": 1408, "pos_cnum": 1408 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 76, "pos_bol": 3625, "pos_cnum": 3672 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 31, "pos_bol": 1408, "pos_cnum": 1408 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 76, "pos_bol": 3625, "pos_cnum": 3672 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 30, "pos_bol": 1378, "pos_cnum": 1378 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 30, "pos_bol": 1378, "pos_cnum": 1407 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 30, "pos_bol": 1378, "pos_cnum": 1378 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 30, "pos_bol": 1378, "pos_cnum": 1407 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 78, "pos_bol": 3674, "pos_cnum": 3678 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 78, "pos_bol": 3674, "pos_cnum": 3694 }, "loc_ghost": false }, "txt2": "regexp_case_fold" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 78, "pos_bol": 3674, "pos_cnum": 3697 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 78, "pos_bol": 3674, "pos_cnum": 3703 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 78, "pos_bol": 3674, "pos_cnum": 3707 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 78, "pos_bol": 3674, "pos_cnum": 3713 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 78, "pos_bol": 3674, "pos_cnum": 3697 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 78, "pos_bol": 3674, "pos_cnum": 3713 }, "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 [regexp], but the compiled expression will match text\n in a case-insensitive way: uppercase and lowercase letters will\n be considered equivalent. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 79, "pos_bol": 3714, "pos_cnum": 3714 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 81, "pos_bol": 3848, "pos_cnum": 3880 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 79, "pos_bol": 3714, "pos_cnum": 3714 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 81, "pos_bol": 3848, "pos_cnum": 3880 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 79, "pos_bol": 3714, "pos_cnum": 3714 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 81, "pos_bol": 3848, "pos_cnum": 3880 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 79, "pos_bol": 3714, "pos_cnum": 3714 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 81, "pos_bol": 3848, "pos_cnum": 3880 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 78, "pos_bol": 3674, "pos_cnum": 3674 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 78, "pos_bol": 3674, "pos_cnum": 3713 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 78, "pos_bol": 3674, "pos_cnum": 3674 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 78, "pos_bol": 3674, "pos_cnum": 3713 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 83, "pos_bol": 3882, "pos_cnum": 3886 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 83, "pos_bol": 3882, "pos_cnum": 3891 }, "loc_ghost": false }, "txt2": "quote" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 83, "pos_bol": 3882, "pos_cnum": 3894 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 83, "pos_bol": 3882, "pos_cnum": 3900 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 83, "pos_bol": 3882, "pos_cnum": 3904 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 83, "pos_bol": 3882, "pos_cnum": 3910 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 83, "pos_bol": 3882, "pos_cnum": 3894 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 83, "pos_bol": 3882, "pos_cnum": 3910 }, "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", " [Str.quote s] returns a regexp string that matches exactly\n [s] and nothing else. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 84, "pos_bol": 3911, "pos_cnum": 3911 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 85, "pos_bol": 3974, "pos_cnum": 4001 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 84, "pos_bol": 3911, "pos_cnum": 3911 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 85, "pos_bol": 3974, "pos_cnum": 4001 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 84, "pos_bol": 3911, "pos_cnum": 3911 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 85, "pos_bol": 3974, "pos_cnum": 4001 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 84, "pos_bol": 3911, "pos_cnum": 3911 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 85, "pos_bol": 3974, "pos_cnum": 4001 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 83, "pos_bol": 3882, "pos_cnum": 3882 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 83, "pos_bol": 3882, "pos_cnum": 3910 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 83, "pos_bol": 3882, "pos_cnum": 3882 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 83, "pos_bol": 3882, "pos_cnum": 3910 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 87, "pos_bol": 4003, "pos_cnum": 4007 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 87, "pos_bol": 4003, "pos_cnum": 4020 }, "loc_ghost": false }, "txt2": "regexp_string" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 87, "pos_bol": 4003, "pos_cnum": 4023 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 87, "pos_bol": 4003, "pos_cnum": 4029 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 87, "pos_bol": 4003, "pos_cnum": 4033 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 87, "pos_bol": 4003, "pos_cnum": 4039 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 87, "pos_bol": 4003, "pos_cnum": 4023 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 87, "pos_bol": 4003, "pos_cnum": 4039 }, "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", " [Str.regexp_string s] returns a regular expression\n that matches exactly [s] and nothing else.", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 88, "pos_bol": 4040, "pos_cnum": 4040 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 89, "pos_bol": 4095, "pos_cnum": 4142 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 88, "pos_bol": 4040, "pos_cnum": 4040 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 89, "pos_bol": 4095, "pos_cnum": 4142 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 88, "pos_bol": 4040, "pos_cnum": 4040 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 89, "pos_bol": 4095, "pos_cnum": 4142 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 88, "pos_bol": 4040, "pos_cnum": 4040 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 89, "pos_bol": 4095, "pos_cnum": 4142 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 87, "pos_bol": 4003, "pos_cnum": 4003 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 87, "pos_bol": 4003, "pos_cnum": 4039 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 87, "pos_bol": 4003, "pos_cnum": 4003 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 87, "pos_bol": 4003, "pos_cnum": 4039 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 91, "pos_bol": 4144, "pos_cnum": 4148 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 91, "pos_bol": 4144, "pos_cnum": 4171 }, "loc_ghost": false }, "txt2": "regexp_string_case_fold" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 91, "pos_bol": 4144, "pos_cnum": 4174 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 91, "pos_bol": 4144, "pos_cnum": 4180 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 91, "pos_bol": 4144, "pos_cnum": 4184 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 91, "pos_bol": 4144, "pos_cnum": 4190 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 91, "pos_bol": 4144, "pos_cnum": 4174 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 91, "pos_bol": 4144, "pos_cnum": 4190 }, "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", " [Str.regexp_string_case_fold] is similar to {!Str.regexp_string},\n but the regexp matches in a case-insensitive way. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 92, "pos_bol": 4191, "pos_cnum": 4191 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 93, "pos_bol": 4261, "pos_cnum": 4316 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 92, "pos_bol": 4191, "pos_cnum": 4191 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 93, "pos_bol": 4261, "pos_cnum": 4316 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 92, "pos_bol": 4191, "pos_cnum": 4191 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 93, "pos_bol": 4261, "pos_cnum": 4316 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 92, "pos_bol": 4191, "pos_cnum": 4191 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 93, "pos_bol": 4261, "pos_cnum": 4316 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 91, "pos_bol": 4144, "pos_cnum": 4144 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 91, "pos_bol": 4144, "pos_cnum": 4190 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 91, "pos_bol": 4144, "pos_cnum": 4144 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 91, "pos_bol": 4144, "pos_cnum": 4190 }, "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 String matching and searching} ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 96, "pos_bol": 4319, "pos_cnum": 4319 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 96, "pos_bol": 4319, "pos_cnum": 4359 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 96, "pos_bol": 4319, "pos_cnum": 4319 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 96, "pos_bol": 4319, "pos_cnum": 4359 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 96, "pos_bol": 4319, "pos_cnum": 4319 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 96, "pos_bol": 4319, "pos_cnum": 4359 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 96, "pos_bol": 4319, "pos_cnum": 4319 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 96, "pos_bol": 4319, "pos_cnum": 4359 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 96, "pos_bol": 4319, "pos_cnum": 4319 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 96, "pos_bol": 4319, "pos_cnum": 4359 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4366 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4378 }, "loc_ghost": false }, "txt2": "string_match" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4381 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4387 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4391 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4397 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4401 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4404 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "bool", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4408 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4412 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4401 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4412 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4391 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4412 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4381 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4412 }, "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", " [string_match r s start] tests whether a substring of [s] that\n starts at position [start] matches the regular expression [r].\n The first character of a string has position [0], as usual. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 100, "pos_bol": 4413, "pos_cnum": 4413 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 102, "pos_bol": 4546, "pos_cnum": 4611 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 100, "pos_bol": 4413, "pos_cnum": 4413 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 102, "pos_bol": 4546, "pos_cnum": 4611 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 100, "pos_bol": 4413, "pos_cnum": 4413 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 102, "pos_bol": 4546, "pos_cnum": 4611 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 100, "pos_bol": 4413, "pos_cnum": 4413 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 102, "pos_bol": 4546, "pos_cnum": 4611 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4362 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4412 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4362 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 99, "pos_bol": 4362, "pos_cnum": 4412 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4617 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4631 }, "loc_ghost": false }, "txt2": "search_forward" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4634 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4640 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4644 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4650 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4654 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4657 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4661 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4664 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4654 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4664 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4644 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4664 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4634 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4664 }, "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", " [search_forward r s start] searches the string [s] for a substring\n matching the regular expression [r]. The search starts at position\n [start] and proceeds towards the end of the string.\n Return the position of the first character of the matched\n substring.\n @raise Not_found if no substring matches. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 105, "pos_bol": 4665, "pos_cnum": 4665 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 110, "pos_bol": 4936, "pos_cnum": 4983 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 105, "pos_bol": 4665, "pos_cnum": 4665 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 110, "pos_bol": 4936, "pos_cnum": 4983 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 105, "pos_bol": 4665, "pos_cnum": 4665 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 110, "pos_bol": 4936, "pos_cnum": 4983 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 105, "pos_bol": 4665, "pos_cnum": 4665 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 110, "pos_bol": 4936, "pos_cnum": 4983 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4613 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4664 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4613 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 104, "pos_bol": 4613, "pos_cnum": 4664 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 4989 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5004 }, "loc_ghost": false }, "txt2": "search_backward" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5007 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5013 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5017 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5023 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5027 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5030 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5034 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5037 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5027 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5037 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5017 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5037 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5007 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5037 }, "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", " [search_backward r s last] searches the string [s] for a\n substring matching the regular expression [r]. The search first\n considers substrings that start at position [last] and proceeds\n towards the beginning of string. Return the position of the first\n character of the matched substring.\n @raise Not_found if no substring matches. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 113, "pos_bol": 5038, "pos_cnum": 5038 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 118, "pos_bol": 5337, "pos_cnum": 5383 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 113, "pos_bol": 5038, "pos_cnum": 5038 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 118, "pos_bol": 5337, "pos_cnum": 5383 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 113, "pos_bol": 5038, "pos_cnum": 5038 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 118, "pos_bol": 5337, "pos_cnum": 5383 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 113, "pos_bol": 5038, "pos_cnum": 5038 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 118, "pos_bol": 5337, "pos_cnum": 5383 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 4985 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5037 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 4985 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 112, "pos_bol": 4985, "pos_cnum": 5037 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5389 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5409 }, "loc_ghost": false }, "txt2": "string_partial_match" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5412 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5418 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5422 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5428 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5432 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5435 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "bool", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5439 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5443 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5432 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5443 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5422 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5443 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5412 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5443 }, "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", " Similar to {!Str.string_match}, but also returns true if\n the argument string is a prefix of a string that matches.\n This includes the case of a true complete match. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 121, "pos_bol": 5444, "pos_cnum": 5444 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 123, "pos_bol": 5566, "pos_cnum": 5620 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 121, "pos_bol": 5444, "pos_cnum": 5444 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 123, "pos_bol": 5566, "pos_cnum": 5620 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 121, "pos_bol": 5444, "pos_cnum": 5444 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 123, "pos_bol": 5566, "pos_cnum": 5620 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 121, "pos_bol": 5444, "pos_cnum": 5444 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 123, "pos_bol": 5566, "pos_cnum": 5620 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5385 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5443 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5385 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 120, "pos_bol": 5385, "pos_cnum": 5443 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 125, "pos_bol": 5622, "pos_cnum": 5626 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 125, "pos_bol": 5622, "pos_cnum": 5640 }, "loc_ghost": false }, "txt2": "matched_string" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 125, "pos_bol": 5622, "pos_cnum": 5643 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 125, "pos_bol": 5622, "pos_cnum": 5649 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 125, "pos_bol": 5622, "pos_cnum": 5653 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 125, "pos_bol": 5622, "pos_cnum": 5659 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 125, "pos_bol": 5622, "pos_cnum": 5643 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 125, "pos_bol": 5622, "pos_cnum": 5659 }, "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", " [matched_string s] returns the substring of [s] that was matched\n by the last call to one of the following matching or searching\n functions:\n - {!Str.string_match}\n - {!Str.search_forward}\n - {!Str.search_backward}\n - {!Str.string_partial_match}\n - {!Str.global_substitute}\n - {!Str.substitute_first}\n\n provided that none of the following functions was called in between:\n - {!Str.global_replace}\n - {!Str.replace_first}\n - {!Str.split}\n - {!Str.bounded_split}\n - {!Str.split_delim}\n - {!Str.bounded_split_delim}\n - {!Str.full_split}\n - {!Str.bounded_full_split}\n\n Note: in the case of [global_substitute] and [substitute_first],\n a call to [matched_string] is only valid within the [subst] argument,\n not after [global_substitute] or [substitute_first] returns.\n\n The user must make sure that the parameter [s] is the same string\n that was passed to the matching or searching function. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 126, "pos_bol": 5660, "pos_cnum": 5660 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 151, "pos_bol": 6537, "pos_cnum": 6597 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 126, "pos_bol": 5660, "pos_cnum": 5660 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 151, "pos_bol": 6537, "pos_cnum": 6597 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 126, "pos_bol": 5660, "pos_cnum": 5660 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 151, "pos_bol": 6537, "pos_cnum": 6597 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 126, "pos_bol": 5660, "pos_cnum": 5660 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 151, "pos_bol": 6537, "pos_cnum": 6597 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 125, "pos_bol": 5622, "pos_cnum": 5622 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 125, "pos_bol": 5622, "pos_cnum": 5659 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 125, "pos_bol": 5622, "pos_cnum": 5622 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 125, "pos_bol": 5622, "pos_cnum": 5659 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 153, "pos_bol": 6599, "pos_cnum": 6603 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 153, "pos_bol": 6599, "pos_cnum": 6618 }, "loc_ghost": false }, "txt2": "match_beginning" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "unit", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 153, "pos_bol": 6599, "pos_cnum": 6621 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 153, "pos_bol": 6599, "pos_cnum": 6625 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 153, "pos_bol": 6599, "pos_cnum": 6629 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 153, "pos_bol": 6599, "pos_cnum": 6632 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 153, "pos_bol": 6599, "pos_cnum": 6621 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 153, "pos_bol": 6599, "pos_cnum": 6632 }, "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", " [match_beginning()] returns the position of the first character\n of the substring that was matched by the last call to a matching\n or searching function (see {!Str.matched_string} for details). ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 154, "pos_bol": 6633, "pos_cnum": 6633 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 156, "pos_bol": 6769, "pos_cnum": 6837 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 154, "pos_bol": 6633, "pos_cnum": 6633 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 156, "pos_bol": 6769, "pos_cnum": 6837 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 154, "pos_bol": 6633, "pos_cnum": 6633 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 156, "pos_bol": 6769, "pos_cnum": 6837 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 154, "pos_bol": 6633, "pos_cnum": 6633 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 156, "pos_bol": 6769, "pos_cnum": 6837 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 153, "pos_bol": 6599, "pos_cnum": 6599 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 153, "pos_bol": 6599, "pos_cnum": 6632 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 153, "pos_bol": 6599, "pos_cnum": 6599 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 153, "pos_bol": 6599, "pos_cnum": 6632 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 158, "pos_bol": 6839, "pos_cnum": 6843 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 158, "pos_bol": 6839, "pos_cnum": 6852 }, "loc_ghost": false }, "txt2": "match_end" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "unit", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 158, "pos_bol": 6839, "pos_cnum": 6855 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 158, "pos_bol": 6839, "pos_cnum": 6859 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 158, "pos_bol": 6839, "pos_cnum": 6863 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 158, "pos_bol": 6839, "pos_cnum": 6866 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 158, "pos_bol": 6839, "pos_cnum": 6855 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 158, "pos_bol": 6839, "pos_cnum": 6866 }, "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", " [match_end()] returns the position of the character following the\n last character of the substring that was matched by the last call\n to a matching or searching function (see {!Str.matched_string} for\n details). ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 159, "pos_bol": 6867, "pos_cnum": 6867 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 162, "pos_bol": 7076, "pos_cnum": 7091 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 159, "pos_bol": 6867, "pos_cnum": 6867 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 162, "pos_bol": 7076, "pos_cnum": 7091 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 159, "pos_bol": 6867, "pos_cnum": 6867 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 162, "pos_bol": 7076, "pos_cnum": 7091 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 159, "pos_bol": 6867, "pos_cnum": 6867 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 162, "pos_bol": 7076, "pos_cnum": 7091 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 158, "pos_bol": 6839, "pos_cnum": 6839 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 158, "pos_bol": 6839, "pos_cnum": 6866 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 158, "pos_bol": 6839, "pos_cnum": 6839 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 158, "pos_bol": 6839, "pos_cnum": 6866 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7097 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7110 }, "loc_ghost": false }, "txt2": "matched_group" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7113 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7116 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7120 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7126 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7130 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7136 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7120 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7136 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7113 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7136 }, "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", " [matched_group n s] returns the substring of [s] that was matched\n by the [n]th group [\\(...\\)] of the regular expression that was\n matched by the last call to a matching or searching function (see\n {!Str.matched_string} for details). When [n] is [0], it returns the\n substring matched by the whole regular expression.\n The user must make sure that the parameter [s] is the same string\n that was passed to the matching or searching function.\n @raise Not_found if the [n]th group\n of the regular expression was not matched. This can happen\n with groups inside alternatives [\\|], options [?]\n or repetitions [*]. For instance, the empty string will match\n [\\(a\\)*], but [matched_group 1 \"\"] will raise [Not_found]\n because the first group itself was not matched. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 165, "pos_bol": 7137, "pos_cnum": 7137 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 177, "pos_bol": 7877, "pos_cnum": 7930 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 165, "pos_bol": 7137, "pos_cnum": 7137 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 177, "pos_bol": 7877, "pos_cnum": 7930 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 165, "pos_bol": 7137, "pos_cnum": 7137 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 177, "pos_bol": 7877, "pos_cnum": 7930 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 165, "pos_bol": 7137, "pos_cnum": 7137 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 177, "pos_bol": 7877, "pos_cnum": 7930 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7093 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7136 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7093 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 164, "pos_bol": 7093, "pos_cnum": 7136 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 179, "pos_bol": 7932, "pos_cnum": 7936 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 179, "pos_bol": 7932, "pos_cnum": 7951 }, "loc_ghost": false }, "txt2": "group_beginning" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 179, "pos_bol": 7932, "pos_cnum": 7954 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 179, "pos_bol": 7932, "pos_cnum": 7957 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 179, "pos_bol": 7932, "pos_cnum": 7961 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 179, "pos_bol": 7932, "pos_cnum": 7964 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 179, "pos_bol": 7932, "pos_cnum": 7954 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 179, "pos_bol": 7932, "pos_cnum": 7964 }, "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", " [group_beginning n] returns the position of the first character\n of the substring that was matched by the [n]th group of\n the regular expression that was matched by the last call to a\n matching or searching function (see {!Str.matched_string} for details).\n @raise Not_found if the [n]th group of the regular expression\n was not matched.\n @raise Invalid_argument if there are fewer than [n] groups in\n the regular expression. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 180, "pos_bol": 7965, "pos_cnum": 7965 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 187, "pos_bol": 8382, "pos_cnum": 8411 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 180, "pos_bol": 7965, "pos_cnum": 7965 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 187, "pos_bol": 8382, "pos_cnum": 8411 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 180, "pos_bol": 7965, "pos_cnum": 7965 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 187, "pos_bol": 8382, "pos_cnum": 8411 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 180, "pos_bol": 7965, "pos_cnum": 7965 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 187, "pos_bol": 8382, "pos_cnum": 8411 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 179, "pos_bol": 7932, "pos_cnum": 7932 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 179, "pos_bol": 7932, "pos_cnum": 7964 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 179, "pos_bol": 7932, "pos_cnum": 7932 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 179, "pos_bol": 7932, "pos_cnum": 7964 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 189, "pos_bol": 8413, "pos_cnum": 8417 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 189, "pos_bol": 8413, "pos_cnum": 8426 }, "loc_ghost": false }, "txt2": "group_end" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 189, "pos_bol": 8413, "pos_cnum": 8429 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 189, "pos_bol": 8413, "pos_cnum": 8432 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 189, "pos_bol": 8413, "pos_cnum": 8436 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 189, "pos_bol": 8413, "pos_cnum": 8439 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 189, "pos_bol": 8413, "pos_cnum": 8429 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 189, "pos_bol": 8413, "pos_cnum": 8439 }, "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", " [group_end n] returns\n the position of the character following the last character of\n substring that was matched by the [n]th group of the regular\n expression that was matched by the last call to a matching or\n searching function (see {!Str.matched_string} for details).\n @raise Not_found if the [n]th group of the regular expression\n was not matched.\n @raise Invalid_argument if there are fewer than [n] groups in\n the regular expression. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 190, "pos_bol": 8440, "pos_cnum": 8440 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 198, "pos_bol": 8873, "pos_cnum": 8902 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 190, "pos_bol": 8440, "pos_cnum": 8440 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 198, "pos_bol": 8873, "pos_cnum": 8902 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 190, "pos_bol": 8440, "pos_cnum": 8440 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 198, "pos_bol": 8873, "pos_cnum": 8902 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 190, "pos_bol": 8440, "pos_cnum": 8440 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 198, "pos_bol": 8873, "pos_cnum": 8902 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 189, "pos_bol": 8413, "pos_cnum": 8413 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 189, "pos_bol": 8413, "pos_cnum": 8439 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 189, "pos_bol": 8413, "pos_cnum": 8413 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 189, "pos_bol": 8413, "pos_cnum": 8439 }, "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 Replacement} ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 201, "pos_bol": 8905, "pos_cnum": 8905 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 201, "pos_bol": 8905, "pos_cnum": 8927 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 201, "pos_bol": 8905, "pos_cnum": 8905 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 201, "pos_bol": 8905, "pos_cnum": 8927 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 201, "pos_bol": 8905, "pos_cnum": 8905 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 201, "pos_bol": 8905, "pos_cnum": 8927 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 201, "pos_bol": 8905, "pos_cnum": 8905 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 201, "pos_bol": 8905, "pos_cnum": 8927 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 201, "pos_bol": 8905, "pos_cnum": 8905 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 201, "pos_bol": 8905, "pos_cnum": 8927 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8934 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8948 }, "loc_ghost": false }, "txt2": "global_replace" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8951 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8957 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8961 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8967 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8971 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8977 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8981 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8987 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8971 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8987 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8961 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8987 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8951 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8987 }, "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", " [global_replace regexp templ s] returns a string identical to [s],\n except that all substrings of [s] that match [regexp] have been\n replaced by [templ]. The replacement template [templ] can contain\n [\\1], [\\2], etc; these sequences will be replaced by the text\n matched by the corresponding group in the regular expression.\n [\\0] stands for the text matched by the whole regular expression. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 205, "pos_bol": 8988, "pos_cnum": 8988 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 210, "pos_bol": 9325, "pos_cnum": 9396 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 205, "pos_bol": 8988, "pos_cnum": 8988 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 210, "pos_bol": 9325, "pos_cnum": 9396 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 205, "pos_bol": 8988, "pos_cnum": 8988 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 210, "pos_bol": 9325, "pos_cnum": 9396 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 205, "pos_bol": 8988, "pos_cnum": 8988 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 210, "pos_bol": 9325, "pos_cnum": 9396 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8930 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8987 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8930 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 204, "pos_bol": 8930, "pos_cnum": 8987 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9402 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9415 }, "loc_ghost": false }, "txt2": "replace_first" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9418 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9424 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9428 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9434 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9438 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9444 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9448 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9454 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9438 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9454 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9428 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9454 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9418 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9454 }, "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 {!Str.global_replace}, except that only the first substring\n matching the regular expression is replaced. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 213, "pos_bol": 9455, "pos_cnum": 9455 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 214, "pos_bol": 9527, "pos_cnum": 9577 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 213, "pos_bol": 9455, "pos_cnum": 9455 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 214, "pos_bol": 9527, "pos_cnum": 9577 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 213, "pos_bol": 9455, "pos_cnum": 9455 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 214, "pos_bol": 9527, "pos_cnum": 9577 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 213, "pos_bol": 9455, "pos_cnum": 9455 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 214, "pos_bol": 9527, "pos_cnum": 9577 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9398 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9454 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9398 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 212, "pos_bol": 9398, "pos_cnum": 9454 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9583 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9600 }, "loc_ghost": false }, "txt2": "global_substitute" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9603 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9609 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9614 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9620 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9624 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9630 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9614 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9630 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9635 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9641 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9645 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9651 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9635 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9651 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9613 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9651 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9603 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9651 }, "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", " [global_substitute regexp subst s] returns a string identical\n to [s], except that all substrings of [s] that match [regexp]\n have been replaced by the result of function [subst]. The\n function [subst] is called once for each matching substring,\n and receives [s] (the whole text) as argument. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 217, "pos_bol": 9652, "pos_cnum": 9652 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 221, "pos_bol": 9908, "pos_cnum": 9960 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 217, "pos_bol": 9652, "pos_cnum": 9652 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 221, "pos_bol": 9908, "pos_cnum": 9960 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 217, "pos_bol": 9652, "pos_cnum": 9652 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 221, "pos_bol": 9908, "pos_cnum": 9960 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 217, "pos_bol": 9652, "pos_cnum": 9652 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 221, "pos_bol": 9908, "pos_cnum": 9960 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9579 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9651 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9579 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 216, "pos_bol": 9579, "pos_cnum": 9651 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 9966 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 9982 }, "loc_ghost": false }, "txt2": "substitute_first" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 9985 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 9991 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 9996 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 10002 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 10006 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 10012 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 9996 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 10012 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 10017 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 10023 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 10027 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 10033 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 10017 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 10033 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 9995 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 10033 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 9985 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 10033 }, "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 {!Str.global_substitute}, except that only the first substring\n matching the regular expression is replaced. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 224, "pos_bol": 10034, "pos_cnum": 10034 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 225, "pos_bol": 10109, "pos_cnum": 10159 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 224, "pos_bol": 10034, "pos_cnum": 10034 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 225, "pos_bol": 10109, "pos_cnum": 10159 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 224, "pos_bol": 10034, "pos_cnum": 10034 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 225, "pos_bol": 10109, "pos_cnum": 10159 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 224, "pos_bol": 10034, "pos_cnum": 10034 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 225, "pos_bol": 10109, "pos_cnum": 10159 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 9962 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 10033 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 9962 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 223, "pos_bol": 9962, "pos_cnum": 10033 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10165 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10180 }, "loc_ghost": false }, "txt2": "replace_matched" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10183 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10189 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10193 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10199 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10203 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10209 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10193 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10209 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10183 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10209 }, "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", " [replace_matched repl s] returns the replacement text [repl]\n in which [\\1], [\\2], etc. have been replaced by the text\n matched by the corresponding groups in the regular expression\n that was matched by the last call to a matching or searching\n function (see {!Str.matched_string} for details).\n [s] must be the same string that was passed to the matching or\n searching function. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 228, "pos_bol": 10210, "pos_cnum": 10210 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 234, "pos_bol": 10583, "pos_cnum": 10608 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 228, "pos_bol": 10210, "pos_cnum": 10210 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 234, "pos_bol": 10583, "pos_cnum": 10608 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 228, "pos_bol": 10210, "pos_cnum": 10210 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 234, "pos_bol": 10583, "pos_cnum": 10608 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 228, "pos_bol": 10210, "pos_cnum": 10210 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 234, "pos_bol": 10583, "pos_cnum": 10608 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10161 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10209 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10161 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 227, "pos_bol": 10161, "pos_cnum": 10209 }, "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 Splitting} ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 237, "pos_bol": 10611, "pos_cnum": 10611 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 237, "pos_bol": 10611, "pos_cnum": 10631 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 237, "pos_bol": 10611, "pos_cnum": 10611 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 237, "pos_bol": 10611, "pos_cnum": 10631 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 237, "pos_bol": 10611, "pos_cnum": 10611 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 237, "pos_bol": 10611, "pos_cnum": 10631 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 237, "pos_bol": 10611, "pos_cnum": 10611 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 237, "pos_bol": 10611, "pos_cnum": 10631 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 237, "pos_bol": 10611, "pos_cnum": 10611 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 237, "pos_bol": 10611, "pos_cnum": 10631 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10638 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10643 }, "loc_ghost": false }, "txt2": "split" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10646 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10652 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10656 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10662 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "list", [ { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10666 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10672 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10666 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10677 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10656 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10677 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10646 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10677 }, "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", " [split r s] splits [s] into substrings, taking as delimiters\n the substrings that match [r], and returns the list of substrings.\n For instance, [split (regexp \"[ \\t]+\") s] splits [s] into\n blank-separated words. An occurrence of the delimiter at the\n beginning or at the end of the string is ignored. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 241, "pos_bol": 10678, "pos_cnum": 10678 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 245, "pos_bol": 10939, "pos_cnum": 10994 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 241, "pos_bol": 10678, "pos_cnum": 10678 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 245, "pos_bol": 10939, "pos_cnum": 10994 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 241, "pos_bol": 10678, "pos_cnum": 10678 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 245, "pos_bol": 10939, "pos_cnum": 10994 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 241, "pos_bol": 10678, "pos_cnum": 10678 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 245, "pos_bol": 10939, "pos_cnum": 10994 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10634 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10677 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10634 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 240, "pos_bol": 10634, "pos_cnum": 10677 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11000 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11013 }, "loc_ghost": false }, "txt2": "bounded_split" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11016 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11022 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11026 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11032 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11036 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11039 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "list", [ { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11043 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11049 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11043 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11054 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11036 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11054 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11026 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11054 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11016 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11054 }, "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 {!Str.split}, but splits into at most [n] substrings,\n where [n] is the extra integer parameter. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 248, "pos_bol": 11055, "pos_cnum": 11055 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 249, "pos_bol": 11121, "pos_cnum": 11168 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 248, "pos_bol": 11055, "pos_cnum": 11055 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 249, "pos_bol": 11121, "pos_cnum": 11168 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 248, "pos_bol": 11055, "pos_cnum": 11055 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 249, "pos_bol": 11121, "pos_cnum": 11168 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 248, "pos_bol": 11055, "pos_cnum": 11055 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 249, "pos_bol": 11121, "pos_cnum": 11168 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 10996 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11054 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 10996 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 247, "pos_bol": 10996, "pos_cnum": 11054 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11174 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11185 }, "loc_ghost": false }, "txt2": "split_delim" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11188 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11194 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11198 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11204 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "list", [ { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11208 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11214 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11208 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11219 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11198 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11219 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11188 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11219 }, "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 {!Str.split} but occurrences of the\n delimiter at the beginning and at the end of the string are\n recognized and returned as empty strings in the result.\n For instance, [split_delim (regexp \" \") \" abc \"]\n returns [[\"\"; \"abc\"; \"\"]], while [split] with the same\n arguments returns [[\"abc\"]]. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 252, "pos_bol": 11220, "pos_cnum": 11220 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 257, "pos_bol": 11500, "pos_cnum": 11534 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 252, "pos_bol": 11220, "pos_cnum": 11220 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 257, "pos_bol": 11500, "pos_cnum": 11534 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 252, "pos_bol": 11220, "pos_cnum": 11220 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 257, "pos_bol": 11500, "pos_cnum": 11534 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 252, "pos_bol": 11220, "pos_cnum": 11220 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 257, "pos_bol": 11500, "pos_cnum": 11534 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11170 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11219 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11170 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 251, "pos_bol": 11170, "pos_cnum": 11219 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11540 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11559 }, "loc_ghost": false }, "txt2": "bounded_split_delim" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11562 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11568 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11572 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11578 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11582 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11585 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "list", [ { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11589 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11595 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11589 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11600 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11582 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11600 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11572 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11600 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11562 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11600 }, "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 {!Str.bounded_split}, but occurrences of the\n delimiter at the beginning and at the end of the string are\n recognized and returned as empty strings in the result. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 260, "pos_bol": 11601, "pos_cnum": 11601 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 262, "pos_bol": 11721, "pos_cnum": 11782 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 260, "pos_bol": 11601, "pos_cnum": 11601 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 262, "pos_bol": 11721, "pos_cnum": 11782 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 260, "pos_bol": 11601, "pos_cnum": 11601 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 262, "pos_bol": 11721, "pos_cnum": 11782 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 260, "pos_bol": 11601, "pos_cnum": 11601 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 262, "pos_bol": 11721, "pos_cnum": 11782 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11536 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11600 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11536 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 259, "pos_bol": 11536, "pos_cnum": 11600 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 264, "pos_bol": 11784, "pos_cnum": 11789 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 264, "pos_bol": 11784, "pos_cnum": 11801 }, "loc_ghost": false }, "txt2": "split_result" }, "ptype_params": [], "ptype_cstrs": [], "ptype_kind": [ "Ptype_variant", [ { "pcd_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 265, "pos_bol": 11804, "pos_cnum": 11808 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 265, "pos_bol": 11804, "pos_cnum": 11812 }, "loc_ghost": false }, "txt2": "Text" }, "pcd_vars": [], "pcd_args": [ "Pcstr_tuple", [ { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 265, "pos_bol": 11804, "pos_cnum": 11816 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 265, "pos_bol": 11804, "pos_cnum": 11822 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "pcd_res": null, "pcd_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 265, "pos_bol": 11804, "pos_cnum": 11808 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 265, "pos_bol": 11804, "pos_cnum": 11822 }, "loc_ghost": false }, "pcd_attributes": [] }, { "pcd_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 266, "pos_bol": 11823, "pos_cnum": 11827 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 266, "pos_bol": 11823, "pos_cnum": 11832 }, "loc_ghost": false }, "txt2": "Delim" }, "pcd_vars": [], "pcd_args": [ "Pcstr_tuple", [ { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 266, "pos_bol": 11823, "pos_cnum": 11836 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 266, "pos_bol": 11823, "pos_cnum": 11842 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "pcd_res": null, "pcd_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 266, "pos_bol": 11823, "pos_cnum": 11825 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 266, "pos_bol": 11823, "pos_cnum": 11842 }, "loc_ghost": false }, "pcd_attributes": [] } ] ], "ptype_private": [ "Public" ], "ptype_manifest": null, "ptype_attributes": [], "ptype_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 264, "pos_bol": 11784, "pos_cnum": 11784 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 266, "pos_bol": 11823, "pos_cnum": 11842 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 264, "pos_bol": 11784, "pos_cnum": 11784 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 266, "pos_bol": 11823, "pos_cnum": 11842 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11848 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11858 }, "loc_ghost": false }, "txt2": "full_split" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11861 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11867 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11871 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11877 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "list", [ { "ptyp_desc": [ "Ptyp_constr", "split_result", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11881 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11893 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11881 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11898 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11871 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11898 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11861 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11898 }, "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 {!Str.split_delim}, but returns\n the delimiters as well as the substrings contained between\n delimiters. The former are tagged [Delim] in the result list;\n the latter are tagged [Text]. For instance,\n [full_split (regexp \"[{}]\") \"{ab}\"] returns\n [[Delim \"{\"; Text \"ab\"; Delim \"}\"]]. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 269, "pos_bol": 11899, "pos_cnum": 11899 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 274, "pos_bol": 12166, "pos_cnum": 12208 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 269, "pos_bol": 11899, "pos_cnum": 11899 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 274, "pos_bol": 12166, "pos_cnum": 12208 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 269, "pos_bol": 11899, "pos_cnum": 11899 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 274, "pos_bol": 12166, "pos_cnum": 12208 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 269, "pos_bol": 11899, "pos_cnum": 11899 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 274, "pos_bol": 12166, "pos_cnum": 12208 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11844 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11898 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11844 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 268, "pos_bol": 11844, "pos_cnum": 11898 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12214 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12232 }, "loc_ghost": false }, "txt2": "bounded_full_split" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "regexp", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12235 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12241 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12245 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12251 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12255 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12258 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "list", [ { "ptyp_desc": [ "Ptyp_constr", "split_result", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12262 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12274 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12262 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12279 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12255 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12279 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12245 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12279 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12235 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12279 }, "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 {!Str.bounded_split_delim}, but returns\n the delimiters as well as the substrings contained between\n delimiters. The former are tagged [Delim] in the result list;\n the latter are tagged [Text]. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 277, "pos_bol": 12280, "pos_cnum": 12280 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 280, "pos_bol": 12460, "pos_cnum": 12495 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 277, "pos_bol": 12280, "pos_cnum": 12280 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 280, "pos_bol": 12460, "pos_cnum": 12495 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 277, "pos_bol": 12280, "pos_cnum": 12280 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 280, "pos_bol": 12460, "pos_cnum": 12495 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 277, "pos_bol": 12280, "pos_cnum": 12280 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 280, "pos_bol": 12460, "pos_cnum": 12495 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12210 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12279 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12210 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 276, "pos_bol": 12210, "pos_cnum": 12279 }, "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 Extracting substrings} ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 283, "pos_bol": 12498, "pos_cnum": 12498 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 283, "pos_bol": 12498, "pos_cnum": 12530 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 283, "pos_bol": 12498, "pos_cnum": 12498 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 283, "pos_bol": 12498, "pos_cnum": 12530 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 283, "pos_bol": 12498, "pos_cnum": 12498 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 283, "pos_bol": 12498, "pos_cnum": 12530 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 283, "pos_bol": 12498, "pos_cnum": 12498 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 283, "pos_bol": 12498, "pos_cnum": 12530 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 283, "pos_bol": 12498, "pos_cnum": 12498 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 283, "pos_bol": 12498, "pos_cnum": 12530 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12537 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12550 }, "loc_ghost": false }, "txt2": "string_before" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12553 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12559 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12563 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12566 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12570 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12576 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12563 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12576 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12553 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12576 }, "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", " [string_before s n] returns the substring of all characters of [s]\n that precede position [n] (excluding the character at\n position [n]). ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 287, "pos_bol": 12577, "pos_cnum": 12577 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 289, "pos_bol": 12705, "pos_cnum": 12725 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 287, "pos_bol": 12577, "pos_cnum": 12577 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 289, "pos_bol": 12705, "pos_cnum": 12725 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 287, "pos_bol": 12577, "pos_cnum": 12577 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 289, "pos_bol": 12705, "pos_cnum": 12725 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 287, "pos_bol": 12577, "pos_cnum": 12577 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 289, "pos_bol": 12705, "pos_cnum": 12725 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12533 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12576 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12533 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 286, "pos_bol": 12533, "pos_cnum": 12576 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12731 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12743 }, "loc_ghost": false }, "txt2": "string_after" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12746 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12752 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12756 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12759 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12763 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12769 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12756 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12769 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12746 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12769 }, "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", " [string_after s n] returns the substring of all characters of [s]\n that follow position [n] (including the character at\n position [n]). ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 292, "pos_bol": 12770, "pos_cnum": 12770 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 294, "pos_bol": 12896, "pos_cnum": 12916 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 292, "pos_bol": 12770, "pos_cnum": 12770 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 294, "pos_bol": 12896, "pos_cnum": 12916 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 292, "pos_bol": 12770, "pos_cnum": 12770 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 294, "pos_bol": 12896, "pos_cnum": 12916 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 292, "pos_bol": 12770, "pos_cnum": 12770 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 294, "pos_bol": 12896, "pos_cnum": 12916 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12727 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12769 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12727 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 291, "pos_bol": 12727, "pos_cnum": 12769 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12922 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12933 }, "loc_ghost": false }, "txt2": "first_chars" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12936 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12942 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12946 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12949 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12953 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12959 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12946 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12959 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12936 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12959 }, "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", " [first_chars s n] returns the first [n] characters of [s].\n This is the same function as {!Str.string_before}. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 297, "pos_bol": 12960, "pos_cnum": 12960 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 298, "pos_bol": 13023, "pos_cnum": 13079 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 297, "pos_bol": 12960, "pos_cnum": 12960 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 298, "pos_bol": 13023, "pos_cnum": 13079 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 297, "pos_bol": 12960, "pos_cnum": 12960 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 298, "pos_bol": 13023, "pos_cnum": 13079 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 297, "pos_bol": 12960, "pos_cnum": 12960 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 298, "pos_bol": 13023, "pos_cnum": 13079 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12918 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12959 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12918 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 296, "pos_bol": 12918, "pos_cnum": 12959 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13085 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13095 }, "loc_ghost": false }, "txt2": "last_chars" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13098 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13104 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13108 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13111 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13115 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13121 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13108 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13121 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13098 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13121 }, "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", " [last_chars s n] returns the last [n] characters of [s]. ", { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 301, "pos_bol": 13122, "pos_cnum": 13122 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 301, "pos_bol": 13122, "pos_cnum": 13185 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 301, "pos_bol": 13122, "pos_cnum": 13122 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 301, "pos_bol": 13122, "pos_cnum": 13185 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 301, "pos_bol": 13122, "pos_cnum": 13122 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 301, "pos_bol": 13122, "pos_cnum": 13185 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 301, "pos_bol": 13122, "pos_cnum": 13122 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 301, "pos_bol": 13122, "pos_cnum": 13185 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13081 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13121 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13081 }, "loc_end": { "pos_fname": "./otherlibs/str/str.mli", "pos_lnum": 300, "pos_bol": 13081, "pos_cnum": 13121 }, "loc_ghost": false } } ]