Debian Codegraph @

vendor/wikimedia/remex-html/src/Tokenizer/NullTokenHandler.php

raw
1 <?php
2
3 namespace Wikimedia\RemexHtml\Tokenizer;
4
5 /**
6 * A TokenHandler which does nothing
7 */
8 class NullTokenHandler implements TokenHandler {
9 /**
10 * @inheritDoc
11 */
12 public function startDocument( Tokenizer $t, $fns, $fn ) {
13 }
14
15 /**
16 * @inheritDoc
17 */
18 public function endDocument( $pos ) {
19 }
20
21 /**
22 * @inheritDoc
23 */
24 public function error( $text, $pos ) {
25 }
26
27 /**
28 * @inheritDoc
29 */
30 public function characters( $text, $start, $length, $sourceStart, $sourceLength ) {
31 }
32
33 /**
34 * @inheritDoc
35 */
36 public function startTag( $name, Attributes $attrs, $selfClose,
37 $sourceStart, $sourceLength
38 ) {
39 }
40
41 /**
42 * @inheritDoc
43 */
44 public function endTag( $name, $sourceStart, $sourceLength ) {
45 }
46
47 /**
48 * @inheritDoc
49 */
50 public function doctype( $name, $public, $system, $quirks, $sourceStart, $sourceLength ) {
51 }
52
53 /**
54 * @inheritDoc
55 */
56 public function comment( $text, $sourceStart, $sourceLength ) {
57 }
58 }