Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
StartTagToken
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace Phpdftk\Html\Tokenizer;
6
7final class StartTagToken extends Token
8{
9    public string $tagName = '';
10    public bool $selfClosing = false;
11
12    /** @var list<array{name: string, value: string}> */
13    public array $attributes = [];
14
15    /**
16     * The attribute currently being built. Pointer into $attributes, or null
17     * if no attribute is currently being accumulated. Set by the tokenizer's
18     * "before attribute name" state when it allocates a new entry.
19     */
20    public ?int $currentAttribute = null;
21}