Class HTMLPurifier_Lexer_DirectLex

extends HTMLPurifier_Lexer

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.

Methods
Methods inherited from HTMLPurifier_Lexer
create(), __construct(), parseText(), parseAttr(), parseData(), escapeCDATA(), escapeCommentedCDATA(), removeIEConditional(), CDATACallback(), normalize(), extractBody()
Properties
Properties inherited from HTMLPurifier_Lexer
$_special_entity2str