Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
CompoundTemplateInfo
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2declare( strict_types = 1 );
3
4namespace Wikimedia\Parsoid\Wt2Html\DOM\Processors;
5
6use Wikimedia\Parsoid\Core\DomSourceRange;
7use Wikimedia\Parsoid\NodeData\TemplateInfo;
8
9class 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}