Home
last modified time | relevance | path

Searched refs:referenceMap (Results 1 – 5 of 5) sorted by relevance

/plugin/commonmark/vendor/league/commonmark/src/Block/Element/
H A DDocument.php27 protected $referenceMap; variable in League\\CommonMark\\Block\\Element\\Document
29 public function __construct(?ReferenceMapInterface $referenceMap = null) argument
33 $this->referenceMap = $referenceMap ?? new ReferenceMap();
41 return $this->referenceMap;
/plugin/commonmark/vendor/league/commonmark/src/
H A DInlineParserContext.php27 private $referenceMap; variable in League\\CommonMark\\InlineParserContext
33 … function __construct(AbstractStringContainerBlock $container, ReferenceMapInterface $referenceMap) argument
35 $this->referenceMap = $referenceMap;
48 return $this->referenceMap;
H A DInlineParserEngine.php41 * @param ReferenceMapInterface $referenceMap
45 …public function parse(AbstractStringContainerBlock $container, ReferenceMapInterface $referenceMap) argument
47 $inlineParserContext = new InlineParserContext($container, $referenceMap);
/plugin/commonmark/vendor/league/commonmark/src/Reference/
H A DReferenceParser.php25 private $referenceMap; variable in League\\CommonMark\\Reference\\ReferenceParser
27 public function __construct(ReferenceMapInterface $referenceMap) argument
29 $this->referenceMap = $referenceMap;
116 if (!$this->referenceMap->contains($label)) {
118 $this->referenceMap->addReference($reference);
/plugin/commonmark/vendor/league/commonmark/src/Inline/Parser/
H A DCloseBracketParser.php116 * @param ReferenceMapInterface $referenceMap
122 …private function tryParseLink(Cursor $cursor, ReferenceMapInterface $referenceMap, DelimiterInterf… argument
130 if ($link = $this->tryParseReference($cursor, $referenceMap, $opener, $startPos)) {
179 …private function tryParseReference(Cursor $cursor, ReferenceMapInterface $referenceMap, DelimiterI… argument
203 return $referenceMap->getReference($referenceLabel);