ocaml-trace/ppxlib/Astlib/Parse/index.html
2024-03-08 16:51:12 +00:00

2 lines
No EOL
4.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Parse (ppxlib.Astlib.Parse)</title><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.2"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">ppxlib</a> &#x00BB; <a href="../index.html">Astlib</a> &#x00BB; Parse</nav><header class="odoc-preamble"><h1>Module <code><span>Astlib.Parse</span></code></h1><p>Entry points in the parser</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-implementation"><a href="#val-implementation" class="anchor"></a><code><span><span class="keyword">val</span> implementation : <span><a href="../../../ocaml/Stdlib/Lexing/index.html#type-lexbuf">Stdlib.Lexing.lexbuf</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../../../ocaml/Parsetree/index.html#type-structure_item">Parsetree.structure_item</a> list</span></span></code></div><div class="spec-doc"><p>Parse a structure</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-interface"><a href="#val-interface" class="anchor"></a><code><span><span class="keyword">val</span> interface : <span><a href="../../../ocaml/Stdlib/Lexing/index.html#type-lexbuf">Stdlib.Lexing.lexbuf</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../../../ocaml/Parsetree/index.html#type-signature_item">Parsetree.signature_item</a> list</span></span></code></div><div class="spec-doc"><p>Parse a signature</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-toplevel_phrase"><a href="#val-toplevel_phrase" class="anchor"></a><code><span><span class="keyword">val</span> toplevel_phrase : <span><a href="../../../ocaml/Stdlib/Lexing/index.html#type-lexbuf">Stdlib.Lexing.lexbuf</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../ocaml/Parsetree/index.html#type-toplevel_phrase">Parsetree.toplevel_phrase</a></span></code></div><div class="spec-doc"><p>Parse a toplevel phrase</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-use_file"><a href="#val-use_file" class="anchor"></a><code><span><span class="keyword">val</span> use_file : <span><a href="../../../ocaml/Stdlib/Lexing/index.html#type-lexbuf">Stdlib.Lexing.lexbuf</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="../../../ocaml/Parsetree/index.html#type-toplevel_phrase">Parsetree.toplevel_phrase</a> list</span></span></code></div><div class="spec-doc"><p>Parse a series of toplevel phrases</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-core_type"><a href="#val-core_type" class="anchor"></a><code><span><span class="keyword">val</span> core_type : <span><a href="../../../ocaml/Stdlib/Lexing/index.html#type-lexbuf">Stdlib.Lexing.lexbuf</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../ocaml/Parsetree/index.html#type-core_type">Parsetree.core_type</a></span></code></div><div class="spec-doc"><p>Parse a core type</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-expression"><a href="#val-expression" class="anchor"></a><code><span><span class="keyword">val</span> expression : <span><a href="../../../ocaml/Stdlib/Lexing/index.html#type-lexbuf">Stdlib.Lexing.lexbuf</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../ocaml/Parsetree/index.html#type-expression">Parsetree.expression</a></span></code></div><div class="spec-doc"><p>Parse an expression</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-pattern"><a href="#val-pattern" class="anchor"></a><code><span><span class="keyword">val</span> pattern : <span><a href="../../../ocaml/Stdlib/Lexing/index.html#type-lexbuf">Stdlib.Lexing.lexbuf</a> <span class="arrow">&#45;&gt;</span></span> <a href="../../../ocaml/Parsetree/index.html#type-pattern">Parsetree.pattern</a></span></code></div><div class="spec-doc"><p>Parse a pattern</p></div></div></div></body></html>