[ { "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", " Non-blocking streaming Unicode codec.\n\n [Uutf] is a non-blocking streaming codec to {{:#decode}decode} and\n {{:#encode}encode} the {{:http://www.ietf.org/rfc/rfc3629.txt}\n UTF-8}, {{:http://www.ietf.org/rfc/rfc2781.txt} UTF-16}, UTF-16LE\n and UTF-16BE encoding schemes. It can efficiently work character by\n character without blocking on IO. Decoders perform\n character position tracking and support {{!nln}newline normalization}.\n\n Functions are also provided to {{!String} fold over} the characters\n of UTF encoded OCaml string values and to {{!Buffer}directly encode}\n characters in OCaml {!Stdlib.Buffer.t} values. {b Note} that since OCaml\n 4.14, that functionality can be found in {!Stdlib.String} and\n {!Stdlib.Buffer} and you are encouraged to migrate to it.\n\n See {{:#examples}examples} of use.\n\n {b References}\n {ul\n {- The Unicode Consortium.\n {e {{:http://www.unicode.org/versions/latest}The Unicode Standard}}.\n (latest version)}}\n", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 6, "pos_bol": 296, "pos_cnum": 296 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 28, "pos_bol": 1261, "pos_cnum": 1263 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 6, "pos_bol": 296, "pos_cnum": 296 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 28, "pos_bol": 1261, "pos_cnum": 1263 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 6, "pos_bol": 296, "pos_cnum": 296 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 28, "pos_bol": 1261, "pos_cnum": 1263 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 6, "pos_bol": 296, "pos_cnum": 296 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 28, "pos_bol": 1261, "pos_cnum": 1263 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 6, "pos_bol": 296, "pos_cnum": 296 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 28, "pos_bol": 1261, "pos_cnum": 1263 }, "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:ucharcsts Special Unicode characters} ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 30, "pos_bol": 1265, "pos_cnum": 1267 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 30, "pos_bol": 1265, "pos_cnum": 1314 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 30, "pos_bol": 1265, "pos_cnum": 1267 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 30, "pos_bol": 1265, "pos_cnum": 1314 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 30, "pos_bol": 1265, "pos_cnum": 1267 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 30, "pos_bol": 1265, "pos_cnum": 1314 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 30, "pos_bol": 1265, "pos_cnum": 1267 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 30, "pos_bol": 1265, "pos_cnum": 1314 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 30, "pos_bol": 1265, "pos_cnum": 1267 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 30, "pos_bol": 1265, "pos_cnum": 1314 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 32, "pos_bol": 1316, "pos_cnum": 1320 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 32, "pos_bol": 1316, "pos_cnum": 1325 }, "loc_ghost": false }, "txt2": "u_bom" }, "pval_type": { "ptyp_desc": [ "Ptyp_constr", "Uchart", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 32, "pos_bol": 1316, "pos_cnum": 1328 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 32, "pos_bol": 1316, "pos_cnum": 1335 }, "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", " [u_bom] is the {{:http://unicode.org/glossary/#byte_order_mark}byte\n order mark} (BOM) character ([U+FEFF]). From OCaml 4.06 on, use\n {!Uchar.bom}. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 33, "pos_bol": 1336, "pos_cnum": 1336 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 35, "pos_bol": 1476, "pos_cnum": 1496 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 33, "pos_bol": 1336, "pos_cnum": 1336 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 35, "pos_bol": 1476, "pos_cnum": 1496 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 33, "pos_bol": 1336, "pos_cnum": 1336 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 35, "pos_bol": 1476, "pos_cnum": 1496 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 33, "pos_bol": 1336, "pos_cnum": 1336 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 35, "pos_bol": 1476, "pos_cnum": 1496 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 32, "pos_bol": 1316, "pos_cnum": 1316 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 32, "pos_bol": 1316, "pos_cnum": 1335 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 32, "pos_bol": 1316, "pos_cnum": 1316 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 32, "pos_bol": 1316, "pos_cnum": 1335 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 37, "pos_bol": 1498, "pos_cnum": 1502 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 37, "pos_bol": 1498, "pos_cnum": 1507 }, "loc_ghost": false }, "txt2": "u_rep" }, "pval_type": { "ptyp_desc": [ "Ptyp_constr", "Uchart", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 37, "pos_bol": 1498, "pos_cnum": 1510 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 37, "pos_bol": 1498, "pos_cnum": 1517 }, "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", " [u_rep] is the\n {{:http://unicode.org/glossary/#replacement_character}replacement}\n character ([U+FFFD]). From OCaml 4.06 on, use\n {!Uchar.rep}. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 38, "pos_bol": 1518, "pos_cnum": 1518 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 41, "pos_bol": 1658, "pos_cnum": 1678 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 38, "pos_bol": 1518, "pos_cnum": 1518 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 41, "pos_bol": 1658, "pos_cnum": 1678 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 38, "pos_bol": 1518, "pos_cnum": 1518 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 41, "pos_bol": 1658, "pos_cnum": 1678 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 38, "pos_bol": 1518, "pos_cnum": 1518 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 41, "pos_bol": 1658, "pos_cnum": 1678 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 37, "pos_bol": 1498, "pos_cnum": 1498 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 37, "pos_bol": 1498, "pos_cnum": 1517 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 37, "pos_bol": 1498, "pos_cnum": 1498 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 37, "pos_bol": 1498, "pos_cnum": 1517 }, "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:schemes Unicode encoding schemes} ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 44, "pos_bol": 1681, "pos_cnum": 1681 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 44, "pos_bol": 1681, "pos_cnum": 1724 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 44, "pos_bol": 1681, "pos_cnum": 1681 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 44, "pos_bol": 1681, "pos_cnum": 1724 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 44, "pos_bol": 1681, "pos_cnum": 1681 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 44, "pos_bol": 1681, "pos_cnum": 1724 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 44, "pos_bol": 1681, "pos_cnum": 1681 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 44, "pos_bol": 1681, "pos_cnum": 1724 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 44, "pos_bol": 1681, "pos_cnum": 1681 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 44, "pos_bol": 1681, "pos_cnum": 1724 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1731 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1739 }, "loc_ghost": false }, "txt2": "encoding" }, "ptype_params": [], "ptype_cstrs": [], "ptype_kind": [ "Ptype_abstract" ], "ptype_private": [ "Public" ], "ptype_manifest": { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1744 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1751 }, "loc_ghost": false }, "txt2": "UTF_16" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1744 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1751 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1754 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1763 }, "loc_ghost": false }, "txt2": "UTF_16BE" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1754 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1763 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1766 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1775 }, "loc_ghost": false }, "txt2": "UTF_16LE" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1766 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1775 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1778 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1784 }, "loc_ghost": false }, "txt2": "UTF_8" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1778 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1784 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], null ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1742 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1786 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "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 for Unicode\n {{:http://unicode.org/glossary/#character_encoding_scheme}encoding\n schemes}. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 47, "pos_bol": 1787, "pos_cnum": 1787 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 49, "pos_bol": 1883, "pos_cnum": 1899 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 47, "pos_bol": 1787, "pos_cnum": 1787 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 49, "pos_bol": 1883, "pos_cnum": 1899 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 47, "pos_bol": 1787, "pos_cnum": 1787 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 49, "pos_bol": 1883, "pos_cnum": 1899 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 47, "pos_bol": 1787, "pos_cnum": 1787 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 49, "pos_bol": 1883, "pos_cnum": 1899 }, "loc_ghost": false } } ], "ptype_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1726 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1786 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1726 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 46, "pos_bol": 1726, "pos_cnum": 1786 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1906 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1922 }, "loc_ghost": false }, "txt2": "decoder_encoding" }, "ptype_params": [], "ptype_cstrs": [], "ptype_kind": [ "Ptype_abstract" ], "ptype_private": [ "Public" ], "ptype_manifest": { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rinherit", { "ptyp_desc": [ "Ptyp_constr", "encoding", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1927 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1935 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1927 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1935 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1938 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1947 }, "loc_ghost": false }, "txt2": "US_ASCII" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1938 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1947 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1950 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1961 }, "loc_ghost": false }, "txt2": "ISO_8859_1" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1950 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1961 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], null ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1925 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1963 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "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 for encoding schemes {e decoded} by [Uutf]. Unicode encoding\n schemes plus {{:http://tools.ietf.org/html/rfc20}US-ASCII} and\n {{:http://www.ecma-international.org/publications/standards/Ecma-094.htm}\n ISO/IEC 8859-1} (latin-1). ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 52, "pos_bol": 1964, "pos_cnum": 1964 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 55, "pos_bol": 2183, "pos_cnum": 2216 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 52, "pos_bol": 1964, "pos_cnum": 1964 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 55, "pos_bol": 2183, "pos_cnum": 2216 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 52, "pos_bol": 1964, "pos_cnum": 1964 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 55, "pos_bol": 2183, "pos_cnum": 2216 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 52, "pos_bol": 1964, "pos_cnum": 1964 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 55, "pos_bol": 2183, "pos_cnum": 2216 }, "loc_ghost": false } } ], "ptype_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1901 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1963 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1901 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 51, "pos_bol": 1901, "pos_cnum": 1963 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 57, "pos_bol": 2218, "pos_cnum": 2222 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 57, "pos_bol": 2218, "pos_cnum": 2240 }, "loc_ghost": false }, "txt2": "encoding_of_string" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 57, "pos_bol": 2218, "pos_cnum": 2243 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 57, "pos_bol": 2218, "pos_cnum": 2249 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "option", [ { "ptyp_desc": [ "Ptyp_constr", "decoder_encoding", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 57, "pos_bol": 2218, "pos_cnum": 2253 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 57, "pos_bol": 2218, "pos_cnum": 2269 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 57, "pos_bol": 2218, "pos_cnum": 2253 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 57, "pos_bol": 2218, "pos_cnum": 2276 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 57, "pos_bol": 2218, "pos_cnum": 2243 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 57, "pos_bol": 2218, "pos_cnum": 2276 }, "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", " [encoding_of_string s] converts a (case insensitive)\n {{:http://www.iana.org/assignments/character-sets}IANA character set name}\n to an encoding. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 58, "pos_bol": 2277, "pos_cnum": 2277 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 60, "pos_bol": 2413, "pos_cnum": 2435 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 58, "pos_bol": 2277, "pos_cnum": 2277 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 60, "pos_bol": 2413, "pos_cnum": 2435 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 58, "pos_bol": 2277, "pos_cnum": 2277 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 60, "pos_bol": 2413, "pos_cnum": 2435 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 58, "pos_bol": 2277, "pos_cnum": 2277 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 60, "pos_bol": 2413, "pos_cnum": 2435 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 57, "pos_bol": 2218, "pos_cnum": 2218 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 57, "pos_bol": 2218, "pos_cnum": 2276 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 57, "pos_bol": 2218, "pos_cnum": 2218 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 57, "pos_bol": 2218, "pos_cnum": 2276 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2441 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2459 }, "loc_ghost": false }, "txt2": "encoding_to_string" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rinherit", { "ptyp_desc": [ "Ptyp_constr", "decoder_encoding", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2465 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2481 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2465 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2481 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2462 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2482 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2486 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2492 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2462 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2492 }, "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", " [encoding_to_string e] is a\n {{:http://www.iana.org/assignments/character-sets}IANA character set name}\n for [e]. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 63, "pos_bol": 2493, "pos_cnum": 2493 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 65, "pos_bol": 2604, "pos_cnum": 2619 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 63, "pos_bol": 2493, "pos_cnum": 2493 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 65, "pos_bol": 2604, "pos_cnum": 2619 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 63, "pos_bol": 2493, "pos_cnum": 2493 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 65, "pos_bol": 2604, "pos_cnum": 2619 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 63, "pos_bol": 2493, "pos_cnum": 2493 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 65, "pos_bol": 2604, "pos_cnum": 2619 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2437 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2492 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2437 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 62, "pos_bol": 2437, "pos_cnum": 2492 }, "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:decode Decode} ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 67, "pos_bol": 2621, "pos_cnum": 2621 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 67, "pos_bol": 2621, "pos_cnum": 2645 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 67, "pos_bol": 2621, "pos_cnum": 2621 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 67, "pos_bol": 2621, "pos_cnum": 2645 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 67, "pos_bol": 2621, "pos_cnum": 2621 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 67, "pos_bol": 2621, "pos_cnum": 2645 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 67, "pos_bol": 2621, "pos_cnum": 2621 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 67, "pos_bol": 2621, "pos_cnum": 2645 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 67, "pos_bol": 2621, "pos_cnum": 2621 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 67, "pos_bol": 2621, "pos_cnum": 2645 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2652 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2655 }, "loc_ghost": false }, "txt2": "src" }, "ptype_params": [], "ptype_cstrs": [], "ptype_kind": [ "Ptype_abstract" ], "ptype_private": [ "Public" ], "ptype_manifest": { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2660 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2668 }, "loc_ghost": false }, "txt2": "Channel" }, false, [ { "ptyp_desc": [ "Ptyp_constr", "in_channel", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2672 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2682 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2660 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2682 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2685 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2692 }, "loc_ghost": false }, "txt2": "String" }, false, [ { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2696 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2702 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2685 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2702 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2705 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2712 }, "loc_ghost": false }, "txt2": "Manual" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2705 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2712 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], null ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2658 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2714 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "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 for input sources. With a [`Manual] source the client\n must provide input with {!Manual.src}. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 70, "pos_bol": 2715, "pos_cnum": 2715 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 71, "pos_bol": 2782, "pos_cnum": 2827 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 70, "pos_bol": 2715, "pos_cnum": 2715 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 71, "pos_bol": 2782, "pos_cnum": 2827 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 70, "pos_bol": 2715, "pos_cnum": 2715 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 71, "pos_bol": 2782, "pos_cnum": 2827 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 70, "pos_bol": 2715, "pos_cnum": 2715 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 71, "pos_bol": 2782, "pos_cnum": 2827 }, "loc_ghost": false } } ], "ptype_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2647 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2714 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2647 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 69, "pos_bol": 2647, "pos_cnum": 2714 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2834 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2837 }, "loc_ghost": false }, "txt2": "nln" }, "ptype_params": [], "ptype_cstrs": [], "ptype_kind": [ "Ptype_abstract" ], "ptype_private": [ "Public" ], "ptype_manifest": { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2842 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2848 }, "loc_ghost": false }, "txt2": "ASCII" }, false, [ { "ptyp_desc": [ "Ptyp_constr", "Uchart", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2852 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2859 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2842 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2859 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2862 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2866 }, "loc_ghost": false }, "txt2": "NLF" }, false, [ { "ptyp_desc": [ "Ptyp_constr", "Uchart", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2870 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2877 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2862 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2877 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2880 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2889 }, "loc_ghost": false }, "txt2": "Readline" }, false, [ { "ptyp_desc": [ "Ptyp_constr", "Uchart", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2893 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2900 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2880 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2900 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], null ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2840 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2902 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "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 for newline normalizations. The variant argument is the\n normalization character.\n {ul\n {- [`ASCII], normalizes CR ([U+000D]), LF ([U+000A]) and CRLF\n (<[U+000D], [U+000A]>).}\n {- [`NLF], normalizes the Unicode newline function (NLF). This is\n NEL ([U+0085]) and the normalizations of [`ASCII].}\n {- [`Readline], normalizes for a Unicode readline function. This is FF\n ([U+000C]), LS ([U+2028]), PS ([U+2029]), and the normalizations\n of [`NLF].}}\n Used with an appropriate normalization character the [`NLF] and\n [`Readline] normalizations allow to implement all the different\n recommendations of Unicode's newline guidelines (section 5.8 in\n Unicode 9.0.0). ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 74, "pos_bol": 2903, "pos_cnum": 2903 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 87, "pos_bol": 3607, "pos_cnum": 3629 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 74, "pos_bol": 2903, "pos_cnum": 2903 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 87, "pos_bol": 3607, "pos_cnum": 3629 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 74, "pos_bol": 2903, "pos_cnum": 2903 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 87, "pos_bol": 3607, "pos_cnum": 3629 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 74, "pos_bol": 2903, "pos_cnum": 2903 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 87, "pos_bol": 3607, "pos_cnum": 3629 }, "loc_ghost": false } } ], "ptype_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2829 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2902 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2829 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 73, "pos_bol": 2829, "pos_cnum": 2902 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 89, "pos_bol": 3631, "pos_cnum": 3636 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 89, "pos_bol": 3631, "pos_cnum": 3643 }, "loc_ghost": false }, "txt2": "decoder" }, "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 for decoders. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 90, "pos_bol": 3644, "pos_cnum": 3644 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 90, "pos_bol": 3644, "pos_cnum": 3673 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 90, "pos_bol": 3644, "pos_cnum": 3644 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 90, "pos_bol": 3644, "pos_cnum": 3673 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 90, "pos_bol": 3644, "pos_cnum": 3644 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 90, "pos_bol": 3644, "pos_cnum": 3673 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 90, "pos_bol": 3644, "pos_cnum": 3644 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 90, "pos_bol": 3644, "pos_cnum": 3673 }, "loc_ghost": false } } ], "ptype_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 89, "pos_bol": 3631, "pos_cnum": 3631 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 89, "pos_bol": 3631, "pos_cnum": 3643 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 89, "pos_bol": 3631, "pos_cnum": 3631 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 89, "pos_bol": 3631, "pos_cnum": 3643 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3679 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3686 }, "loc_ghost": false }, "txt2": "decoder" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Optional", "nln" ], { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rinherit", { "ptyp_desc": [ "Ptyp_constr", "nln", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3697 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3700 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3697 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3700 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3694 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3701 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Optional", "encoding" ], { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rinherit", { "ptyp_desc": [ "Ptyp_constr", "decoder_encoding", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3718 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3734 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3718 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3734 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3715 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3735 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rinherit", { "ptyp_desc": [ "Ptyp_constr", "src", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3742 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3745 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3742 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3745 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3739 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3746 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "decoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 93, "pos_bol": 3750, "pos_cnum": 3752 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 93, "pos_bol": 3750, "pos_cnum": 3759 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3739 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 93, "pos_bol": 3750, "pos_cnum": 3759 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3705 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 93, "pos_bol": 3750, "pos_cnum": 3759 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3689 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 93, "pos_bol": 3750, "pos_cnum": 3759 }, "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", " [decoder nln encoding src] is a decoder that inputs from [src].\n\n {b Byte order mark.}\n {{:http://unicode.org/glossary/#byte_order_mark}Byte order mark}\n (BOM) constraints are application dependent and prone to\n misunderstandings (see the\n {{:http://www.unicode.org/faq/utf_bom.html#BOM}FAQ}). Hence,\n [Uutf] decoders have a simple rule: an {e initial BOM is always\n removed from the input and not counted in character position\n tracking}. The function {!decoder_removed_bom} does however return\n [true] if a BOM was removed so that all the information can be\n recovered if needed.\n\n For UTF-16BE and UTF-16LE the above rule is a violation of\n conformance D96 and D97 of the standard. [Uutf] favors the idea\n that if there's a BOM, decoding with [`UTF_16] or the [`UTF_16XX]\n corresponding to the BOM should decode the same character sequence\n (this is not the case if you stick to the standard). The client\n can however regain conformance by consulting the result of\n {!decoder_removed_bom} and take appropriate action.\n\n {b Encoding.} [encoding] specifies the decoded encoding\n scheme. If [`UTF_16] is used the endianness is determined\n according to the standard: from a\n {{:http://unicode.org/glossary/#byte_order_mark}BOM}\n if there is one, [`UTF_16BE] otherwise.\n\n If [encoding] is unspecified it is guessed. The result of a guess\n can only be [`UTF_8], [`UTF_16BE] or [`UTF_16LE]. The heuristic\n looks at the first three bytes of input (or less if impossible)\n and takes the {e first} matching byte pattern in the table below.\n{v\nxx = any byte\n.. = any byte or no byte (input too small)\npp = positive byte\nuu = valid UTF-8 first byte\n\nBytes | Guess | Rationale\n---------+-----------+-----------------------------------------------\nEF BB BF | `UTF_8 | UTF-8 BOM\nFE FF .. | `UTF_16BE | UTF-16BE BOM\nFF FE .. | `UTF_16LE | UTF-16LE BOM\n00 pp .. | `UTF_16BE | ASCII UTF-16BE and U+0000 is often forbidden\npp 00 .. | `UTF_16LE | ASCII UTF-16LE and U+0000 is often forbidden\nuu .. .. | `UTF_8 | ASCII UTF-8 or valid UTF-8 first byte.\nxx xx .. | `UTF_16BE | Not UTF-8 => UTF-16, no BOM => UTF-16BE\n.. .. .. | `UTF_8 | Single malformed UTF-8 byte or no input.\nv}\n This heuristic is compatible both with BOM based\n recognitition and\n {{:http://tools.ietf.org/html/rfc4627#section-3}JSON-like encoding\n recognition} that relies on ASCII being present at the beginning\n of the stream. Also, {!decoder_removed_bom} will tell the client\n if the guess was BOM based.\n\n {b Newline normalization.} If [nln] is specified, the given\n newline normalization is performed, see {!nln}. Otherwise\n all newlines are returned as found in the input.\n\n {b Character position.} The line number, column number, byte count\n and character count of the last decoded character (including\n [`Malformed] ones) are respectively returned by {!decoder_line},\n {!decoder_col}, {!decoder_byte_count} and {!decoder_count}. Before\n the first call to {!val-decode} the line number is [1] and the column\n is [0]. Each {!val-decode} returning [`Uchar] or [`Malformed]\n increments the column until a newline. On a newline, the line\n number is incremented and the column set to zero. For example the\n line is [2] and column [0] after the first newline was\n decoded. This can be understood as if {!val-decode} was moving an\n insertion point to the right in the data. A {e newline} is\n anything normalized by [`Readline], see {!nln}.\n\n [Uutf] assumes that each Unicode scalar value has a column width\n of 1. The same assumption may not be made by the display program\n (e.g. for [emacs]' compilation mode you need to set\n [compilation-error-screen-columns] to [nil]). The problem is in\n general difficult to solve without interaction or convention with the\n display program's rendering engine. Depending on the context better column\n increments can be implemented by using {!Uucp.Break.tty_width_hint} or\n {{:http://unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries}\n grapheme cluster boundaries} (see {!Uuseg}). ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 94, "pos_bol": 3760, "pos_cnum": 3760 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 174, "pos_bol": 7875, "pos_cnum": 7926 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 94, "pos_bol": 3760, "pos_cnum": 3760 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 174, "pos_bol": 7875, "pos_cnum": 7926 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 94, "pos_bol": 3760, "pos_cnum": 3760 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 174, "pos_bol": 7875, "pos_cnum": 7926 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 94, "pos_bol": 3760, "pos_cnum": 3760 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 174, "pos_bol": 7875, "pos_cnum": 7926 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3675 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 93, "pos_bol": 3750, "pos_cnum": 3759 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 92, "pos_bol": 3675, "pos_cnum": 3675 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 93, "pos_bol": 3750, "pos_cnum": 3759 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 176, "pos_bol": 7928, "pos_cnum": 7932 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 176, "pos_bol": 7928, "pos_cnum": 7938 }, "loc_ghost": false }, "txt2": "decode" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "decoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 176, "pos_bol": 7928, "pos_cnum": 7941 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 176, "pos_bol": 7928, "pos_cnum": 7948 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7956 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7962 }, "loc_ghost": false }, "txt2": "Await" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7956 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7962 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7965 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7971 }, "loc_ghost": false }, "txt2": "Uchar" }, false, [ { "ptyp_desc": [ "Ptyp_constr", "Uchart", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7975 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7982 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7965 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7982 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7985 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7989 }, "loc_ghost": false }, "txt2": "End" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7985 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7989 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7992 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 8002 }, "loc_ghost": false }, "txt2": "Malformed" }, false, [ { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 8006 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 8012 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7992 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 8012 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], null ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 7954 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 8013 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 176, "pos_bol": 7928, "pos_cnum": 7941 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 8013 }, "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", " [decode d] is:\n {ul\n {- [`Await] if [d] has a [`Manual] input source and awaits\n for more input. The client must use {!Manual.src} to provide it.}\n {- [`Uchar u] if a Unicode scalar value [u] was decoded.}\n {- [`End] if the end of input was reached.}\n {- [`Malformed bytes] if the [bytes] sequence is malformed according to\n the decoded encoding scheme. If you are interested in a best-effort\n decoding you can still continue to decode after an error until the\n decoder synchronizes again on valid bytes. It may however be a good\n idea to signal the malformed characters by adding an {!u_rep}\n character to the parsed data, see the {{:#examples}examples}.}}\n\n {b Note.} Repeated invocation always eventually returns [`End], even\n in case of errors. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 178, "pos_bol": 8014, "pos_cnum": 8014 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 192, "pos_bol": 8801, "pos_cnum": 8827 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 178, "pos_bol": 8014, "pos_cnum": 8014 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 192, "pos_bol": 8801, "pos_cnum": 8827 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 178, "pos_bol": 8014, "pos_cnum": 8014 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 192, "pos_bol": 8801, "pos_cnum": 8827 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 178, "pos_bol": 8014, "pos_cnum": 8014 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 192, "pos_bol": 8801, "pos_cnum": 8827 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 176, "pos_bol": 7928, "pos_cnum": 7928 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 8013 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 176, "pos_bol": 7928, "pos_cnum": 7928 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 177, "pos_bol": 7952, "pos_cnum": 8013 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 194, "pos_bol": 8829, "pos_cnum": 8833 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 194, "pos_bol": 8829, "pos_cnum": 8849 }, "loc_ghost": false }, "txt2": "decoder_encoding" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "decoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 194, "pos_bol": 8829, "pos_cnum": 8852 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 194, "pos_bol": 8829, "pos_cnum": 8859 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "decoder_encoding", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 194, "pos_bol": 8829, "pos_cnum": 8863 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 194, "pos_bol": 8829, "pos_cnum": 8879 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 194, "pos_bol": 8829, "pos_cnum": 8852 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 194, "pos_bol": 8829, "pos_cnum": 8879 }, "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", " [decoder_encoding d] is [d]'s the decoded encoding scheme of [d].\n\n {b Warning.} If the decoder guesses the encoding or uses [`UTF_16],\n rely on this value only after the first [`Uchar] was decoded. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 195, "pos_bol": 8880, "pos_cnum": 8880 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 198, "pos_bol": 9023, "pos_cnum": 9091 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 195, "pos_bol": 8880, "pos_cnum": 8880 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 198, "pos_bol": 9023, "pos_cnum": 9091 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 195, "pos_bol": 8880, "pos_cnum": 8880 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 198, "pos_bol": 9023, "pos_cnum": 9091 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 195, "pos_bol": 8880, "pos_cnum": 8880 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 198, "pos_bol": 9023, "pos_cnum": 9091 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 194, "pos_bol": 8829, "pos_cnum": 8829 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 194, "pos_bol": 8829, "pos_cnum": 8879 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 194, "pos_bol": 8829, "pos_cnum": 8829 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 194, "pos_bol": 8829, "pos_cnum": 8879 }, "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", "/*", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 200, "pos_bol": 9093, "pos_cnum": 9093 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 200, "pos_bol": 9093, "pos_cnum": 9100 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 200, "pos_bol": 9093, "pos_cnum": 9093 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 200, "pos_bol": 9093, "pos_cnum": 9100 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 200, "pos_bol": 9093, "pos_cnum": 9093 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 200, "pos_bol": 9093, "pos_cnum": 9100 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 200, "pos_bol": 9093, "pos_cnum": 9093 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 200, "pos_bol": 9093, "pos_cnum": 9100 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 200, "pos_bol": 9093, "pos_cnum": 9093 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 200, "pos_bol": 9093, "pos_cnum": 9100 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9230 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9250 }, "loc_ghost": false }, "txt2": "set_decoder_encoding" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "decoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9253 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9260 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rinherit", { "ptyp_desc": [ "Ptyp_constr", "decoder_encoding", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9267 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9283 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9267 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9283 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9264 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9284 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "unit", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9288 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9292 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9264 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9292 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9253 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9292 }, "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", " [set_decoder_encoding d enc] changes the decoded encoding\n to [enc] after decoding started.\n\n {b Warning.} Call only after {!val-decode} was called on [d] and that the\n last call to it returned something different from [`Await] or data may\n be lost. After encoding guess wait for at least three [`Uchar]s. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 206, "pos_bol": 9293, "pos_cnum": 9293 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 211, "pos_bol": 9546, "pos_cnum": 9617 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 206, "pos_bol": 9293, "pos_cnum": 9293 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 211, "pos_bol": 9546, "pos_cnum": 9617 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 206, "pos_bol": 9293, "pos_cnum": 9293 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 211, "pos_bol": 9546, "pos_cnum": 9617 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 206, "pos_bol": 9293, "pos_cnum": 9293 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 211, "pos_bol": 9546, "pos_cnum": 9617 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9226 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9292 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9226 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 205, "pos_bol": 9226, "pos_cnum": 9292 }, "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", "/*", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 213, "pos_bol": 9619, "pos_cnum": 9619 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 213, "pos_bol": 9619, "pos_cnum": 9626 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 213, "pos_bol": 9619, "pos_cnum": 9619 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 213, "pos_bol": 9619, "pos_cnum": 9626 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 213, "pos_bol": 9619, "pos_cnum": 9619 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 213, "pos_bol": 9619, "pos_cnum": 9626 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 213, "pos_bol": 9619, "pos_cnum": 9619 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 213, "pos_bol": 9619, "pos_cnum": 9626 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 213, "pos_bol": 9619, "pos_cnum": 9619 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 213, "pos_bol": 9619, "pos_cnum": 9626 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 215, "pos_bol": 9628, "pos_cnum": 9632 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 215, "pos_bol": 9628, "pos_cnum": 9644 }, "loc_ghost": false }, "txt2": "decoder_line" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "decoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 215, "pos_bol": 9628, "pos_cnum": 9647 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 215, "pos_bol": 9628, "pos_cnum": 9654 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 215, "pos_bol": 9628, "pos_cnum": 9658 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 215, "pos_bol": 9628, "pos_cnum": 9661 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 215, "pos_bol": 9628, "pos_cnum": 9647 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 215, "pos_bol": 9628, "pos_cnum": 9661 }, "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", " [decoder_line d] is the line number of the last\n decoded (or malformed) character. See {!val-decoder} for details. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 216, "pos_bol": 9662, "pos_cnum": 9662 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 217, "pos_bol": 9714, "pos_cnum": 9786 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 216, "pos_bol": 9662, "pos_cnum": 9662 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 217, "pos_bol": 9714, "pos_cnum": 9786 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 216, "pos_bol": 9662, "pos_cnum": 9662 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 217, "pos_bol": 9714, "pos_cnum": 9786 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 216, "pos_bol": 9662, "pos_cnum": 9662 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 217, "pos_bol": 9714, "pos_cnum": 9786 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 215, "pos_bol": 9628, "pos_cnum": 9628 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 215, "pos_bol": 9628, "pos_cnum": 9661 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 215, "pos_bol": 9628, "pos_cnum": 9628 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 215, "pos_bol": 9628, "pos_cnum": 9661 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 219, "pos_bol": 9788, "pos_cnum": 9792 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 219, "pos_bol": 9788, "pos_cnum": 9803 }, "loc_ghost": false }, "txt2": "decoder_col" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "decoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 219, "pos_bol": 9788, "pos_cnum": 9806 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 219, "pos_bol": 9788, "pos_cnum": 9813 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 219, "pos_bol": 9788, "pos_cnum": 9817 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 219, "pos_bol": 9788, "pos_cnum": 9820 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 219, "pos_bol": 9788, "pos_cnum": 9806 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 219, "pos_bol": 9788, "pos_cnum": 9820 }, "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", " [decoder_col d] is the column number of the last decoded\n (or malformed) character. See {!val-decoder} for details. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 220, "pos_bol": 9821, "pos_cnum": 9821 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 221, "pos_bol": 9882, "pos_cnum": 9946 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 220, "pos_bol": 9821, "pos_cnum": 9821 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 221, "pos_bol": 9882, "pos_cnum": 9946 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 220, "pos_bol": 9821, "pos_cnum": 9821 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 221, "pos_bol": 9882, "pos_cnum": 9946 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 220, "pos_bol": 9821, "pos_cnum": 9821 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 221, "pos_bol": 9882, "pos_cnum": 9946 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 219, "pos_bol": 9788, "pos_cnum": 9788 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 219, "pos_bol": 9788, "pos_cnum": 9820 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 219, "pos_bol": 9788, "pos_cnum": 9788 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 219, "pos_bol": 9788, "pos_cnum": 9820 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 223, "pos_bol": 9948, "pos_cnum": 9952 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 223, "pos_bol": 9948, "pos_cnum": 9970 }, "loc_ghost": false }, "txt2": "decoder_byte_count" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "decoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 223, "pos_bol": 9948, "pos_cnum": 9973 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 223, "pos_bol": 9948, "pos_cnum": 9980 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 223, "pos_bol": 9948, "pos_cnum": 9984 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 223, "pos_bol": 9948, "pos_cnum": 9987 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 223, "pos_bol": 9948, "pos_cnum": 9973 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 223, "pos_bol": 9948, "pos_cnum": 9987 }, "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", " [decoder_byte_count d] is the number of bytes already decoded on\n [d] (including malformed ones). This is the last {!val-decode}'s\n end byte offset counting from the beginning of the stream. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 224, "pos_bol": 9988, "pos_cnum": 9988 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 226, "pos_bol": 10126, "pos_cnum": 10191 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 224, "pos_bol": 9988, "pos_cnum": 9988 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 226, "pos_bol": 10126, "pos_cnum": 10191 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 224, "pos_bol": 9988, "pos_cnum": 9988 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 226, "pos_bol": 10126, "pos_cnum": 10191 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 224, "pos_bol": 9988, "pos_cnum": 9988 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 226, "pos_bol": 10126, "pos_cnum": 10191 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 223, "pos_bol": 9948, "pos_cnum": 9948 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 223, "pos_bol": 9948, "pos_cnum": 9987 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 223, "pos_bol": 9948, "pos_cnum": 9948 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 223, "pos_bol": 9948, "pos_cnum": 9987 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 228, "pos_bol": 10193, "pos_cnum": 10197 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 228, "pos_bol": 10193, "pos_cnum": 10210 }, "loc_ghost": false }, "txt2": "decoder_count" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "decoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 228, "pos_bol": 10193, "pos_cnum": 10213 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 228, "pos_bol": 10193, "pos_cnum": 10220 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 228, "pos_bol": 10193, "pos_cnum": 10224 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 228, "pos_bol": 10193, "pos_cnum": 10227 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 228, "pos_bol": 10193, "pos_cnum": 10213 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 228, "pos_bol": 10193, "pos_cnum": 10227 }, "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", " [decoder_count d] is the number of characters already decoded on [d]\n (including malformed ones). See {!val-decoder} for details. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 229, "pos_bol": 10228, "pos_cnum": 10228 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 230, "pos_bol": 10301, "pos_cnum": 10367 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 229, "pos_bol": 10228, "pos_cnum": 10228 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 230, "pos_bol": 10301, "pos_cnum": 10367 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 229, "pos_bol": 10228, "pos_cnum": 10228 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 230, "pos_bol": 10301, "pos_cnum": 10367 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 229, "pos_bol": 10228, "pos_cnum": 10228 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 230, "pos_bol": 10301, "pos_cnum": 10367 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 228, "pos_bol": 10193, "pos_cnum": 10193 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 228, "pos_bol": 10193, "pos_cnum": 10227 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 228, "pos_bol": 10193, "pos_cnum": 10193 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 228, "pos_bol": 10193, "pos_cnum": 10227 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 232, "pos_bol": 10369, "pos_cnum": 10373 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 232, "pos_bol": 10369, "pos_cnum": 10392 }, "loc_ghost": false }, "txt2": "decoder_removed_bom" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "decoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 232, "pos_bol": 10369, "pos_cnum": 10395 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 232, "pos_bol": 10369, "pos_cnum": 10402 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "bool", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 232, "pos_bol": 10369, "pos_cnum": 10406 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 232, "pos_bol": 10369, "pos_cnum": 10410 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 232, "pos_bol": 10369, "pos_cnum": 10395 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 232, "pos_bol": 10369, "pos_cnum": 10410 }, "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", " [decoder_removed_bom d] is [true] iff an {e initial}\n {{:http://unicode.org/glossary/#byte_order_mark}BOM} was\n removed from the input stream. See {!val-decoder} for details. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 233, "pos_bol": 10411, "pos_cnum": 10411 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 235, "pos_bol": 10529, "pos_cnum": 10598 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 233, "pos_bol": 10411, "pos_cnum": 10411 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 235, "pos_bol": 10529, "pos_cnum": 10598 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 233, "pos_bol": 10411, "pos_cnum": 10411 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 235, "pos_bol": 10529, "pos_cnum": 10598 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 233, "pos_bol": 10411, "pos_cnum": 10411 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 235, "pos_bol": 10529, "pos_cnum": 10598 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 232, "pos_bol": 10369, "pos_cnum": 10369 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 232, "pos_bol": 10369, "pos_cnum": 10410 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 232, "pos_bol": 10369, "pos_cnum": 10369 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 232, "pos_bol": 10369, "pos_cnum": 10410 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 237, "pos_bol": 10600, "pos_cnum": 10604 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 237, "pos_bol": 10600, "pos_cnum": 10615 }, "loc_ghost": false }, "txt2": "decoder_src" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "decoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 237, "pos_bol": 10600, "pos_cnum": 10618 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 237, "pos_bol": 10600, "pos_cnum": 10625 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "src", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 237, "pos_bol": 10600, "pos_cnum": 10629 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 237, "pos_bol": 10600, "pos_cnum": 10632 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 237, "pos_bol": 10600, "pos_cnum": 10618 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 237, "pos_bol": 10600, "pos_cnum": 10632 }, "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", " [decoder_src d] is [d]'s input source. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 238, "pos_bol": 10633, "pos_cnum": 10633 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 238, "pos_bol": 10633, "pos_cnum": 10678 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 238, "pos_bol": 10633, "pos_cnum": 10633 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 238, "pos_bol": 10633, "pos_cnum": 10678 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 238, "pos_bol": 10633, "pos_cnum": 10633 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 238, "pos_bol": 10633, "pos_cnum": 10678 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 238, "pos_bol": 10633, "pos_cnum": 10633 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 238, "pos_bol": 10633, "pos_cnum": 10678 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 237, "pos_bol": 10600, "pos_cnum": 10600 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 237, "pos_bol": 10600, "pos_cnum": 10632 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 237, "pos_bol": 10600, "pos_cnum": 10600 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 237, "pos_bol": 10600, "pos_cnum": 10632 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 240, "pos_bol": 10680, "pos_cnum": 10684 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 240, "pos_bol": 10680, "pos_cnum": 10695 }, "loc_ghost": false }, "txt2": "decoder_nln" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "decoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 240, "pos_bol": 10680, "pos_cnum": 10698 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 240, "pos_bol": 10680, "pos_cnum": 10705 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "option", [ { "ptyp_desc": [ "Ptyp_constr", "nln", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 240, "pos_bol": 10680, "pos_cnum": 10709 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 240, "pos_bol": 10680, "pos_cnum": 10712 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 240, "pos_bol": 10680, "pos_cnum": 10709 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 240, "pos_bol": 10680, "pos_cnum": 10719 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 240, "pos_bol": 10680, "pos_cnum": 10698 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 240, "pos_bol": 10680, "pos_cnum": 10719 }, "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", " [decoder_nln d] returns [d]'s newline normalization (if any). ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 241, "pos_bol": 10720, "pos_cnum": 10720 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 241, "pos_bol": 10720, "pos_cnum": 10788 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 241, "pos_bol": 10720, "pos_cnum": 10720 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 241, "pos_bol": 10720, "pos_cnum": 10788 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 241, "pos_bol": 10720, "pos_cnum": 10720 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 241, "pos_bol": 10720, "pos_cnum": 10788 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 241, "pos_bol": 10720, "pos_cnum": 10720 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 241, "pos_bol": 10720, "pos_cnum": 10788 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 240, "pos_bol": 10680, "pos_cnum": 10680 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 240, "pos_bol": 10680, "pos_cnum": 10719 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 240, "pos_bol": 10680, "pos_cnum": 10680 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 240, "pos_bol": 10680, "pos_cnum": 10719 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 243, "pos_bol": 10790, "pos_cnum": 10794 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 243, "pos_bol": 10790, "pos_cnum": 10803 }, "loc_ghost": false }, "txt2": "pp_decode" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "Formatformatter", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 243, "pos_bol": 10790, "pos_cnum": 10806 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 243, "pos_bol": 10790, "pos_cnum": 10822 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10831 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10837 }, "loc_ghost": false }, "txt2": "Await" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10831 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10837 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10840 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10846 }, "loc_ghost": false }, "txt2": "Uchar" }, false, [ { "ptyp_desc": [ "Ptyp_constr", "Uchart", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10850 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10857 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10840 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10857 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10860 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10864 }, "loc_ghost": false }, "txt2": "End" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10860 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10864 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10867 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10877 }, "loc_ghost": false }, "txt2": "Malformed" }, false, [ { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10881 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10887 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10867 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10887 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10828 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10888 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "unit", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10892 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10896 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10828 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10896 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 243, "pos_bol": 10790, "pos_cnum": 10806 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10896 }, "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", " [pp_decode ppf v] prints an unspecified representation of [v] on\n [ppf]. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 245, "pos_bol": 10897, "pos_cnum": 10897 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 246, "pos_bol": 10966, "pos_cnum": 10979 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 245, "pos_bol": 10897, "pos_cnum": 10897 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 246, "pos_bol": 10966, "pos_cnum": 10979 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 245, "pos_bol": 10897, "pos_cnum": 10897 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 246, "pos_bol": 10966, "pos_cnum": 10979 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 245, "pos_bol": 10897, "pos_cnum": 10897 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 246, "pos_bol": 10966, "pos_cnum": 10979 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 243, "pos_bol": 10790, "pos_cnum": 10790 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10896 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 243, "pos_bol": 10790, "pos_cnum": 10790 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 244, "pos_bol": 10826, "pos_cnum": 10896 }, "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:encode Encode} ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 248, "pos_bol": 10981, "pos_cnum": 10981 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 248, "pos_bol": 10981, "pos_cnum": 11005 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 248, "pos_bol": 10981, "pos_cnum": 10981 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 248, "pos_bol": 10981, "pos_cnum": 11005 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 248, "pos_bol": 10981, "pos_cnum": 10981 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 248, "pos_bol": 10981, "pos_cnum": 11005 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 248, "pos_bol": 10981, "pos_cnum": 10981 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 248, "pos_bol": 10981, "pos_cnum": 11005 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 248, "pos_bol": 10981, "pos_cnum": 10981 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 248, "pos_bol": 10981, "pos_cnum": 11005 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11012 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11015 }, "loc_ghost": false }, "txt2": "dst" }, "ptype_params": [], "ptype_cstrs": [], "ptype_kind": [ "Ptype_abstract" ], "ptype_private": [ "Public" ], "ptype_manifest": { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11020 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11028 }, "loc_ghost": false }, "txt2": "Channel" }, false, [ { "ptyp_desc": [ "Ptyp_constr", "out_channel", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11032 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11043 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11020 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11043 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11046 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11053 }, "loc_ghost": false }, "txt2": "Buffer" }, false, [ { "ptyp_desc": [ "Ptyp_constr", "Buffert", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11057 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11065 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11046 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11065 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11068 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11075 }, "loc_ghost": false }, "txt2": "Manual" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11068 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11075 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], null ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11018 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11077 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "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 for output destinations. With a [`Manual] destination the client\n must provide output storage with {!Manual.dst}. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 251, "pos_bol": 11078, "pos_cnum": 11078 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 252, "pos_bol": 11156, "pos_cnum": 11210 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 251, "pos_bol": 11078, "pos_cnum": 11078 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 252, "pos_bol": 11156, "pos_cnum": 11210 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 251, "pos_bol": 11078, "pos_cnum": 11078 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 252, "pos_bol": 11156, "pos_cnum": 11210 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 251, "pos_bol": 11078, "pos_cnum": 11078 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 252, "pos_bol": 11156, "pos_cnum": 11210 }, "loc_ghost": false } } ], "ptype_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11007 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11077 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11007 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 250, "pos_bol": 11007, "pos_cnum": 11077 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 254, "pos_bol": 11212, "pos_cnum": 11217 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 254, "pos_bol": 11212, "pos_cnum": 11224 }, "loc_ghost": false }, "txt2": "encoder" }, "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 for Unicode encoders. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 255, "pos_bol": 11225, "pos_cnum": 11225 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 255, "pos_bol": 11225, "pos_cnum": 11262 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 255, "pos_bol": 11225, "pos_cnum": 11225 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 255, "pos_bol": 11225, "pos_cnum": 11262 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 255, "pos_bol": 11225, "pos_cnum": 11225 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 255, "pos_bol": 11225, "pos_cnum": 11262 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 255, "pos_bol": 11225, "pos_cnum": 11225 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 255, "pos_bol": 11225, "pos_cnum": 11262 }, "loc_ghost": false } } ], "ptype_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 254, "pos_bol": 11212, "pos_cnum": 11212 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 254, "pos_bol": 11212, "pos_cnum": 11224 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 254, "pos_bol": 11212, "pos_cnum": 11212 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 254, "pos_bol": 11212, "pos_cnum": 11224 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11268 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11275 }, "loc_ghost": false }, "txt2": "encoder" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rinherit", { "ptyp_desc": [ "Ptyp_constr", "encoding", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11281 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11289 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11281 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11289 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11278 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11290 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rinherit", { "ptyp_desc": [ "Ptyp_constr", "dst", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11297 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11300 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11297 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11300 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11294 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11301 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "encoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11305 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11312 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11294 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11312 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11278 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11312 }, "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", " [encoder encoding dst] is an encoder for [encoding] that outputs\n to [dst].\n\n {b Note.} No initial\n {{:http://unicode.org/glossary/#byte_order_mark}BOM}\n is encoded. If needed, this duty is left to the client. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 258, "pos_bol": 11313, "pos_cnum": 11313 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 263, "pos_bol": 11479, "pos_cnum": 11541 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 258, "pos_bol": 11313, "pos_cnum": 11313 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 263, "pos_bol": 11479, "pos_cnum": 11541 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 258, "pos_bol": 11313, "pos_cnum": 11313 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 263, "pos_bol": 11479, "pos_cnum": 11541 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 258, "pos_bol": 11313, "pos_cnum": 11313 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 263, "pos_bol": 11479, "pos_cnum": 11541 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11264 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11312 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11264 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 257, "pos_bol": 11264, "pos_cnum": 11312 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 265, "pos_bol": 11543, "pos_cnum": 11547 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 265, "pos_bol": 11543, "pos_cnum": 11553 }, "loc_ghost": false }, "txt2": "encode" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "encoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11558 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11565 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11571 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11577 }, "loc_ghost": false }, "txt2": "Await" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11571 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11577 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11580 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11584 }, "loc_ghost": false }, "txt2": "End" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11580 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11584 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11587 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11593 }, "loc_ghost": false }, "txt2": "Uchar" }, false, [ { "ptyp_desc": [ "Ptyp_constr", "Uchart", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11597 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11604 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11587 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11604 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11569 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11606 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11611 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11614 }, "loc_ghost": false }, "txt2": "Ok" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11611 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11614 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11617 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11625 }, "loc_ghost": false }, "txt2": "Partial" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11617 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11625 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], null ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11610 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11627 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11569 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11627 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11558 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11627 }, "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", " [encode e v] is :\n {ul\n {- [`Partial] iff [e] has a [`Manual] destination and needs more output\n storage. The client must use {!Manual.dst} to provide a new buffer\n and then call {!val-encode} with [`Await] until [`Ok] is returned.}\n {- [`Ok] when the encoder is ready to encode a new [`Uchar] or [`End]}}\n\n For [`Manual] destination, encoding [`End] always returns\n [`Partial], the client should continue as usual with [`Await]\n until [`Ok] is returned at which point {!Manual.dst_rem} [e] is\n guaranteed to be the size of the last provided buffer (i.e. nothing\n was written).\n\n {b Raises.} [Invalid_argument] if an [`Uchar] or [`End] is encoded\n after a [`Partial] encode. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 267, "pos_bol": 11628, "pos_cnum": 11628 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 281, "pos_bol": 12318, "pos_cnum": 12351 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 267, "pos_bol": 11628, "pos_cnum": 11628 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 281, "pos_bol": 12318, "pos_cnum": 12351 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 267, "pos_bol": 11628, "pos_cnum": 11628 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 281, "pos_bol": 12318, "pos_cnum": 12351 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 267, "pos_bol": 11628, "pos_cnum": 11628 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 281, "pos_bol": 12318, "pos_cnum": 12351 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 265, "pos_bol": 11543, "pos_cnum": 11543 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11627 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 265, "pos_bol": 11543, "pos_cnum": 11543 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 266, "pos_bol": 11556, "pos_cnum": 11627 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 283, "pos_bol": 12353, "pos_cnum": 12357 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 283, "pos_bol": 12353, "pos_cnum": 12373 }, "loc_ghost": false }, "txt2": "encoder_encoding" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "encoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 283, "pos_bol": 12353, "pos_cnum": 12376 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 283, "pos_bol": 12353, "pos_cnum": 12383 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "encoding", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 283, "pos_bol": 12353, "pos_cnum": 12387 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 283, "pos_bol": 12353, "pos_cnum": 12395 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 283, "pos_bol": 12353, "pos_cnum": 12376 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 283, "pos_bol": 12353, "pos_cnum": 12395 }, "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", " [encoder_encoding e] is [e]'s encoding. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 284, "pos_bol": 12396, "pos_cnum": 12396 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 284, "pos_bol": 12396, "pos_cnum": 12442 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 284, "pos_bol": 12396, "pos_cnum": 12396 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 284, "pos_bol": 12396, "pos_cnum": 12442 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 284, "pos_bol": 12396, "pos_cnum": 12396 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 284, "pos_bol": 12396, "pos_cnum": 12442 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 284, "pos_bol": 12396, "pos_cnum": 12396 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 284, "pos_bol": 12396, "pos_cnum": 12442 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 283, "pos_bol": 12353, "pos_cnum": 12353 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 283, "pos_bol": 12353, "pos_cnum": 12395 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 283, "pos_bol": 12353, "pos_cnum": 12353 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 283, "pos_bol": 12353, "pos_cnum": 12395 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 286, "pos_bol": 12444, "pos_cnum": 12448 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 286, "pos_bol": 12444, "pos_cnum": 12459 }, "loc_ghost": false }, "txt2": "encoder_dst" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "encoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 286, "pos_bol": 12444, "pos_cnum": 12462 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 286, "pos_bol": 12444, "pos_cnum": 12469 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "dst", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 286, "pos_bol": 12444, "pos_cnum": 12473 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 286, "pos_bol": 12444, "pos_cnum": 12476 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 286, "pos_bol": 12444, "pos_cnum": 12462 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 286, "pos_bol": 12444, "pos_cnum": 12476 }, "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", " [encoder_dst e] is [e]'s output destination. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 287, "pos_bol": 12477, "pos_cnum": 12477 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 287, "pos_bol": 12477, "pos_cnum": 12528 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 287, "pos_bol": 12477, "pos_cnum": 12477 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 287, "pos_bol": 12477, "pos_cnum": 12528 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 287, "pos_bol": 12477, "pos_cnum": 12477 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 287, "pos_bol": 12477, "pos_cnum": 12528 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 287, "pos_bol": 12477, "pos_cnum": 12477 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 287, "pos_bol": 12477, "pos_cnum": 12528 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 286, "pos_bol": 12444, "pos_cnum": 12444 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 286, "pos_bol": 12444, "pos_cnum": 12476 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 286, "pos_bol": 12444, "pos_cnum": 12444 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 286, "pos_bol": 12444, "pos_cnum": 12476 }, "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:manual Manual sources and destinations.} ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 289, "pos_bol": 12530, "pos_cnum": 12530 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 289, "pos_bol": 12530, "pos_cnum": 12580 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 289, "pos_bol": 12530, "pos_cnum": 12530 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 289, "pos_bol": 12530, "pos_cnum": 12580 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 289, "pos_bol": 12530, "pos_cnum": 12530 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 289, "pos_bol": 12530, "pos_cnum": 12580 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 289, "pos_bol": 12530, "pos_cnum": 12530 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 289, "pos_bol": 12530, "pos_cnum": 12580 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 289, "pos_bol": 12530, "pos_cnum": 12530 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 289, "pos_bol": 12530, "pos_cnum": 12580 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_module", { "pmd_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 294, "pos_bol": 12686, "pos_cnum": 12693 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 294, "pos_bol": 12686, "pos_cnum": 12699 }, "loc_ghost": false }, "txt2": "Manual" }, "pmd_type": { "pmty_desc": [ "Pmty_signature", [ { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12712 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12715 }, "loc_ghost": false }, "txt2": "src" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "decoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12718 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12725 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "Bytest", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12729 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12736 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12740 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12743 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12747 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12750 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "unit", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12754 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12758 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12747 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12758 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12740 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12758 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12729 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12758 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12718 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12758 }, "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", " [src d s j l] provides [d] with [l] bytes to read, starting at\n [j] in [s]. This byte range is read by calls to {!val-decode} with [d]\n until [`Await] is returned. To signal the end of input call the function\n with [l = 0]. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 296, "pos_bol": 12759, "pos_cnum": 12761 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 299, "pos_bol": 12984, "pos_cnum": 13006 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 296, "pos_bol": 12759, "pos_cnum": 12761 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 299, "pos_bol": 12984, "pos_cnum": 13006 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 296, "pos_bol": 12759, "pos_cnum": 12761 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 299, "pos_bol": 12984, "pos_cnum": 13006 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 296, "pos_bol": 12759, "pos_cnum": 12761 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 299, "pos_bol": 12984, "pos_cnum": 13006 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12708 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12758 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12708 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 295, "pos_bol": 12706, "pos_cnum": 12758 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13014 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13017 }, "loc_ghost": false }, "txt2": "dst" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "encoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13020 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13027 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "Bytest", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13031 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13038 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13042 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13045 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13049 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13052 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "unit", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13056 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13060 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13049 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13060 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13042 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13060 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13031 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13060 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13020 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13060 }, "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", " [dst e s j l] provides [e] with [l] bytes to write, starting\n at [j] in [s]. This byte range is written by calls to\n {!val-encode} with [e] until [`Partial] is returned. Use {!dst_rem} to\n know the remaining number of non-written free bytes in [s]. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 302, "pos_bol": 13061, "pos_cnum": 13063 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 305, "pos_bol": 13265, "pos_cnum": 13333 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 302, "pos_bol": 13061, "pos_cnum": 13063 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 305, "pos_bol": 13265, "pos_cnum": 13333 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 302, "pos_bol": 13061, "pos_cnum": 13063 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 305, "pos_bol": 13265, "pos_cnum": 13333 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 302, "pos_bol": 13061, "pos_cnum": 13063 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 305, "pos_bol": 13265, "pos_cnum": 13333 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13010 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13060 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13010 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 301, "pos_bol": 13008, "pos_cnum": 13060 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 307, "pos_bol": 13335, "pos_cnum": 13341 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 307, "pos_bol": 13335, "pos_cnum": 13348 }, "loc_ghost": false }, "txt2": "dst_rem" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "encoder", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 307, "pos_bol": 13335, "pos_cnum": 13351 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 307, "pos_bol": 13335, "pos_cnum": 13358 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 307, "pos_bol": 13335, "pos_cnum": 13362 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 307, "pos_bol": 13335, "pos_cnum": 13365 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 307, "pos_bol": 13335, "pos_cnum": 13351 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 307, "pos_bol": 13335, "pos_cnum": 13365 }, "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", " [dst_rem e] is the remaining number of non-written, free bytes\n in the last buffer provided with {!Manual.dst}. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 308, "pos_bol": 13366, "pos_cnum": 13368 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 309, "pos_bol": 13435, "pos_cnum": 13491 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 308, "pos_bol": 13366, "pos_cnum": 13368 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 309, "pos_bol": 13435, "pos_cnum": 13491 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 308, "pos_bol": 13366, "pos_cnum": 13368 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 309, "pos_bol": 13435, "pos_cnum": 13491 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 308, "pos_bol": 13366, "pos_cnum": 13368 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 309, "pos_bol": 13435, "pos_cnum": 13491 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 307, "pos_bol": 13335, "pos_cnum": 13337 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 307, "pos_bol": 13335, "pos_cnum": 13365 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 307, "pos_bol": 13335, "pos_cnum": 13337 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 307, "pos_bol": 13335, "pos_cnum": 13365 }, "loc_ghost": false } } ] ], "pmty_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 294, "pos_bol": 12686, "pos_cnum": 12702 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 310, "pos_bol": 13492, "pos_cnum": 13495 }, "loc_ghost": false }, "pmty_attributes": [] }, "pmd_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", " Manual sources and destinations.\n\n {b Warning.} Use only with [`Manual] decoder and encoders. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 291, "pos_bol": 12582, "pos_cnum": 12582 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 293, "pos_bol": 12620, "pos_cnum": 12685 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 291, "pos_bol": 12582, "pos_cnum": 12582 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 293, "pos_bol": 12620, "pos_cnum": 12685 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 291, "pos_bol": 12582, "pos_cnum": 12582 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 293, "pos_bol": 12620, "pos_cnum": 12685 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 291, "pos_bol": 12582, "pos_cnum": 12582 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 293, "pos_bol": 12620, "pos_cnum": 12685 }, "loc_ghost": false } } ], "pmd_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 294, "pos_bol": 12686, "pos_cnum": 12686 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 310, "pos_bol": 13492, "pos_cnum": 13495 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 294, "pos_bol": 12686, "pos_cnum": 12686 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 310, "pos_bol": 13492, "pos_cnum": 13495 }, "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:strbuf String folders and Buffer encoders} ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 312, "pos_bol": 13497, "pos_cnum": 13497 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 312, "pos_bol": 13497, "pos_cnum": 13549 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 312, "pos_bol": 13497, "pos_cnum": 13497 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 312, "pos_bol": 13497, "pos_cnum": 13549 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 312, "pos_bol": 13497, "pos_cnum": 13497 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 312, "pos_bol": 13497, "pos_cnum": 13549 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 312, "pos_bol": 13497, "pos_cnum": 13497 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 312, "pos_bol": 13497, "pos_cnum": 13549 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 312, "pos_bol": 13497, "pos_cnum": 13497 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 312, "pos_bol": 13497, "pos_cnum": 13549 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_module", { "pmd_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 318, "pos_bol": 13745, "pos_cnum": 13752 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 318, "pos_bol": 13745, "pos_cnum": 13758 }, "loc_ghost": false }, "txt2": "String" }, "pmd_type": { "pmty_desc": [ "Pmty_signature", [ { "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 Encoding guess} ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 320, "pos_bol": 13766, "pos_cnum": 13766 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 320, "pos_bol": 13766, "pos_cnum": 13791 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 320, "pos_bol": 13766, "pos_cnum": 13766 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 320, "pos_bol": 13766, "pos_cnum": 13791 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 320, "pos_bol": 13766, "pos_cnum": 13766 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 320, "pos_bol": 13766, "pos_cnum": 13791 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 320, "pos_bol": 13766, "pos_cnum": 13766 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 320, "pos_bol": 13766, "pos_cnum": 13791 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 320, "pos_bol": 13766, "pos_cnum": 13766 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 320, "pos_bol": 13766, "pos_cnum": 13791 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13799 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13813 }, "loc_ghost": false }, "txt2": "encoding_guess" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13816 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13822 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_tuple", [ { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13828 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13834 }, "loc_ghost": false }, "txt2": "UTF_8" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13828 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13834 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13837 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13846 }, "loc_ghost": false }, "txt2": "UTF_16BE" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13837 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13846 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13849 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13858 }, "loc_ghost": false }, "txt2": "UTF_16LE" }, true, [] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13849 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13858 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], null ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13826 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13860 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "bool", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13863 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13867 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13826 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13867 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13816 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13867 }, "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", " [encoding_guess s] is the encoding guessed for [s] coupled with\n [true] iff there's an initial\n {{:http://unicode.org/glossary/#byte_order_mark}BOM}. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 323, "pos_bol": 13868, "pos_cnum": 13870 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 325, "pos_bol": 13974, "pos_cnum": 14036 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 323, "pos_bol": 13868, "pos_cnum": 13870 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 325, "pos_bol": 13974, "pos_cnum": 14036 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 323, "pos_bol": 13868, "pos_cnum": 13870 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 325, "pos_bol": 13974, "pos_cnum": 14036 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 323, "pos_bol": 13868, "pos_cnum": 13870 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 325, "pos_bol": 13974, "pos_cnum": 14036 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13795 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13867 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13795 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 322, "pos_bol": 13793, "pos_cnum": 13867 }, "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 folders}\n\n {b Note.} Initial {{:http://unicode.org/glossary/#byte_order_mark}BOM}s\n are also folded over. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 327, "pos_bol": 14038, "pos_cnum": 14038 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 330, "pos_bol": 14138, "pos_cnum": 14166 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 327, "pos_bol": 14038, "pos_cnum": 14038 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 330, "pos_bol": 14138, "pos_cnum": 14166 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 327, "pos_bol": 14038, "pos_cnum": 14038 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 330, "pos_bol": 14138, "pos_cnum": 14166 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 327, "pos_bol": 14038, "pos_cnum": 14038 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 330, "pos_bol": 14138, "pos_cnum": 14166 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 327, "pos_bol": 14038, "pos_cnum": 14038 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 330, "pos_bol": 14138, "pos_cnum": 14166 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_type", [ "Recursive" ], [ { "ptype_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14178 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14184 }, "loc_ghost": false }, "txt2": "folder" }, "ptype_params": [ [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14175 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14177 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, [ [ "NoVariance" ], [ "NoInjectivity" ] ] ] ], "ptype_cstrs": [], "ptype_kind": [ "Ptype_abstract" ], "ptype_private": [ "Public" ], "ptype_manifest": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14187 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14189 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14193 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14196 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_variant", [ { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14202 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14208 }, "loc_ghost": false }, "txt2": "Uchar" }, false, [ { "ptyp_desc": [ "Ptyp_constr", "Uchart", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14212 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14219 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14202 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14219 }, "loc_ghost": false }, "prf_attributes": [] }, { "prf_desc": [ "Rtag", { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14222 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14232 }, "loc_ghost": false }, "txt2": "Malformed" }, false, [ { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14236 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14242 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "prf_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14222 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14242 }, "loc_ghost": false }, "prf_attributes": [] } ], [ "Closed" ], null ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14200 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14244 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 333, "pos_bol": 14248, "pos_cnum": 14252 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 333, "pos_bol": 14248, "pos_cnum": 14254 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14200 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 333, "pos_bol": 14248, "pos_cnum": 14254 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14193 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 333, "pos_bol": 14248, "pos_cnum": 14254 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14187 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 333, "pos_bol": 14248, "pos_cnum": 14254 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, "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 for character folders. The integer is the index in the\n string where the [`Uchar] or [`Malformed] starts. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 334, "pos_bol": 14255, "pos_cnum": 14257 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 335, "pos_bol": 14325, "pos_cnum": 14383 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 334, "pos_bol": 14255, "pos_cnum": 14257 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 335, "pos_bol": 14325, "pos_cnum": 14383 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 334, "pos_bol": 14255, "pos_cnum": 14257 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 335, "pos_bol": 14325, "pos_cnum": 14383 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 334, "pos_bol": 14255, "pos_cnum": 14257 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 335, "pos_bol": 14325, "pos_cnum": 14383 }, "loc_ghost": false } } ], "ptype_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14170 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 333, "pos_bol": 14248, "pos_cnum": 14254 }, "loc_ghost": false } } ] ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 332, "pos_bol": 14168, "pos_cnum": 14170 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 333, "pos_bol": 14248, "pos_cnum": 14254 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14391 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14401 }, "loc_ghost": false }, "txt2": "fold_utf_8" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Optional", "pos" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14409 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14412 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Optional", "len" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14421 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14424 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "folder", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14428 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14430 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14428 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14437 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14441 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14443 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14447 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14453 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14457 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14459 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14447 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14459 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14441 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14459 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14428 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14459 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14416 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14459 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14404 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14459 }, "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", " [fold_utf_8 f a s ?pos ?len ()] is\n [f (] ... [(f (f a pos u]{_0}[) j]{_1}[ u]{_1}[)] ... [)] ... [)\n j]{_n}[ u]{_n}\n where [u]{_i}, [j]{_i} are characters and their start position\n in the UTF-8 encoded substring [s] starting at [pos] and [len]\n long. The default value for [pos] is [0] and [len] is\n [String.length s - pos]. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 338, "pos_bol": 14460, "pos_cnum": 14462 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 344, "pos_bol": 14791, "pos_cnum": 14824 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 338, "pos_bol": 14460, "pos_cnum": 14462 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 344, "pos_bol": 14791, "pos_cnum": 14824 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 338, "pos_bol": 14460, "pos_cnum": 14462 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 344, "pos_bol": 14791, "pos_cnum": 14824 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 338, "pos_bol": 14460, "pos_cnum": 14462 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 344, "pos_bol": 14791, "pos_cnum": 14824 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14387 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14459 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14387 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 337, "pos_bol": 14385, "pos_cnum": 14459 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14832 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14845 }, "loc_ghost": false }, "txt2": "fold_utf_16be" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Optional", "pos" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14853 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14856 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Optional", "len" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14865 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14868 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "folder", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14872 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14874 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14872 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14881 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14885 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14887 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14891 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14897 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14901 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14903 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14891 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14903 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14885 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14903 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14872 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14903 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14860 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14903 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14848 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14903 }, "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", " [fold_utf_16be f a s ?pos ?len ()] is\n [f (] ... [(f (f a pos u]{_0}[) j]{_1}[ u]{_1}[)] ... [)] ... [)\n j]{_n}[ u]{_n}\n where [u]{_i}, [j]{_i} are characters and their start position\n in the UTF-8 encoded substring [s] starting at [pos] and [len]\n long. The default value for [pos] is [0] and [len] is\n [String.length s - pos]. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 347, "pos_bol": 14904, "pos_cnum": 14906 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 353, "pos_bol": 15238, "pos_cnum": 15271 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 347, "pos_bol": 14904, "pos_cnum": 14906 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 353, "pos_bol": 15238, "pos_cnum": 15271 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 347, "pos_bol": 14904, "pos_cnum": 14906 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 353, "pos_bol": 15238, "pos_cnum": 15271 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 347, "pos_bol": 14904, "pos_cnum": 14906 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 353, "pos_bol": 15238, "pos_cnum": 15271 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14828 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14903 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14828 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 346, "pos_bol": 14826, "pos_cnum": 14903 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15279 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15292 }, "loc_ghost": false }, "txt2": "fold_utf_16le" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Optional", "pos" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15300 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15303 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Optional", "len" ], { "ptyp_desc": [ "Ptyp_constr", "int", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15312 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15315 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "folder", [ { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15319 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15321 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15319 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15328 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15332 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15334 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "string", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15338 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15344 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_var", "a" ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15348 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15350 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15338 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15350 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15332 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15350 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15319 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15350 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15307 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15350 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15295 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15350 }, "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", " [fold_utf_16le f a s ?pos ?len ()] is\n [f (] ... [(f (f a pos u]{_0}[) j]{_1}[ u]{_1}[)] ... [)] ... [)\n j]{_n}[ u]{_n}\n where [u]{_i}, [j]{_i} are characters and their start position\n in the UTF-8 encoded substring [s] starting at [pos] and [len]\n long. The default value for [pos] is [0] and [len] is\n [String.length s - pos]. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 356, "pos_bol": 15351, "pos_cnum": 15353 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 362, "pos_bol": 15685, "pos_cnum": 15718 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 356, "pos_bol": 15351, "pos_cnum": 15353 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 362, "pos_bol": 15685, "pos_cnum": 15718 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 356, "pos_bol": 15351, "pos_cnum": 15353 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 362, "pos_bol": 15685, "pos_cnum": 15718 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 356, "pos_bol": 15351, "pos_cnum": 15353 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 362, "pos_bol": 15685, "pos_cnum": 15718 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15275 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15350 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15275 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 355, "pos_bol": 15273, "pos_cnum": 15350 }, "loc_ghost": false } } ] ], "pmty_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 318, "pos_bol": 13745, "pos_cnum": 13761 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 363, "pos_bol": 15719, "pos_cnum": 15722 }, "loc_ghost": false }, "pmty_attributes": [] }, "pmd_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", " Fold over the characters of UTF encoded OCaml [string] values.\n\n {b Note.} Since OCaml 4.14, UTF decoders are available in\n {!Stdlib.String}. You are encouraged to migrate to them. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 314, "pos_bol": 13551, "pos_cnum": 13551 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 317, "pos_bol": 13681, "pos_cnum": 13744 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 314, "pos_bol": 13551, "pos_cnum": 13551 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 317, "pos_bol": 13681, "pos_cnum": 13744 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 314, "pos_bol": 13551, "pos_cnum": 13551 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 317, "pos_bol": 13681, "pos_cnum": 13744 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 314, "pos_bol": 13551, "pos_cnum": 13551 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 317, "pos_bol": 13681, "pos_cnum": 13744 }, "loc_ghost": false } } ], "pmd_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 318, "pos_bol": 13745, "pos_cnum": 13745 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 363, "pos_bol": 15719, "pos_cnum": 15722 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 318, "pos_bol": 13745, "pos_cnum": 13745 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 363, "pos_bol": 15719, "pos_cnum": 15722 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_module", { "pmd_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 369, "pos_bol": 15911, "pos_cnum": 15918 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 369, "pos_bol": 15911, "pos_cnum": 15924 }, "loc_ghost": false }, "txt2": "Buffer" }, "pmd_type": { "pmty_desc": [ "Pmty_signature", [ { "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 Buffer encoders} ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 371, "pos_bol": 15932, "pos_cnum": 15934 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 371, "pos_bol": 15932, "pos_cnum": 15960 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 371, "pos_bol": 15932, "pos_cnum": 15934 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 371, "pos_bol": 15932, "pos_cnum": 15960 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 371, "pos_bol": 15932, "pos_cnum": 15934 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 371, "pos_bol": 15932, "pos_cnum": 15960 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 371, "pos_bol": 15932, "pos_cnum": 15934 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 371, "pos_bol": 15932, "pos_cnum": 15960 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 371, "pos_bol": 15932, "pos_cnum": 15934 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 371, "pos_bol": 15932, "pos_cnum": 15960 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 15968 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 15977 }, "loc_ghost": false }, "txt2": "add_utf_8" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "Buffert", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 15980 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 15988 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "Uchart", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 15992 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 15999 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "unit", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 16003 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 16007 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 15992 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 16007 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 15980 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 16007 }, "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", " [add_utf_8 b u] adds the UTF-8 encoding of [u] to [b]. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 374, "pos_bol": 16008, "pos_cnum": 16010 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 374, "pos_bol": 16008, "pos_cnum": 16071 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 374, "pos_bol": 16008, "pos_cnum": 16010 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 374, "pos_bol": 16008, "pos_cnum": 16071 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 374, "pos_bol": 16008, "pos_cnum": 16010 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 374, "pos_bol": 16008, "pos_cnum": 16071 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 374, "pos_bol": 16008, "pos_cnum": 16010 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 374, "pos_bol": 16008, "pos_cnum": 16071 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 15964 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 16007 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 15964 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 373, "pos_bol": 15962, "pos_cnum": 16007 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16079 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16091 }, "loc_ghost": false }, "txt2": "add_utf_16be" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "Buffert", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16094 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16102 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "Uchart", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16106 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16113 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "unit", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16117 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16121 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16106 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16121 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16094 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16121 }, "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", " [add_utf_16be b u] adds the UTF-16BE encoding of [u] to [b]. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 377, "pos_bol": 16122, "pos_cnum": 16124 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 377, "pos_bol": 16122, "pos_cnum": 16191 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 377, "pos_bol": 16122, "pos_cnum": 16124 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 377, "pos_bol": 16122, "pos_cnum": 16191 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 377, "pos_bol": 16122, "pos_cnum": 16124 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 377, "pos_bol": 16122, "pos_cnum": 16191 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 377, "pos_bol": 16122, "pos_cnum": 16124 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 377, "pos_bol": 16122, "pos_cnum": 16191 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16075 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16121 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16075 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 376, "pos_bol": 16073, "pos_cnum": 16121 }, "loc_ghost": false } }, { "psig_desc": [ "Psig_value", { "pval_name": { "loc2": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16199 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16211 }, "loc_ghost": false }, "txt2": "add_utf_16le" }, "pval_type": { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "Buffert", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16214 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16222 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_arrow", [ "Nolabel" ], { "ptyp_desc": [ "Ptyp_constr", "Uchart", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16226 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16233 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] }, { "ptyp_desc": [ "Ptyp_constr", "unit", [] ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16237 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16241 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16226 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16241 }, "loc_ghost": false }, "ptyp_loc_stack": [], "ptyp_attributes": [] } ], "ptyp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16214 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16241 }, "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", " [add_utf_16le b u] adds the UTF-16LE encoding of [u] to [b]. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 380, "pos_bol": 16242, "pos_cnum": 16244 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 380, "pos_bol": 16242, "pos_cnum": 16311 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 380, "pos_bol": 16242, "pos_cnum": 16244 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 380, "pos_bol": 16242, "pos_cnum": 16311 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 380, "pos_bol": 16242, "pos_cnum": 16244 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 380, "pos_bol": 16242, "pos_cnum": 16311 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 380, "pos_bol": 16242, "pos_cnum": 16244 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 380, "pos_bol": 16242, "pos_cnum": 16311 }, "loc_ghost": false } } ], "pval_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16195 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16241 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16195 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 379, "pos_bol": 16193, "pos_cnum": 16241 }, "loc_ghost": false } } ] ], "pmty_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 369, "pos_bol": 15911, "pos_cnum": 15927 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 381, "pos_bol": 16312, "pos_cnum": 16315 }, "loc_ghost": false }, "pmty_attributes": [] }, "pmd_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", " UTF encode characters in OCaml {!Buffer.t} values.\n\n {b Note.} Since OCaml 4.06, these encoders are available in\n {!Stdlib.Buffer}. You are encouraged to migrate to them. ", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 365, "pos_bol": 15724, "pos_cnum": 15724 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 368, "pos_bol": 15846, "pos_cnum": 15910 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 365, "pos_bol": 15724, "pos_cnum": 15724 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 368, "pos_bol": 15846, "pos_cnum": 15910 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 365, "pos_bol": 15724, "pos_cnum": 15724 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 368, "pos_bol": 15846, "pos_cnum": 15910 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 365, "pos_bol": 15724, "pos_cnum": 15724 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 368, "pos_bol": 15846, "pos_cnum": 15910 }, "loc_ghost": false } } ], "pmd_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 369, "pos_bol": 15911, "pos_cnum": 15911 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 381, "pos_bol": 16312, "pos_cnum": 16315 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 369, "pos_bol": 15911, "pos_cnum": 15911 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 381, "pos_bol": 16312, "pos_cnum": 16315 }, "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:examples Examples}\n\n {2:readlines Read lines}\n\n The value of [lines src] is the list of lines in [src] as UTF-8\n encoded OCaml strings. Line breaks are determined according to the\n recommendation R4 for a [readline] function in section 5.8 of\n Unicode 9.0.0. If a decoding error occurs we silently replace the\n malformed sequence by the replacement character {!u_rep} and continue.\n{[let lines ?encoding (src : [`Channel of in_channel | `String of string]) =\n let rec loop d buf acc = match Uutf.decode d with\n | `Uchar u ->\n begin match Uchar.to_int u with\n | 0x000A ->\n let line = Buffer.contents buf in\n Buffer.clear buf; loop d buf (line :: acc)\n | _ ->\n Uutf.Buffer.add_utf_8 buf u; loop d buf acc\n end\n | `End -> List.rev (Buffer.contents buf :: acc)\n | `Malformed _ -> Uutf.Buffer.add_utf_8 buf Uutf.u_rep; loop d buf acc\n | `Await -> assert false\n in\n let nln = `Readline (Uchar.of_int 0x000A) in\n loop (Uutf.decoder ~nln ?encoding src) (Buffer.create 512) []\n]}\n Using the [`Manual] interface, [lines_fd] does the same but on a Unix file\n descriptor.\n{[let lines_fd ?encoding (fd : Unix.file_descr) =\n let rec loop fd s d buf acc = match Uutf.decode d with\n | `Uchar u ->\n begin match Uchar.to_int u with\n | 0x000A ->\n let line = Buffer.contents buf in\n Buffer.clear buf; loop fd s d buf (line :: acc)\n | _ ->\n Uutf.Buffer.add_utf_8 buf u; loop fd s d buf acc\n end\n | `End -> List.rev (Buffer.contents buf :: acc)\n | `Malformed _ -> Uutf.Buffer.add_utf_8 buf Uutf.u_rep; loop fd s d buf acc\n | `Await ->\n let rec unix_read fd s j l = try Unix.read fd s j l with\n | Unix.Unix_error (Unix.EINTR, _, _) -> unix_read fd s j l\n in\n let rc = unix_read fd s 0 (Bytes.length s) in\n Uutf.Manual.src d s 0 rc; loop fd s d buf acc\n in\n let s = Bytes.create 65536 (* UNIX_BUFFER_SIZE in 4.0.0 *) in\n let nln = `Readline (Uchar.of_int 0x000A) in\n loop fd s (Uutf.decoder ~nln ?encoding `Manual) (Buffer.create 512) []\n]}\n\n {2:recode Recode}\n\n The result of [recode src out_encoding dst] has the characters of\n [src] written on [dst] with encoding [out_encoding]. If a\n decoding error occurs we silently replace the malformed sequence\n by the replacement character {!u_rep} and continue. Note that we\n don't add an initial\n {{:http://unicode.org/glossary/#byte_order_mark}BOM} to [dst],\n recoding will thus loose the initial BOM [src] may have. Whether\n this is a problem or not depends on the context.\n{[let recode ?nln ?encoding out_encoding\n (src : [`Channel of in_channel | `String of string])\n (dst : [`Channel of out_channel | `Buffer of Buffer.t])\n =\n let rec loop d e = match Uutf.decode d with\n | `Uchar _ as u -> ignore (Uutf.encode e u); loop d e\n | `End -> ignore (Uutf.encode e `End)\n | `Malformed _ -> ignore (Uutf.encode e (`Uchar Uutf.u_rep)); loop d e\n | `Await -> assert false\n in\n let d = Uutf.decoder ?nln ?encoding src in\n let e = Uutf.encoder out_encoding dst in\n loop d e]}\n Using the [`Manual] interface, [recode_fd] does the same but between\n Unix file descriptors.\n{[let recode_fd ?nln ?encoding out_encoding\n (fdi : Unix.file_descr)\n (fdo : Unix.file_descr)\n =\n let rec encode fd s e v = match Uutf.encode e v with `Ok -> ()\n | `Partial ->\n let rec unix_write fd s j l =\n let rec write fd s j l = try Unix.single_write fd s j l with\n | Unix.Unix_error (Unix.EINTR, _, _) -> write fd s j l\n in\n let wc = write fd s j l in\n if wc < l then unix_write fd s (j + wc) (l - wc) else ()\n in\n unix_write fd s 0 (Bytes.length s - Uutf.Manual.dst_rem e);\n Uutf.Manual.dst e s 0 (Bytes.length s);\n encode fd s e `Await\n in\n let rec loop fdi fdo ds es d e = match Uutf.decode d with\n | `Uchar _ as u -> encode fdo es e u; loop fdi fdo ds es d e\n | `End -> encode fdo es e `End\n | `Malformed _ -> encode fdo es e (`Uchar Uutf.u_rep); loop fdi fdo ds es d e\n | `Await ->\n let rec unix_read fd s j l = try Unix.read fd s j l with\n | Unix.Unix_error (Unix.EINTR, _, _) -> unix_read fd s j l\n in\n let rc = unix_read fdi ds 0 (Bytes.length ds) in\n Uutf.Manual.src d ds 0 rc; loop fdi fdo ds es d e\n in\n let ds = Bytes.create 65536 (* UNIX_BUFFER_SIZE in 4.0.0 *) in\n let es = Bytes.create 65536 (* UNIX_BUFFER_SIZE in 4.0.0 *) in\n let d = Uutf.decoder ?nln ?encoding `Manual in\n let e = Uutf.encoder out_encoding `Manual in\n Uutf.Manual.dst e es 0 (Bytes.length es);\n loop fdi fdo ds es d e]}\n", { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 383, "pos_bol": 16317, "pos_cnum": 16317 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 494, "pos_bol": 20930, "pos_cnum": 20932 }, "loc_ghost": false }, null ] ], "pexp_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 383, "pos_bol": 16317, "pos_cnum": 16317 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 494, "pos_bol": 20930, "pos_cnum": 20932 }, "loc_ghost": false }, "pexp_loc_stack": [], "pexp_attributes": [] }, [] ], "pstr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 383, "pos_bol": 16317, "pos_cnum": 16317 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 494, "pos_bol": 20930, "pos_cnum": 20932 }, "loc_ghost": false } } ] ], "attr_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 383, "pos_bol": 16317, "pos_cnum": 16317 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 494, "pos_bol": 20930, "pos_cnum": 20932 }, "loc_ghost": false } } ], "psig_loc": { "loc_start": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 383, "pos_bol": 16317, "pos_cnum": 16317 }, "loc_end": { "pos_fname": "./_opam/lib/uutf/uutf.mli", "pos_lnum": 494, "pos_bol": 20930, "pos_cnum": 20932 }, "loc_ghost": false } } ]