cairo-lang-doc 2.18.0

A collection of documentation processing utilities for the Cairo programming language.
Documentation
//! > Documentation submodules

//! > test_runner_name
documentation_test_runner

//! > cairo_project.toml
[crate_roots]
hello = "src"

//! > cairo_code
//! simple table with alignment
//! |C1| C2|
//! |---:|:---:|
//! |R1C1|R1C2|
//! |R2C1|R2C2|
//!
//! A more complicated real case study from corelib.
//! | method  | self     | input     | output   |
//! |---------|----------|-----------|----------|
//! | [`and`] | `Err(e)` | (ignored) | `Err(e)` |
//! | [`and`] | `Ok(x)`  | `Err(d)`  | `Err(d)` |
//! | [`and`] | `Ok(x)`  | `Ok(y)`   | `Ok(y)`  |
//! | [`or`]  | `Err(e)` | `Err(d)`  | `Err(d)` |
//! | [`or`]  | `Err(e)` | `Ok(y)`   | `Ok(y)`  |
//! | [`or`]  | `Ok(x)`  | (ignored) | `Ok(x)`  |

//! > Item signature #1

//! > Item documentation #1
simple table with alignment

|C1|C2|
|---:|:---:|
|R1C1|R1C2|
|R2C1|R2C2|

A more complicated real case study from corelib.

|method|self|input|output|
|---|---|---|---|
|[`and`]|`Err(e)`|(ignored)|`Err(e)`|
|[`and`]|`Ok(x)`|`Err(d)`|`Err(d)`|
|[`and`]|`Ok(x)`|`Ok(y)`|`Ok(y)`|
|[`or`]|`Err(e)`|`Err(d)`|`Err(d)`|
|[`or`]|`Err(e)`|`Ok(y)`|`Ok(y)`|
|[`or`]|`Ok(x)`|(ignored)|`Ok(x)`|

//! > Item documentation tokens #1
Content("simple table with alignment")
Content("\n")
Content("\n")
Content("|")
Content("C1")
Content("|")
Content("C2")
Content("|\n|---:|:---:|")
Content("\n")
Content("|")
Content("R1C1")
Content("|")
Content("R1C2")
Content("|")
Content("\n")
Content("|")
Content("R2C1")
Content("|")
Content("R2C2")
Content("|")
Content("\n")
Content("\n")
Content("A more complicated real case study from corelib.")
Content("\n")
Content("\n")
Content("|")
Content("method")
Content("|")
Content("self")
Content("|")
Content("input")
Content("|")
Content("output")
Content("|\n|---|---|---|---|")
Content("\n")
Content("|")
CommentLinkToken { label: "`and`", path: None, md_link: MarkdownLink { link_span: TextSpan { start: TextOffset(TextWidth(218)), end: TextOffset(TextWidth(225)) }, dest_span: Some(TextSpan { start: TextOffset(TextWidth(220)), end: TextOffset(TextWidth(223)) }), dest_text: Some("and") } }
Content("|")
Content("`Err(e)`")
Content("|")
Content("(ignored)")
Content("|")
Content("`Err(e)`")
Content("|")
Content("\n")
Content("|")
CommentLinkToken { label: "`and`", path: None, md_link: MarkdownLink { link_span: TextSpan { start: TextOffset(TextWidth(264)), end: TextOffset(TextWidth(271)) }, dest_span: Some(TextSpan { start: TextOffset(TextWidth(266)), end: TextOffset(TextWidth(269)) }), dest_text: Some("and") } }
Content("|")
Content("`Ok(x)`")
Content("|")
Content("`Err(d)`")
Content("|")
Content("`Err(d)`")
Content("|")
Content("\n")
Content("|")
CommentLinkToken { label: "`and`", path: None, md_link: MarkdownLink { link_span: TextSpan { start: TextOffset(TextWidth(310)), end: TextOffset(TextWidth(317)) }, dest_span: Some(TextSpan { start: TextOffset(TextWidth(312)), end: TextOffset(TextWidth(315)) }), dest_text: Some("and") } }
Content("|")
Content("`Ok(x)`")
Content("|")
Content("`Ok(y)`")
Content("|")
Content("`Ok(y)`")
Content("|")
Content("\n")
Content("|")
CommentLinkToken { label: "`or`", path: None, md_link: MarkdownLink { link_span: TextSpan { start: TextOffset(TextWidth(356)), end: TextOffset(TextWidth(362)) }, dest_span: Some(TextSpan { start: TextOffset(TextWidth(358)), end: TextOffset(TextWidth(360)) }), dest_text: Some("or") } }
Content("|")
Content("`Err(e)`")
Content("|")
Content("`Err(d)`")
Content("|")
Content("`Err(d)`")
Content("|")
Content("\n")
Content("|")
CommentLinkToken { label: "`or`", path: None, md_link: MarkdownLink { link_span: TextSpan { start: TextOffset(TextWidth(402)), end: TextOffset(TextWidth(408)) }, dest_span: Some(TextSpan { start: TextOffset(TextWidth(404)), end: TextOffset(TextWidth(406)) }), dest_text: Some("or") } }
Content("|")
Content("`Err(e)`")
Content("|")
Content("`Ok(y)`")
Content("|")
Content("`Ok(y)`")
Content("|")
Content("\n")
Content("|")
CommentLinkToken { label: "`or`", path: None, md_link: MarkdownLink { link_span: TextSpan { start: TextOffset(TextWidth(448)), end: TextOffset(TextWidth(454)) }, dest_span: Some(TextSpan { start: TextOffset(TextWidth(450)), end: TextOffset(TextWidth(452)) }), dest_text: Some("or") } }
Content("|")
Content("`Ok(x)`")
Content("|")
Content("(ignored)")
Content("|")
Content("`Ok(x)`")
Content("|")