mirror of
https://github.com/holo-gfx/mangadex.git
synced 2024-11-25 03:18:22 -05:00
21 lines
371 B
PHP
21 lines
371 B
PHP
<?php
|
|
|
|
namespace JBBCode;
|
|
|
|
/**
|
|
* Defines an interface for a visitor to traverse the node graph.
|
|
*
|
|
* @author jbowens
|
|
* @since January 2013
|
|
*/
|
|
interface NodeVisitor
|
|
{
|
|
|
|
public function visitDocumentElement(DocumentElement $documentElement);
|
|
|
|
public function visitTextNode(TextNode $textNode);
|
|
|
|
public function visitElementNode(ElementNode $elementNode);
|
|
|
|
}
|