SimpleHtmlLexer::addInTagTokens PHP Method

addInTagTokens() protected method

Pattern matches to parse the inside of a tag including the attributes and their quoting.
protected addInTagTokens ( )
    protected function addInTagTokens()
    {
        $this->mapHandler('tag', 'acceptStartToken');
        $this->addSpecialPattern('\\s+', 'tag', 'ignore');
        $this->addAttributeTokens();
        $this->addExitPattern('/>', 'tag');
        $this->addExitPattern('>', 'tag');
    }