Page MenuHomeWickedGov Phorge

NullTreeHandler.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

NullTreeHandler.php

<?php
namespace Wikimedia\RemexHtml\TreeBuilder;
use Wikimedia\RemexHtml\Tokenizer\Attributes;
/**
* A TreeHandler which does nothing
*/
class NullTreeHandler implements TreeHandler {
/**
* @inheritDoc
*/
public function startDocument( $fns, $fn ) {
}
/**
* @inheritDoc
*/
public function endDocument( $pos ) {
}
/**
* @inheritDoc
*/
public function characters(
$parent, $refNode, $text, $start, $length, $sourceStart, $sourceLength
) {
}
/**
* @inheritDoc
*/
public function insertElement( $parent, $refNode, Element $element, $void,
$sourceStart, $sourceLength
) {
}
/**
* @inheritDoc
*/
public function endTag( Element $element, $sourceStart, $sourceLength ) {
}
/**
* @inheritDoc
*/
public function doctype( $name, $public, $system, $quirks, $sourceStart, $sourceLength ) {
}
/**
* @inheritDoc
*/
public function comment( $parent, $refNode, $text, $sourceStart, $sourceLength ) {
}
/**
* @inheritDoc
*/
public function error( $text, $pos ) {
}
/**
* @inheritDoc
*/
public function mergeAttributes( Element $element, Attributes $attrs, $sourceStart ) {
}
/**
* @inheritDoc
*/
public function removeNode( Element $element, $sourceStart ) {
}
/**
* @inheritDoc
*/
public function reparentChildren( Element $element, Element $newParent, $sourceStart ) {
}
}

File Metadata

Mime Type
text/x-php
Expires
Aug 19 2026, 18:46 (6 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
67/e4/f8fa2edec8ebc41717e3e57bcca3
Default Alt Text
NullTreeHandler.php (1 KB)

Event Timeline