 <ul>
    <li><code>lexer</code>: The lexer to modify.</li>
    <li><code>id</code>: The id associated with this rule.</li>
    <li><code>rule</code>: The LPeg pattern of the rule.</li>
    </ul>


    <p><a id="lexer.new"></a></p>

    <h3><code>lexer.new</code> (name, opts)</h3>

    <p>Creates a returns a new lexer with the given name.</p>

    <p>Parameters:</p>

    <ul>
    <li><code>name</code>: The lexer&rsquo;s name.</li>
    <li><code>opts</code>: Table of lexer options. Options currently supporte