ated with this rule. It does not have to be the same
    as the name passed to <code>token()</code>.</li>
    <li><code>rule</code>: The LPeg pattern of the rule.</li>
    </ul>


    <p>See also:</p>

    <ul>
    <li><a href="#lexer.modify_rule"><code>lexer.modify_rule</code></a></li>
    </ul>


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

    <h3><code>lexer.add_style</code> (lexer, token_name, style)</h3>

    <p>Associates string <em>token_name</em> in lexer <em>lexer</em> with style table <em>style</em>.