Example #1
0
 /**
  *    Pattern matches to parse the inside of a tag
  *    including the attributes and their quoting.
  *    @param SimpleLexer $lexer    Lexer to add patterns to.
  *    @access private
  *    @static
  */
 function _addInTagTokens(&$lexer)
 {
     $lexer->mapHandler('tag', 'acceptStartToken');
     $lexer->addSpecialPattern('\\s+', 'tag', 'ignore');
     SimpleSaxParser::_addAttributeTokens($lexer);
     $lexer->addExitPattern('>', 'tag');
 }