<main><divclass="width-limiter"><navclass="sub"><formclass="search-form"><span></span><divid="sidebar-button"tabindex="-1"><ahref="../../winnow/all.html"title="show sidebar"></a></div><inputclass="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"><divid="help-button"tabindex="-1"><ahref="../../help.html"title="help">?</a></div><divid="settings-menu"tabindex="-1"><ahref="../../settings.html"title="settings"><imgwidth="22"height="22"alt="Change settings"src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><sectionid="main-content"class="content"><divclass="main-heading"><h1>Module <ahref="../index.html">winnow</a>::<wbr><aclass="mod"href="#">token</a><buttonid="copy-path"title="Copy item path to clipboard"><imgsrc="../../static.files/clipboard-7571035ce49a181d.svg"width="19"height="18"alt="Copy item path"></button></h1><spanclass="out-of-band"><aclass="src"href="../../src/winnow/token/mod.rs.html#1-1092">source</a> · <buttonid="toggle-all-docs"title="collapse all docs">[<span>−</span>]</button></span></div><detailsclass="toggle top-doc"open><summaryclass="hideme"><span>Expand description</span></summary><divclass="docblock"><p>Parsers extracting tokens from the stream</p>
</div></details><h2id="functions"class="section-header">Functions<ahref="#functions"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="fn"href="fn.any.html"title="fn winnow::token::any">any</a></div><divclass="desc docblock-short">Matches one token</div></li><li><divclass="item-name"><aclass="fn"href="fn.literal.html"title="fn winnow::token::literal">literal</a></div><divclass="desc docblock-short">Recognizes a literal</div></li><li><divclass="item-name"><aclass="fn"href="fn.none_of.html"title="fn winnow::token::none_of">none_of</a></div><divclass="desc docblock-short">Recognize a token that does not match a <ahref="../stream/trait.ContainsToken.html"title="trait winnow::stream::ContainsToken">set of tokens</a></div></li><li><divclass="item-name"><aclass="fn"href="fn.one_of.html"title="fn winnow::token::one_of">one_of</a></div><divclass="desc docblock-short">Recognize a token that matches a <ahref="../stream/trait.ContainsToken.html"title="trait winnow::stream::ContainsToken">set of tokens</a></div></li><li><divclass="item-name"><aclass="fn"href="fn.take.html"title="fn winnow::token::take">take</a></div><divclass="desc docblock-short">Recognize an input slice containing the first N input elements (I[..N]).</div></li><li><divclass="item-name"><aclass="fn"href="fn.take_till.html"title="fn winnow::token::take_till">take_till</a></div><divclass="desc docblock-short">Recognize the longest input slice (if any) till a member of a <ahref="../stream/trait.ContainsToken.html"title="trait winnow::stream::ContainsToken">set of tokens</a> is found.</div></li><li><divclass="item-name"><aclass="fn"href="fn.take_until.html"title="fn winnow::token::take_until">take_until</a></div><divclass="desc docblock-short">Recognize the input slice up to the first occurrence of a <ahref="fn.literal.html"title="fn winnow::token::literal">literal</a>.</div></li><li><divclass="item-name"><aclass="fn"href="fn.take_while.html"title="fn winnow::token::take_while">take_while</a></div><divclass="desc docblock-short">Recognize the longest (m <= len <= n) input slice that matches a <ahref="../stream/trait.ContainsToken.html"title="trait winnow::stream::ContainsToken">set of tokens</a></div></li></ul></section></div></main></body></html>