/usr/share/doc/libtyxml-ocaml-dev/api/Xhtmlsyntax.Parser5.html is in libtyxml-ocaml-doc 3.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Xhtmlsyntax.Parser.html">
<link rel="next" href="Xhtmlsyntax.ParserSvg.html">
<link rel="Up" href="Xhtmlsyntax.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Xml" rel="Chapter" href="Xml.html">
<link title="Xhtml" rel="Chapter" href="Xhtml.html">
<link title="Svg" rel="Chapter" href="Svg.html">
<link title="Html5" rel="Chapter" href="Html5.html">
<link title="Xml_iter" rel="Chapter" href="Xml_iter.html">
<link title="Xml_sigs" rel="Chapter" href="Xml_sigs.html">
<link title="Xml_wrap" rel="Chapter" href="Xml_wrap.html">
<link title="Xml_print" rel="Chapter" href="Xml_print.html">
<link title="Xhtml_sigs" rel="Chapter" href="Xhtml_sigs.html">
<link title="Xhtml_types" rel="Chapter" href="Xhtml_types.html">
<link title="Xhtml_f" rel="Chapter" href="Xhtml_f.html">
<link title="Svg_sigs" rel="Chapter" href="Svg_sigs.html">
<link title="Svg_types" rel="Chapter" href="Svg_types.html">
<link title="Svg_f" rel="Chapter" href="Svg_f.html">
<link title="Html5_sigs" rel="Chapter" href="Html5_sigs.html">
<link title="Html5_types" rel="Chapter" href="Html5_types.html">
<link title="Html5_f" rel="Chapter" href="Html5_f.html">
<link title="Simplexmlparser" rel="Chapter" href="Simplexmlparser.html">
<link title="Xmllexer" rel="Chapter" href="Xmllexer.html">
<link title="Basic_types" rel="Chapter" href="Basic_types.html">
<link title="Camllexer" rel="Chapter" href="Camllexer.html">
<link title="Xhtmlparser" rel="Chapter" href="Xhtmlparser.html">
<link title="Xhtmlsyntax" rel="Chapter" href="Xhtmlsyntax.html"><title>Xhtmlsyntax.Parser5</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Xhtmlsyntax.Parser.html" title="Xhtmlsyntax.Parser">Previous</a>
<a class="up" href="Xhtmlsyntax.html" title="Xhtmlsyntax">Up</a>
<a class="post" href="Xhtmlsyntax.ParserSvg.html" title="Xhtmlsyntax.ParserSvg">Next</a>
</div>
<h1>Module <a href="type_Xhtmlsyntax.Parser5.html">Xhtmlsyntax.Parser5</a></h1>
<pre><span class="keyword">module</span> Parser5: <code class="type"><a href="Xhtmlparser.Make.html">Xhtmlparser.Make</a></code><code class="code">(</code><code class="type">Camlp4.PreCast.Syntax</code><code class="code">)</code><code class="code">(</code><code class="code"><span class="keyword">sig</span></code><div class="sig_block">
<pre><span id="VALxml_encodedpcdata"><span class="keyword">val</span> xml_encodedpcdata</span> : <code class="type">Camlp4.PreCast.Ast.loc -> Camlp4.PreCast.Ast.expr</code></pre>
<pre><span id="VALxml_pcdata"><span class="keyword">val</span> xml_pcdata</span> : <code class="type">Camlp4.PreCast.Ast.loc -> Camlp4.PreCast.Ast.expr</code></pre>
<pre><span id="VALxml_comment"><span class="keyword">val</span> xml_comment</span> : <code class="type">Camlp4.PreCast.Ast.loc -> Camlp4.PreCast.Ast.expr</code></pre>
<pre><span id="VALxml_node"><span class="keyword">val</span> xml_node</span> : <code class="type">Camlp4.PreCast.Ast.loc -> Camlp4.PreCast.Ast.expr</code></pre>
<pre><span id="VALxml_string_attrib"><span class="keyword">val</span> xml_string_attrib</span> : <code class="type">Camlp4.PreCast.Ast.loc -> Camlp4.PreCast.Ast.expr</code></pre>
<pre><span id="VALtot"><span class="keyword">val</span> tot</span> : <code class="type">Camlp4.PreCast.Ast.loc -> Camlp4.PreCast.Ast.expr</code></pre>
<pre><span id="VALtoeltl"><span class="keyword">val</span> toeltl</span> : <code class="type">Camlp4.PreCast.Ast.loc -> Camlp4.PreCast.Ast.expr</code></pre>
<pre><span id="VALto_xmlattribs"><span class="keyword">val</span> to_xmlattribs</span> : <code class="type">Camlp4.PreCast.Ast.loc -> Camlp4.PreCast.Ast.expr</code></pre>
<pre><span id="VALto_attrib"><span class="keyword">val</span> to_attrib</span> : <code class="type">Camlp4.PreCast.Ast.loc -> Camlp4.PreCast.Ast.expr</code></pre>
<pre><span id="VALmake_type"><span class="keyword">val</span> make_type</span> : <code class="type">Camlp4.PreCast.Ast.loc -> string -> Camlp4.PreCast.Ast.ctyp</code></pre>
<pre><span id="VALmake_content_type"><span class="keyword">val</span> make_content_type</span> : <code class="type">Camlp4.PreCast.Ast.loc -> string -> Camlp4.PreCast.Ast.ctyp</code></pre>
<pre><span id="VALmake_attrib_type"><span class="keyword">val</span> make_attrib_type</span> : <code class="type">Camlp4.PreCast.Ast.loc -> string -> Camlp4.PreCast.Ast.ctyp</code></pre>
<pre><span id="VALmake_attribs_type"><span class="keyword">val</span> make_attribs_type</span> : <code class="type">Camlp4.PreCast.Ast.loc -> string -> Camlp4.PreCast.Ast.ctyp</code></pre></div><code class="code"><span class="keyword">end</span></code><code class="code">)</code></pre><hr width="100%">
<pre><span class="keyword">module</span> <a href="Xhtmlparser.Make.Xmllexer.html">Xmllexer</a>: <code class="type"><a href="Xmllexer.Make.html">Xmllexer.Make</a></code><code class="code">(</code><code class="type"><a href="Xhtmlparser.LexerArg.html">Xhtmlparser.LexerArg</a></code><code class="code">)</code></pre>
<pre><code><span id="TYPEstate"><span class="keyword">type</span> <code class="type"></code>state</span> = {</code></pre><table class="typetable">
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTstate.stream">stream</span> : <code class="type">(<a href="Xhtmlparser.LexerArg.html#TYPEtoken">Xhtmlparser.LexerArg.token</a> * Camlp4.PreCast.Loc.t) Stream.t</code>;</code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTstate.stack">stack</span> : <code class="type"><a href="Xhtmlparser.LexerArg.html#TYPEtoken">Xhtmlparser.LexerArg.token</a> Stack.t</code>;</code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code> </code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTstate.loc">loc</span> : <code class="type">Camlp4.PreCast.Loc.t</code>;</code></td>
</tr></table>
}
<pre><span id="EXCEPTIONCamlListExc"><span class="keyword">exception</span> CamlListExc</span> <span class="keyword">of</span> <code class="type">string</code></pre>
<pre><span class="keyword">module</span> <a href="Xhtmlparser.Make.Error.html">Error</a>: <code class="code"><span class="keyword">sig</span></code> <a href="Xhtmlparser.Make.Error.html">..</a> <code class="code"><span class="keyword">end</span></code></pre>
<pre><span id="VALerr"><span class="keyword">val</span> err</span> : <code class="type"><a href="Xhtmlparser.Make.Error.html#TYPEt">Error.t</a> -> Camlp4.PreCast.Loc.t -> 'a</code></pre>
<pre><span id="VALpop"><span class="keyword">val</span> pop</span> : <code class="type"><a href="Xhtmlparser.Make.html#TYPEstate">state</a> -> <a href="Xhtmlparser.LexerArg.html#TYPEtoken">Xhtmlparser.LexerArg.token</a> * <a href="Xhtmlparser.Make.html#TYPEstate">state</a></code></pre>
<pre><span id="VALpush"><span class="keyword">val</span> push</span> : <code class="type"><a href="Xhtmlparser.LexerArg.html#TYPEtoken">Xhtmlparser.LexerArg.token</a> -> <a href="Xhtmlparser.Make.html#TYPEstate">state</a> -> unit</code></pre>
<pre><span id="VALexpr_of_list"><span class="keyword">val</span> expr_of_list</span> : <code class="type">Camlp4.PreCast.Ast.loc -><br> [< `Elt of Camlp4.PreCast.Ast.expr | `List of Camlp4.PreCast.Ast.expr ] list -><br> Camlp4.PreCast.Ast.expr</code></pre>
<pre><span id="VALparse"><span class="keyword">val</span> parse</span> : <code class="type">Xmllexer.Loc.t -><br> bool -> string -> (<a href="Xhtmlparser.LexerArg.html#TYPEtoken">Xhtmlparser.LexerArg.token</a> * Xmllexer.Loc.t) Stream.t</code></pre>
<pre><span id="VALget_expr"><span class="keyword">val</span> get_expr</span> : <code class="type">string -> Syntax.Gram.Loc.t -> Syntax.Ast.expr</code></pre>
<pre><span id="VALread_node"><span class="keyword">val</span> read_node</span> : <code class="type"><a href="Xhtmlparser.Make.html#TYPEstate">state</a> -> Syntax.Ast.expr</code></pre>
<pre><span id="VALread_elems"><span class="keyword">val</span> read_elems</span> : <code class="type">?tag:string -> <a href="Xhtmlparser.Make.html#TYPEstate">state</a> -> Camlp4.PreCast.Ast.expr</code></pre>
<pre><span id="VALread_attlist"><span class="keyword">val</span> read_attlist</span> : <code class="type"><a href="Xhtmlparser.Make.html#TYPEstate">state</a> -><br> <a href="Xhtmlparser.LexerArg.html#TYPEattribute">Xhtmlparser.LexerArg.attribute</a> list -> Camlp4.PreCast.Ast.expr</code></pre>
<pre><span id="VALclean_ws"><span class="keyword">val</span> clean_ws</span> : <code class="type"><a href="Xhtmlparser.Make.html#TYPEstate">state</a> -> <a href="Xhtmlparser.Make.html#TYPEstate">state</a></code></pre>
<pre><span id="VALto_expr"><span class="keyword">val</span> to_expr</span> : <code class="type">(<a href="Xhtmlparser.LexerArg.html#TYPEtoken">Xhtmlparser.LexerArg.token</a> * Camlp4.PreCast.Loc.t) Stream.t -><br> Camlp4.PreCast.Loc.t -> Syntax.Ast.expr</code></pre>
<pre><span id="VALto_expr_taglist"><span class="keyword">val</span> to_expr_taglist</span> : <code class="type">(<a href="Xhtmlparser.LexerArg.html#TYPEtoken">Xhtmlparser.LexerArg.token</a> * Camlp4.PreCast.Loc.t) Stream.t -><br> Camlp4.PreCast.Loc.t -> Camlp4.PreCast.Ast.expr</code></pre>
<pre><span id="VALremove_ws"><span class="keyword">val</span> remove_ws</span> : <code class="type">string -> string</code></pre>
<pre><span id="VALxml_exp"><span class="keyword">val</span> xml_exp</span> : <code class="type">Xmllexer.Loc.t -> string option -> string -> Syntax.Ast.expr</code></pre>
<pre><span id="VALxml_expl"><span class="keyword">val</span> xml_expl</span> : <code class="type">Xmllexer.Loc.t -> string option -> string -> Camlp4.PreCast.Ast.expr</code></pre></body></html>
|