</p>

    <p>Parameters:</p>

    <ul>
    <li><code>lexer</code>: The lexer to add a style to.</li>
    <li><code>token_name</code>: The name of the token to associated with the style.</li>
    <li><code>style</code>: A style table.</li>
    </ul>


    <p>Usage:</p>

    <ul>
    <li><code>lex:add_style('longstring', lexer.styles.string)</code></li>
    <li><code>lex:add_style('deprecated_func', lexer.styles['function'] ..
    {italics = true}</code></li>
    <li><code>lex:add_style('visible_ws', lexer.st