Lines Matching refs:label
26 // Looking for and parsing the label, i.e. `[foo]` within `[foo]`
51 private ?string $label = null;
141 $this->label = '';
145 $this->label .= "\n";
160 \assert($this->label !== null);
161 $this->label .= $partialLabel;
164 // label might continue on next line
165 $this->label .= "\n";
176 // end of label
183 // spec: A link label can have at most 999 characters inside the square brackets
184 if (\mb_strlen($this->label, 'UTF-8') > 999) {
188 // spec: A link label must contain at least one non-whitespace character
189 if (\trim($this->label) === '') {
316 $this->references[] = new Reference($this->label, $this->destination, $this->title);
318 $this->label = null;