mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-24 00:48:24 +00:00
6 lines
12 KiB
HTML
6 lines
12 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Character specific parsers and combinators"><title>winnow::ascii - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-5bc39a1768837dd0.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="winnow" data-themes="" data-resource-suffix="" data-rustdoc-version="1.77.1 (7cf61ebde 2024-03-27)" data-channel="1.77.1" data-search-js="search-dd67cee4cfa65049.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-4c98445ec4002617.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-48f368f3872407c8.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-04d5337699b92874.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../winnow/index.html">winnow</a><span class="version">0.6.5</span></h2></div><h2 class="location"><a href="#">Module ascii</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In crate winnow</a></h2></div></nav><div class="sidebar-resizer"></div>
|
||
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../winnow/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">winnow</a>::<wbr><a class="mod" href="#">ascii</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/winnow/ascii/mod.rs.html#1-1872">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Character specific parsers and combinators</p>
|
||
<p>Functions recognizing specific characters</p>
|
||
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Caseless.html" title="struct winnow::ascii::Caseless">Caseless</a></div><div class="desc docblock-short">Mark a value as case-insensitive for ASCII characters</div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.HexUint.html" title="trait winnow::ascii::HexUint">HexUint</a></div><div class="desc docblock-short">Metadata for parsing hex numbers, see <a href="fn.hex_uint.html" title="fn winnow::ascii::hex_uint"><code>hex_uint</code></a></div></li><li><div class="item-name"><a class="trait" href="trait.Int.html" title="trait winnow::ascii::Int">Int</a></div><div class="desc docblock-short">Metadata for parsing signed integers, see <a href="fn.dec_int.html" title="fn winnow::ascii::dec_int"><code>dec_int</code></a></div></li><li><div class="item-name"><a class="trait" href="trait.Uint.html" title="trait winnow::ascii::Uint">Uint</a></div><div class="desc docblock-short">Metadata for parsing unsigned integers, see <a href="fn.dec_uint.html" title="fn winnow::ascii::dec_uint"><code>dec_uint</code></a></div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.alpha0.html" title="fn winnow::ascii::alpha0">alpha0</a></div><div class="desc docblock-short">Recognizes zero or more lowercase and uppercase ASCII alphabetic characters: <code>'a'..='z'</code>, <code>'A'..='Z'</code></div></li><li><div class="item-name"><a class="fn" href="fn.alpha1.html" title="fn winnow::ascii::alpha1">alpha1</a></div><div class="desc docblock-short">Recognizes one or more lowercase and uppercase ASCII alphabetic characters: <code>'a'..='z'</code>, <code>'A'..='Z'</code></div></li><li><div class="item-name"><a class="fn" href="fn.alphanumeric0.html" title="fn winnow::ascii::alphanumeric0">alphanumeric0</a></div><div class="desc docblock-short">Recognizes zero or more ASCII numerical and alphabetic characters: <code>'a'..='z'</code>, <code>'A'..='Z'</code>, <code>'0'..='9'</code></div></li><li><div class="item-name"><a class="fn" href="fn.alphanumeric1.html" title="fn winnow::ascii::alphanumeric1">alphanumeric1</a></div><div class="desc docblock-short">Recognizes one or more ASCII numerical and alphabetic characters: <code>'a'..='z'</code>, <code>'A'..='Z'</code>, <code>'0'..='9'</code></div></li><li><div class="item-name"><a class="fn" href="fn.crlf.html" title="fn winnow::ascii::crlf">crlf</a></div><div class="desc docblock-short">Recognizes the string <code>"\r\n"</code>.</div></li><li><div class="item-name"><a class="fn" href="fn.dec_int.html" title="fn winnow::ascii::dec_int">dec_int</a></div><div class="desc docblock-short">Decode a decimal signed integer (e.g. <a href="https://doc.rust-lang.org/1.77.1/std/primitive.i32.html" title="primitive i32"><code>i32</code></a>)</div></li><li><div class="item-name"><a class="fn" href="fn.dec_uint.html" title="fn winnow::ascii::dec_uint">dec_uint</a></div><div class="desc docblock-short">Decode a decimal unsigned integer (e.g. <a href="https://doc.rust-lang.org/1.77.1/std/primitive.u32.html" title="primitive u32"><code>u32</code></a>)</div></li><li><div class="item-name"><a class="fn" href="fn.digit0.html" title="fn winnow::ascii::digit0">digit0</a></div><div class="desc docblock-short">Recognizes zero or more ASCII numerical characters: <code>'0'..='9'</code></div></li><li><div class="item-name"><a class="fn" href="fn.digit1.html" title="fn winnow::ascii::digit1">digit1</a></div><div class="desc docblock-short">Recognizes one or more ASCII numerical characters: <code>'0'..='9'</code></div></li><li><div class="item-name"><a class="fn" href="fn.escaped.html" title="fn winnow::ascii::escaped">escaped</a><span class="stab deprecated" title="">Deprecated</span></div><div class="desc docblock-short">Deprecated, replaced with <a href="fn.take_escaped.html" title="fn winnow::ascii::take_escaped"><code>take_escaped</code></a></div></li><li><div class="item-name"><a class="fn" href="fn.escaped_transform.html" title="fn winnow::ascii::escaped_transform">escaped_transform</a></div><div class="desc docblock-short">Parse escaped characters, unescaping them</div></li><li><div class="item-name"><a class="fn" href="fn.float.html" title="fn winnow::ascii::float">float</a></div><div class="desc docblock-short">Recognizes floating point number in text format and returns a <a href="https://doc.rust-lang.org/1.77.1/std/primitive.f32.html" title="primitive f32"><code>f32</code></a> or <a href="https://doc.rust-lang.org/1.77.1/std/primitive.f64.html" title="primitive f64"><code>f64</code></a>.</div></li><li><div class="item-name"><a class="fn" href="fn.hex_digit0.html" title="fn winnow::ascii::hex_digit0">hex_digit0</a></div><div class="desc docblock-short">Recognizes zero or more ASCII hexadecimal numerical characters: <code>'0'..='9'</code>, <code>'A'..='F'</code>,
|
||
<code>'a'..='f'</code></div></li><li><div class="item-name"><a class="fn" href="fn.hex_digit1.html" title="fn winnow::ascii::hex_digit1">hex_digit1</a></div><div class="desc docblock-short">Recognizes one or more ASCII hexadecimal numerical characters: <code>'0'..='9'</code>, <code>'A'..='F'</code>,
|
||
<code>'a'..='f'</code></div></li><li><div class="item-name"><a class="fn" href="fn.hex_uint.html" title="fn winnow::ascii::hex_uint">hex_uint</a></div><div class="desc docblock-short">Decode a variable-width hexadecimal integer (e.g. <a href="https://doc.rust-lang.org/1.77.1/std/primitive.u32.html" title="primitive u32"><code>u32</code></a>)</div></li><li><div class="item-name"><a class="fn" href="fn.line_ending.html" title="fn winnow::ascii::line_ending">line_ending</a></div><div class="desc docblock-short">Recognizes an end of line (both <code>"\n"</code> and <code>"\r\n"</code>).</div></li><li><div class="item-name"><a class="fn" href="fn.multispace0.html" title="fn winnow::ascii::multispace0">multispace0</a></div><div class="desc docblock-short">Recognizes zero or more spaces, tabs, carriage returns and line feeds.</div></li><li><div class="item-name"><a class="fn" href="fn.multispace1.html" title="fn winnow::ascii::multispace1">multispace1</a></div><div class="desc docblock-short">Recognizes one or more spaces, tabs, carriage returns and line feeds.</div></li><li><div class="item-name"><a class="fn" href="fn.newline.html" title="fn winnow::ascii::newline">newline</a></div><div class="desc docblock-short">Matches a newline character <code>'\n'</code>.</div></li><li><div class="item-name"><a class="fn" href="fn.oct_digit0.html" title="fn winnow::ascii::oct_digit0">oct_digit0</a></div><div class="desc docblock-short">Recognizes zero or more octal characters: <code>'0'..='7'</code></div></li><li><div class="item-name"><a class="fn" href="fn.oct_digit1.html" title="fn winnow::ascii::oct_digit1">oct_digit1</a></div><div class="desc docblock-short">Recognizes one or more octal characters: <code>'0'..='7'</code></div></li><li><div class="item-name"><a class="fn" href="fn.space0.html" title="fn winnow::ascii::space0">space0</a></div><div class="desc docblock-short">Recognizes zero or more spaces and tabs.</div></li><li><div class="item-name"><a class="fn" href="fn.space1.html" title="fn winnow::ascii::space1">space1</a></div><div class="desc docblock-short">Recognizes zero or more spaces and tabs.</div></li><li><div class="item-name"><a class="fn" href="fn.tab.html" title="fn winnow::ascii::tab">tab</a></div><div class="desc docblock-short">Matches a tab character <code>'\t'</code>.</div></li><li><div class="item-name"><a class="fn" href="fn.take_escaped.html" title="fn winnow::ascii::take_escaped">take_escaped</a></div><div class="desc docblock-short">Recognize the input slice with escaped characters.</div></li><li><div class="item-name"><a class="fn" href="fn.till_line_ending.html" title="fn winnow::ascii::till_line_ending">till_line_ending</a></div><div class="desc docblock-short">Recognizes a string of any char except <code>"\r\n"</code> or <code>"\n"</code>.</div></li></ul></section></div></main></body></html> |