-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bb289cd
commit 53fac6d
Showing
21 changed files
with
363 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Ast (yojson-five.Yojson_five.Ast)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.0"/><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">yojson-five</a> » <a href="../index.html">Yojson_five</a> » Ast</nav><header class="odoc-preamble"><h1>Module <code><span>Yojson_five.Ast</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span></code><ol><li id="type-t.Assoc" class="def variant constructor anchored"><a href="#type-t.Assoc" class="anchor"></a><code><span>| </span><span><span class="constructor">Assoc</span> <span class="keyword">of</span> <span><span>(string * <a href="#type-t">t</a>)</span> list</span></span></code></li><li id="type-t.List" class="def variant constructor anchored"><a href="#type-t.List" class="anchor"></a><code><span>| </span><span><span class="constructor">List</span> <span class="keyword">of</span> <span><a href="#type-t">t</a> list</span></span></code></li><li id="type-t.StringLit" class="def variant constructor anchored"><a href="#type-t.StringLit" class="anchor"></a><code><span>| </span><span><span class="constructor">StringLit</span> <span class="keyword">of</span> string</span></code></li><li id="type-t.IntLit" class="def variant constructor anchored"><a href="#type-t.IntLit" class="anchor"></a><code><span>| </span><span><span class="constructor">IntLit</span> <span class="keyword">of</span> string</span></code></li><li id="type-t.FloatLit" class="def variant constructor anchored"><a href="#type-t.FloatLit" class="anchor"></a><code><span>| </span><span><span class="constructor">FloatLit</span> <span class="keyword">of</span> string</span></code></li><li id="type-t.Bool" class="def variant constructor anchored"><a href="#type-t.Bool" class="anchor"></a><code><span>| </span><span><span class="constructor">Bool</span> <span class="keyword">of</span> bool</span></code></li><li id="type-t.Null" class="def variant constructor anchored"><a href="#type-t.Null" class="anchor"></a><code><span>| </span><span><span class="constructor">Null</span></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_basic"><a href="#val-to_basic" class="anchor"></a><code><span><span class="keyword">val</span> to_basic : | ||
<span><a href="#type-t">t</a> <span class="arrow">-></span></span> | ||
<span>[> <span>`Assoc of <span><span>(string * <span class="type-var">'a</span>)</span> list</span></span> | ||
<span><span>| `Bool</span> of bool</span> | ||
<span><span>| `Float</span> of float</span> | ||
<span><span>| `Int</span> of int</span> | ||
<span><span>| `List</span> of <span><span class="type-var">'a</span> list</span></span> | ||
<span>| `Null</span> | ||
<span><span>| `String</span> of string</span> ]</span> <span class="keyword">as</span> 'a</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_safe"><a href="#val-to_safe" class="anchor"></a><code><span><span class="keyword">val</span> to_safe : | ||
<span><a href="#type-t">t</a> <span class="arrow">-></span></span> | ||
<span>[> <span>`Assoc of <span><span>(string * <span class="type-var">'a</span>)</span> list</span></span> | ||
<span><span>| `Bool</span> of bool</span> | ||
<span><span>| `Float</span> of float</span> | ||
<span><span>| `Int</span> of int</span> | ||
<span><span>| `Intlit</span> of string</span> | ||
<span><span>| `List</span> of <span><span class="type-var">'a</span> list</span></span> | ||
<span>| `Null</span> | ||
<span><span>| `String</span> of string</span> ]</span> <span class="keyword">as</span> 'a</span></code></div></div></div></body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Result (yojson-five.Yojson_five.Let_syntax.Result)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.0"/><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">yojson-five</a> » <a href="../../index.html">Yojson_five</a> » <a href="../index.html">Let_syntax</a> » Result</nav><header class="odoc-preamble"><h1>Module <code><span>Let_syntax.Result</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-let*"><a href="#val-let*" class="anchor"></a><code><span><span class="keyword">val</span> let* : | ||
<span><span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span> <span class="arrow">-></span></span> | ||
<span><span>(<span><span class="type-var">'a</span> <span class="arrow">-></span></span> <span><span>(<span class="type-var">'c</span>, <span class="type-var">'b</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span>)</span> <span class="arrow">-></span></span> | ||
<span><span>(<span class="type-var">'c</span>, <span class="type-var">'b</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-let+"><a href="#val-let+" class="anchor"></a><code><span><span class="keyword">val</span> let+ : <span><span><span>(<span class="type-var">'a</span>, <span class="type-var">'b</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span> <span class="arrow">-></span></span> <span><span>(<span><span class="type-var">'a</span> <span class="arrow">-></span></span> <span class="type-var">'c</span>)</span> <span class="arrow">-></span></span> <span><span>(<span class="type-var">'c</span>, <span class="type-var">'b</span>)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div></div></div></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Let_syntax (yojson-five.Yojson_five.Let_syntax)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.0"/><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">yojson-five</a> » <a href="../index.html">Yojson_five</a> » Let_syntax</nav><header class="odoc-preamble"><h1>Module <code><span>Yojson_five.Let_syntax</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module anchored" id="module-Result"><a href="#module-Result" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Result/index.html">Result</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div></div></body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Parser (yojson-five.Yojson_five.Parser)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.0"/><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">yojson-five</a> » <a href="../index.html">Yojson_five</a> » Parser</nav><header class="odoc-preamble"><h1>Module <code><span>Yojson_five.Parser</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-parse_list"><a href="#val-parse_list" class="anchor"></a><code><span><span class="keyword">val</span> parse_list : | ||
<span><span><a href="../Ast/index.html#type-t">Ast.t</a> list</span> <span class="arrow">-></span></span> | ||
<span><span><a href="../Lexer/index.html#type-token">Lexer.token</a> list</span> <span class="arrow">-></span></span> | ||
<span><span>(<span><a href="../Ast/index.html#type-t">Ast.t</a> list</span> * <span><a href="../Lexer/index.html#type-token">Lexer.token</a> list</span>, string)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-parse_assoc"><a href="#val-parse_assoc" class="anchor"></a><code><span><span class="keyword">val</span> parse_assoc : | ||
<span><span><span>(string * <a href="../Ast/index.html#type-t">Ast.t</a>)</span> list</span> <span class="arrow">-></span></span> | ||
<span><span><a href="../Lexer/index.html#type-token">Lexer.token</a> list</span> <span class="arrow">-></span></span> | ||
<span><span>(<span><span>(string * <a href="../Ast/index.html#type-t">Ast.t</a>)</span> list</span> * <span><a href="../Lexer/index.html#type-token">Lexer.token</a> list</span>, string)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-parse"><a href="#val-parse" class="anchor"></a><code><span><span class="keyword">val</span> parse : | ||
<span><span><a href="../Lexer/index.html#type-token">Lexer.token</a> list</span> <span class="arrow">-></span></span> | ||
<span><span>(<a href="../Ast/index.html#type-t">Ast.t</a> * <span><a href="../Lexer/index.html#type-token">Lexer.token</a> list</span>, string)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-parse_from_lexbuf"><a href="#val-parse_from_lexbuf" class="anchor"></a><code><span><span class="keyword">val</span> parse_from_lexbuf : | ||
<span>?fname:string <span class="arrow">-></span></span> | ||
<span>?lnum:int <span class="arrow">-></span></span> | ||
<span><span class="xref-unresolved">Sedlexing</span>.lexbuf <span class="arrow">-></span></span> | ||
<span><span>(<a href="../Ast/index.html#type-t">Ast.t</a>, string)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-parse_from_string"><a href="#val-parse_from_string" class="anchor"></a><code><span><span class="keyword">val</span> parse_from_string : | ||
<span>?fname:string <span class="arrow">-></span></span> | ||
<span>?lnum:int <span class="arrow">-></span></span> | ||
<span>string <span class="arrow">-></span></span> | ||
<span><span>(<a href="../Ast/index.html#type-t">Ast.t</a>, string)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-parse_from_channel"><a href="#val-parse_from_channel" class="anchor"></a><code><span><span class="keyword">val</span> parse_from_channel : | ||
<span>?fname:string <span class="arrow">-></span></span> | ||
<span>?lnum:int <span class="arrow">-></span></span> | ||
<span><span class="xref-unresolved">Stdlib</span>.in_channel <span class="arrow">-></span></span> | ||
<span><span>(<a href="../Ast/index.html#type-t">Ast.t</a>, string)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-parse_from_file"><a href="#val-parse_from_file" class="anchor"></a><code><span><span class="keyword">val</span> parse_from_file : | ||
<span>?fname:string <span class="arrow">-></span></span> | ||
<span>?lnum:int <span class="arrow">-></span></span> | ||
<span>string <span class="arrow">-></span></span> | ||
<span><span>(<a href="../Ast/index.html#type-t">Ast.t</a>, string)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div></div></div></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>F (yojson-five.Yojson_five.Read.Make.F)</title><link rel="stylesheet" href="../../../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.0"/><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">yojson-five</a> » <a href="../../../index.html">Yojson_five</a> » <a href="../../index.html">Read</a> » <a href="../index.html">Make</a> » F</nav><header class="odoc-preamble"><h1>Parameter <code><span>Make.F</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-convert"><a href="#val-convert" class="anchor"></a><code><span><span class="keyword">val</span> convert : <span><a href="../../../Ast/index.html#type-t">Ast.t</a> <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div></div></div></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Make (yojson-five.Yojson_five.Read.Make)</title><link rel="stylesheet" href="../../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.0"/><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">yojson-five</a> » <a href="../../index.html">Yojson_five</a> » <a href="../index.html">Read</a> » Make</nav><header class="odoc-preamble"><h1>Module <code><span>Read.Make</span></code></h1></header><nav class="odoc-toc"><ul><li><a href="#parameters">Parameters</a></li><li><a href="#signature">Signature</a></li></ul></nav><div class="odoc-content"><h2 id="parameters"><a href="#parameters" class="anchor"></a>Parameters</h2><div class="odoc-spec"><div class="spec parameter anchored" id="argument-1-F"><a href="#argument-1-F" class="anchor"></a><code><span><span class="keyword">module</span> </span><span><a href="argument-1-F/index.html">F</a></span><span> : <a href="../module-type-S/index.html">S</a></span></code></div></div><h2 id="signature"><a href="#signature" class="anchor"></a>Signature</h2><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = <a href="argument-1-F/index.html#type-t">F.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-from_string"><a href="#val-from_string" class="anchor"></a><code><span><span class="keyword">val</span> from_string : | ||
<span>?fname:string <span class="arrow">-></span></span> | ||
<span>?lnum:int <span class="arrow">-></span></span> | ||
<span>string <span class="arrow">-></span></span> | ||
<span><span>(<a href="#type-t">t</a>, string)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-from_channel"><a href="#val-from_channel" class="anchor"></a><code><span><span class="keyword">val</span> from_channel : | ||
<span>?fname:string <span class="arrow">-></span></span> | ||
<span>?lnum:int <span class="arrow">-></span></span> | ||
<span><span class="xref-unresolved">Stdlib</span>.in_channel <span class="arrow">-></span></span> | ||
<span><span>(<a href="#type-t">t</a>, string)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-from_file"><a href="#val-from_file" class="anchor"></a><code><span><span class="keyword">val</span> from_file : | ||
<span>?fname:string <span class="arrow">-></span></span> | ||
<span>?lnum:int <span class="arrow">-></span></span> | ||
<span>string <span class="arrow">-></span></span> | ||
<span><span>(<a href="#type-t">t</a>, string)</span> <span class="xref-unresolved">Stdlib</span>.result</span></span></code></div></div></div></body></html> |
Oops, something went wrong.