Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| CompoundTemplateInfo | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | declare( strict_types = 1 ); |
| 3 | |
| 4 | namespace Wikimedia\Parsoid\Wt2Html\DOM\Processors; |
| 5 | |
| 6 | use Wikimedia\Parsoid\Core\DomSourceRange; |
| 7 | use Wikimedia\Parsoid\NodeData\TemplateInfo; |
| 8 | |
| 9 | class CompoundTemplateInfo { |
| 10 | public function __construct( |
| 11 | public DomSourceRange $dsr, |
| 12 | public TemplateInfo $info, |
| 13 | public bool $isParam, |
| 14 | /** |
| 15 | * For a parser function which uses a colon to separate the first |
| 16 | * argument, this argument gives the string value of the colon |
| 17 | * character used (Japanese can use a double-wide colon); otherwise |
| 18 | * this is null. |
| 19 | */ |
| 20 | public ?string $colon, |
| 21 | ) { |
| 22 | } |
| 23 | } |