<?php
declare(strict_types=1);
namespace League\CommonMark\Reference;
use League\CommonMark\Parser\Cursor;
use League\CommonMark\Util\LinkParserHelper;
final class ReferenceParser
{
private const START_DEFINITION = 0;
private const LABEL = 1;
private const DESTINATION = 2;
private const START_TITLE = 3;
private const TITLE = 4;
private const PARAGRAPH = 5;
private string $paragraph = '';
private array $references = [];