Parsoid
A bidirectional parser between wikitext and HTML5
|
Represents a parser test. More...
Public Member Functions | |
__construct (array $articleProps, ?string $comment=null) | |
Public Member Functions inherited from Wikimedia\Parsoid\ParserTests\Item | |
errorMsg (string $desc, ?string $text=null) | |
Return a friendly error message related to this item. | |
error (string $desc, ?string $text=null) | |
Throw an error related to this item. | |
Public Attributes | |
$title | |
$text | |
Public Attributes inherited from Wikimedia\Parsoid\ParserTests\Item | |
$type | |
$filename | |
$lineNumStart | |
$lineNumEnd | |
$comment | |
Represents a parser test.
Wikimedia\Parsoid\ParserTests\Article::__construct | ( | array | $articleProps, |
?string | $comment = null ) |
array | $articleProps | key-value mapping of properties |
?string | $comment | Optional comment describing the article |
Reimplemented from Wikimedia\Parsoid\ParserTests\Item.