Our in-house implementation of a parser.
A pure PHP parser, DirectLex has absolutely no dependencies, making it a reasonably good default for PHP4. Written with efficiency in mind, it can be four times faster than HTMLPurifier_Lexer_PEARSax3, although it pales in comparison to HTMLPurifier_Lexer_DOMLex.
Located in /lib/core/Parsers/htmlpurifier/HTMLPurifier.standalone.php (line 13764)
HTMLPurifier_Lexer | --HTMLPurifier_Lexer_DirectLex
Whitespace characters for str(c)spn.
Inherited from HTMLPurifier_Lexer
HTMLPurifier_Lexer::$_special_entity2str
Takes the inside of an HTML tag and makes an assoc array of attributes.
Callback function for script CDATA fudge
PHP 5.0.x compatible substr_count that implements offset and length
Inherited From HTMLPurifier_Lexer
HTMLPurifier_Lexer::__construct()
HTMLPurifier_Lexer::CDATACallback()
HTMLPurifier_Lexer::create()
HTMLPurifier_Lexer::escapeCDATA()
HTMLPurifier_Lexer::escapeCommentedCDATA()
HTMLPurifier_Lexer::extractBody()
HTMLPurifier_Lexer::normalize()
HTMLPurifier_Lexer::parseData()
HTMLPurifier_Lexer::removeIEConditional()
HTMLPurifier_Lexer::tokenizeHTML()
Documentation generated on Sun, 06 Mar 2011 00:24:10 -0500 by phpDocumentor 1.4.3