Parsoid
A bidirectional parser between wikitext and HTML5
Loading...
Searching...
No Matches
Wikimedia\Parsoid\ParserTests\Article Class Reference

Represents a parser test. More...

+ Inheritance diagram for Wikimedia\Parsoid\ParserTests\Article:
+ Collaboration diagram for Wikimedia\Parsoid\ParserTests\Article:

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
 

Detailed Description

Represents a parser test.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Parsoid\ParserTests\Article::__construct ( array $articleProps,
?string $comment = null )
Parameters
array$articlePropskey-value mapping of properties
?string$commentOptional comment describing the article

Reimplemented from Wikimedia\Parsoid\ParserTests\Item.


The documentation for this class was generated from the following file: