* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* or see http://www.gnu.org/
*
- * @ingroup DifferenceEngine
*/
/**
* Any element in the DOM tree of an HTML document.
+ * @ingroup DifferenceEngine
*/
class Node {
/**
* Node that can contain other nodes. Represents an HTML tag.
+ * @ingroup DifferenceEngine
*/
class TagNode extends Node {
/**
* Represents a piece of text in the HTML file.
+ * @ingroup DifferenceEngine
*/
class TextNode extends Node {
}
}
+/**
+ * @todo Document
+ * @ingroup DifferenceEngine
+ */
class WhiteSpaceNode extends TextNode {
function __construct($parent, $s, Node $like = null) {
/**
* Represents the root of a HTML document.
+ * @ingroup DifferenceEngine
*/
class BodyNode extends TagNode {
/**
* Represents an image in HTML. Even though images do not contain any text they
* are independent visible objects on the page. They are logically a TextNode.
+ * @ingroup DifferenceEngine
*/
class ImageNode extends TextNode {
/**
* No-op node
+ * @ingroup DifferenceEngine
*/
class DummyNode extends Node {