<p><ahref="struct.Parser.html"title="struct anstyle_parse::Parser"><code>Parser</code></a> is implemented according to <ahref="https://vt100.net/emu/dec_ansi_parser">Paul Williams’ ANSI parser
state machine</a>. The state machine doesn’t assign meaning to the parsed data
and is thus not itself sufficient for writing a terminal emulator. Instead,
it is expected that an implementation of <ahref="trait.Perform.html"title="trait anstyle_parse::Perform"><code>Perform</code></a> is provided which does
something useful with the parsed data. The <ahref="struct.Parser.html"title="struct anstyle_parse::Parser"><code>Parser</code></a> handles the book
keeping, and the <ahref="trait.Perform.html"title="trait anstyle_parse::Perform"><code>Perform</code></a> gets to simply handle actions.</p>
<p>For an example of using the <ahref="struct.Parser.html"title="struct anstyle_parse::Parser"><code>Parser</code></a> please see the examples folder. The example included
there simply logs all the actions <ahref="trait.Perform.html"title="trait anstyle_parse::Perform"><code>Perform</code></a> does. One quick thing to see it in action is to
<h2id="differences-from-original-state-machine-description"><aclass="doc-anchor"href="#differences-from-original-state-machine-description">§</a>Differences from original state machine description</h2>
</div></details><h2id="modules"class="section-header">Modules<ahref="#modules"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="mod"href="state/index.html"title="mod anstyle_parse::state">state</a></div><divclass="desc docblock-short">ANSI escape code parsing state machine</div></li></ul><h2id="structs"class="section-header">Structs<ahref="#structs"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="struct"href="struct.AsciiParser.html"title="struct anstyle_parse::AsciiParser">AsciiParser</a></div><divclass="desc docblock-short">Only allow parsing 7-bit ASCII</div></li><li><divclass="item-name"><aclass="struct"href="struct.Params.html"title="struct anstyle_parse::Params">Params</a></div></li><li><divclass="item-name"><aclass="struct"href="struct.ParamsIter.html"title="struct anstyle_parse::ParamsIter">ParamsIter</a></div><divclass="desc docblock-short">Immutable subparameter iterator.</div></li><li><divclass="item-name"><aclass="struct"href="struct.Parser.html"title="struct anstyle_parse::Parser">Parser</a></div><divclass="desc docblock-short">Parser for raw <em>VTE</em> protocol which delegates actions to a <ahref="trait.Perform.html"title="trait anstyle_parse::Perform"><code>Perform</code></a></div></li><li><divclass="item-name"><aclass="struct"href="struct.Utf8Parser.html"title="struct anstyle_parse::Utf8Parser">Utf8Parser</a></div><divclass="desc docblock-short">Allow parsing UTF-8</div></li></ul><h2id="traits"class="section-header">Traits<ahref="#traits"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="trait"href="trait.CharAccumulator.html"title="trait anstyle_parse::CharAccumulator">CharAccumulator</a></div><divclass="desc docblock-short">Build a <code>char</code> out of bytes</div></li><li><divclass="item-name"><aclass="trait"href="trait.Perform.html"title="trait anstyle_parse::Perform">Perform</a></div><divclass="desc docblock-short">Performs actions requested by the <ahref="struct.Parser.html"title="struct anstyle_parse::Parser"><code>Parser</code></a></div></li></ul><h2id="types"class="section-header">Type Aliases<ahref="#types"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="type"href="type.DefaultCharAccumulator.html"title="type anstyle_parse::DefaultCharAccumulator">DefaultCharAccumulator</a></div><divclass="desc docblock-short">Most flexible <ahref="trait.CharAccumulator.html"title="trait anstyle_parse::CharAccumulator"><code>CharAccumulator</code></a> for <ahref="struct.Parser.html"title="struct anstyle_parse::Parser"><code>Parser</code></a> based on active features</div></li></ul></section></div></main></body></html>