-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This diff fixes some odoc warnings: * A title cannot have a reference. * Sometimes full module paths are needed. * It cannot have a link to external modules such as `Fmt`. Reviewed By: dulmarod Differential Revision: D51425757 fbshipit-source-id: 09c3779af0d63e0cad353a4728a25c3d40e86fdb
- Loading branch information
1 parent
1297803
commit 8fbe726
Showing
11 changed files
with
28 additions
and
26 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 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 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 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 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
2 changes: 1 addition & 1 deletion
2
website/static/odoc/next/infer/Checkers/LineageShape/Cell/index.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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Cell (infer.Checkers.LineageShape.Cell)</title><link rel="stylesheet" href="../../../../_odoc_support/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="../../../../_odoc_support/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">infer</a> » <a href="../../index.html">Checkers</a> » <a href="../index.html">LineageShape</a> » Cell</nav><header class="odoc-preamble"><h1>Module <code><span>LineageShape.Cell</span></code></h1><p>Cells correspond to variable fields for which no subfield will be considered by the analysis, either because they semantically have none, or because the abstract domain decides that considering them would lead to too deep or too wide field structures.</p><p>A field path of a cell:</p><ul><li>Cannot have a length greater than <code>Config</code>.lineage_field_depth. For instance, if that limit is <code>2</code>, the only cell under both <code>X#foo#bar#baz</code> and <code>X#foo#bar#ham</code> will be <code>X#foo#bar</code>.</li></ul><ul><li>Cannot cross a field whose field table is wider than <code>Config</code>.lineage_field_width. For instance, of the variable <code>X</code> has a huge number of fields, the only cell under <code>X#field1</code> will be <code>X</code> itself.</li></ul><ul><li>Cannot go twice on same-typed fields if <code>Config</code>.lineage_prevent_cycles is set. For instance, if <code>X</code> has fields <code>X#head</code> and <code>X#tail</code>, and <code>X#tail</code> has the same shape as <code>X</code>, then the cells under <code>X</code> will be <code>X#head</code> and <code>X#tail</code>.</li></ul><p>If one of these conditions happens, then the cell field path will be truncated before reaching a "scalar" field and the cell will be "abstract".</p><p>To make sure that the aforementioned properties hold, one cannot construct cells directly, but should access them through the <a href="../Summary/index.html#val-fold_cells"><code>Summary.fold_cells</code></a> and <a href="../Summary/index.html#val-fold_cell_pairs"><code>Summary.fold_cell_pairs</code></a> functions.</p><p>The lineage graph is built on cells.</p></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-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <span class="xref-unresolved">Ppx_compare_lib</span>.Comparable.S <span class="keyword">with</span> <span><span class="keyword">type</span> <span class="xref-unresolved">t</span> := <span class="xref-unresolved">t</span></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-compare"><a href="#val-compare" class="anchor"></a><code><span><span class="keyword">val</span> compare : <span><a href="#type-t">t</a> <span class="xref-unresolved">Base__Ppx_compare_lib</span>.compare</span></span></code></div></div></details></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <span class="xref-unresolved">Ppx_compare_lib</span>.Equal.S <span class="keyword">with</span> <span><span class="keyword">type</span> <span class="xref-unresolved">t</span> := <span class="xref-unresolved">t</span></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-equal"><a href="#val-equal" class="anchor"></a><code><span><span class="keyword">val</span> equal : <span><a href="#type-t">t</a> <span class="xref-unresolved">Base__Ppx_compare_lib</span>.equal</span></span></code></div></div></details></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <span class="xref-unresolved">Sexplib0</span>.Sexpable.S <span class="keyword">with</span> <span><span class="keyword">type</span> <span class="xref-unresolved">t</span> := <span class="xref-unresolved">t</span></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_sexp"><a href="#val-t_of_sexp" class="anchor"></a><code><span><span class="keyword">val</span> t_of_sexp : <span><span class="xref-unresolved">Sexplib0__</span>.Sexp.t <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-sexp_of_t"><a href="#val-sexp_of_t" class="anchor"></a><code><span><span class="keyword">val</span> sexp_of_t : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span class="xref-unresolved">Sexplib0__</span>.Sexp.t</span></code></div></div></details></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span class="xref-unresolved">Ppx_yojson_conv_lib</span>.Yojson.Safe.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-pp"><a href="#val-pp" class="anchor"></a><code><span><span class="keyword">val</span> pp : <span><a href="#type-t">t</a> <span class="xref-unresolved">Fmt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-var"><a href="#val-var" class="anchor"></a><code><span><span class="keyword">val</span> var : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <a href="../../../IR/Var/index.html#type-t">IR.Var.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-field_path"><a href="#val-field_path" class="anchor"></a><code><span><span class="keyword">val</span> field_path : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <a href="../FieldPath/index.html#type-t">FieldPath.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-is_abstract"><a href="#val-is_abstract" class="anchor"></a><code><span><span class="keyword">val</span> is_abstract : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> bool</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-var_appears_in_source_code"><a href="#val-var_appears_in_source_code" class="anchor"></a><code><span><span class="keyword">val</span> var_appears_in_source_code : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> bool</span></code></div></div></div></body></html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Cell (infer.Checkers.LineageShape.Cell)</title><link rel="stylesheet" href="../../../../_odoc_support/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="../../../../_odoc_support/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">infer</a> » <a href="../../index.html">Checkers</a> » <a href="../index.html">LineageShape</a> » Cell</nav><header class="odoc-preamble"><h1>Module <code><span>LineageShape.Cell</span></code></h1><p>Cells correspond to variable fields for which no subfield will be considered by the analysis, either because they semantically have none, or because the abstract domain decides that considering them would lead to too deep or too wide field structures.</p><p>A field path of a cell:</p><ul><li>Cannot have a length greater than <a href="../../../IBase/Config/index.html#val-lineage_field_depth"><code>IBase.Config.lineage_field_depth</code></a>. For instance, if that limit is <code>2</code>, the only cell under both <code>X#foo#bar#baz</code> and <code>X#foo#bar#ham</code> will be <code>X#foo#bar</code>.</li></ul><ul><li>Cannot cross a field whose field table is wider than <a href="../../../IBase/Config/index.html#val-lineage_field_width"><code>IBase.Config.lineage_field_width</code></a>. For instance, of the variable <code>X</code> has a huge number of fields, the only cell under <code>X#field1</code> will be <code>X</code> itself.</li></ul><ul><li>Cannot go twice on same-typed fields if <a href="../../../IBase/Config/index.html#val-lineage_prevent_cycles"><code>IBase.Config.lineage_prevent_cycles</code></a> is set. For instance, if <code>X</code> has fields <code>X#head</code> and <code>X#tail</code>, and <code>X#tail</code> has the same shape as <code>X</code>, then the cells under <code>X</code> will be <code>X#head</code> and <code>X#tail</code>.</li></ul><p>If one of these conditions happens, then the cell field path will be truncated before reaching a "scalar" field and the cell will be "abstract".</p><p>To make sure that the aforementioned properties hold, one cannot construct cells directly, but should access them through the <a href="../Summary/index.html#val-fold_cells"><code>Summary.fold_cells</code></a> and <a href="../Summary/index.html#val-fold_cell_pairs"><code>Summary.fold_cell_pairs</code></a> functions.</p><p>The lineage graph is built on cells.</p></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-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <span class="xref-unresolved">Ppx_compare_lib</span>.Comparable.S <span class="keyword">with</span> <span><span class="keyword">type</span> <span class="xref-unresolved">t</span> := <span class="xref-unresolved">t</span></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-compare"><a href="#val-compare" class="anchor"></a><code><span><span class="keyword">val</span> compare : <span><a href="#type-t">t</a> <span class="xref-unresolved">Base__Ppx_compare_lib</span>.compare</span></span></code></div></div></details></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <span class="xref-unresolved">Ppx_compare_lib</span>.Equal.S <span class="keyword">with</span> <span><span class="keyword">type</span> <span class="xref-unresolved">t</span> := <span class="xref-unresolved">t</span></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-equal"><a href="#val-equal" class="anchor"></a><code><span><span class="keyword">val</span> equal : <span><a href="#type-t">t</a> <span class="xref-unresolved">Base__Ppx_compare_lib</span>.equal</span></span></code></div></div></details></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <span class="xref-unresolved">Sexplib0</span>.Sexpable.S <span class="keyword">with</span> <span><span class="keyword">type</span> <span class="xref-unresolved">t</span> := <span class="xref-unresolved">t</span></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-t_of_sexp"><a href="#val-t_of_sexp" class="anchor"></a><code><span><span class="keyword">val</span> t_of_sexp : <span><span class="xref-unresolved">Sexplib0__</span>.Sexp.t <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-sexp_of_t"><a href="#val-sexp_of_t" class="anchor"></a><code><span><span class="keyword">val</span> sexp_of_t : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span class="xref-unresolved">Sexplib0__</span>.Sexp.t</span></code></div></div></details></div><div class="odoc-spec"><div class="spec value anchored" id="val-yojson_of_t"><a href="#val-yojson_of_t" class="anchor"></a><code><span><span class="keyword">val</span> yojson_of_t : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span class="xref-unresolved">Ppx_yojson_conv_lib</span>.Yojson.Safe.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-pp"><a href="#val-pp" class="anchor"></a><code><span><span class="keyword">val</span> pp : <span><a href="#type-t">t</a> <span class="xref-unresolved">Fmt</span>.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-var"><a href="#val-var" class="anchor"></a><code><span><span class="keyword">val</span> var : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <a href="../../../IR/Var/index.html#type-t">IR.Var.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-field_path"><a href="#val-field_path" class="anchor"></a><code><span><span class="keyword">val</span> field_path : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <a href="../FieldPath/index.html#type-t">FieldPath.t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-is_abstract"><a href="#val-is_abstract" class="anchor"></a><code><span><span class="keyword">val</span> is_abstract : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> bool</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-var_appears_in_source_code"><a href="#val-var_appears_in_source_code" class="anchor"></a><code><span><span class="keyword">val</span> var_appears_in_source_code : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> bool</span></code></div></div></div></body></html> |
Oops, something went wrong.