4 * Abstract base node class that all others inherit from.
6 * Why do we not use the DOM extension? (1) It is not always available,
7 * (2) it has funny constraints on the data it can represent,
8 * whereas we want a maximally flexible representation, and (3) its
9 * interface is a bit cumbersome.
11 abstract class HTMLPurifier_Node
14 * Line number of the start token in the source document
20 * Column number of the start token in the source document. Null if unknown.
26 * Lookup array of processing that this token is exempt from.
27 * Currently, valid values are "ValidateAttributes".
30 public $armor = array();
33 * When true, this node should be ignored as non-existent.
35 * Who is responsible for ignoring dead nodes? FixNesting is
36 * responsible for removing them before passing on to child
42 * Returns a pair of start and end tokens, where the end token
43 * is null if it is not necessary. Does not include children.
46 abstract public function toTokenPair();