| 1 |
<?php |
| 2 |
|
| 3 |
// AUTOMATICALLY GENERATED. DO NOT EDIT. |
| 4 |
// Use `composer build` to regenerate. |
| 5 |
|
| 6 |
namespace Wikimedia\IDLeDOM; |
| 7 |
|
| 8 |
/** |
| 9 |
* NodeIterator |
| 10 |
* |
| 11 |
* @see https://dom.spec.whatwg.org/#interface-nodeiterator |
| 12 |
* |
| 13 |
* @property Node $root |
| 14 |
* @property Node $referenceNode |
| 15 |
* @property bool $pointerBeforeReferenceNode |
| 16 |
* @property int $whatToShow |
| 17 |
* @property NodeFilter|callable|null $filter |
| 18 |
* @phan-forbid-undeclared-magic-properties |
| 19 |
*/ |
| 20 |
interface NodeIterator { |
| 21 |
/** |
| 22 |
* @return Node |
| 23 |
*/ |
| 24 |
public function getRoot(); |
| 25 |
|
| 26 |
/** |
| 27 |
* @return Node |
| 28 |
*/ |
| 29 |
public function getReferenceNode(); |
| 30 |
|
| 31 |
/** |
| 32 |
* @return bool |
| 33 |
*/ |
| 34 |
public function getPointerBeforeReferenceNode(): bool; |
| 35 |
|
| 36 |
/** |
| 37 |
* @return int |
| 38 |
*/ |
| 39 |
public function getWhatToShow(): int; |
| 40 |
|
| 41 |
/** |
| 42 |
* @return NodeFilter|callable|null |
| 43 |
*/ |
| 44 |
public function getFilter(); |
| 45 |
|
| 46 |
/** |
| 47 |
* @return Node|null |
| 48 |
*/ |
| 49 |
public function nextNode(); |
| 50 |
|
| 51 |
/** |
| 52 |
* @return Node|null |
| 53 |
*/ |
| 54 |
public function previousNode(); |
| 55 |
|
| 56 |
/** |
| 57 |
* @return void |
| 58 |
*/ |
| 59 |
public function detach(): void; |
| 60 |
|
| 61 |
} |