Parsoid
A bidirectional parser between wikitext and HTML5
|
Diff markers for a DOM node. More...
Public Member Functions | |
isEmpty () | |
addDiffMarker (string $mark) | |
Add the given mark to this set. | |
hasDiffMarker (string $mark) | |
Returns true if the given mark is present. | |
hasOnlyDiffMarkers (string ... $marks) | |
Returns true if no marks other than the given ones are present. | |
flatten () | |
No flattened value. | |
toJsonArray () | |
Static Public Member Functions | |
static | defaultValue () |
Provide a constructor for a default value for objects of this type.
| |
static | hint () |
static | newFromJsonArray (array $json) |
Diff markers for a DOM node.
Managed by DOMDataUtils::get/setDataParsoidDiff and DiffUtils::get/setDiffMark.
|
static |
Provide a constructor for a default value for objects of this type.
Implements Wikimedia\Parsoid\Utils\RichCodecable.
Wikimedia\Parsoid\NodeData\DataParsoidDiff::flatten | ( | ) |
No flattened value.
Implements Wikimedia\Parsoid\Utils\RichCodecable.
|
static |
Implements Wikimedia\Parsoid\Utils\RichCodecable.