/plugin/commonmark/vendor/league/commonmark/src/Inline/Parser/ |
H A D | OpenBracketParser.php | 28 public function parse(InlineParserContext $inlineContext): bool argument 30 $inlineContext->getCursor()->advanceBy(1); 32 $inlineContext->getContainer()->appendChild($node); 35 …$delimiter = new Delimiter('[', 1, $node, true, false, $inlineContext->getCursor()->getPosition()); 36 $inlineContext->getDelimiterStack()->push($delimiter);
|
H A D | NewlineParser.php | 28 public function parse(InlineParserContext $inlineContext): bool argument 30 $inlineContext->getCursor()->advanceBy(1); 34 $lastInline = $inlineContext->getContainer()->lastChild(); 44 $inlineContext->getContainer()->appendChild(new Newline(Newline::HARDBREAK)); 46 $inlineContext->getContainer()->appendChild(new Newline(Newline::SOFTBREAK));
|
H A D | EscapableParser.php | 29 public function parse(InlineParserContext $inlineContext): bool argument 31 $cursor = $inlineContext->getCursor(); 36 $inlineContext->getContainer()->appendChild(new Newline(Newline::HARDBREAK)); 41 $inlineContext->getContainer()->appendChild(new Text($nextChar)); 47 $inlineContext->getContainer()->appendChild(new Text('\\'));
|
H A D | BangParser.php | 28 public function parse(InlineParserContext $inlineContext): bool argument 30 $cursor = $inlineContext->getCursor(); 34 $inlineContext->getContainer()->appendChild($node); 38 $inlineContext->getDelimiterStack()->push($delimiter);
|
H A D | AutolinkParser.php | 31 public function parse(InlineParserContext $inlineContext): bool argument 33 $cursor = $inlineContext->getCursor(); 36 …$inlineContext->getContainer()->appendChild(new Link('mailto:' . UrlEncoder::unescapeAndEncode($em… 41 …$inlineContext->getContainer()->appendChild(new Link(UrlEncoder::unescapeAndEncode($dest), $dest));
|
H A D | BacktickParser.php | 28 public function parse(InlineParserContext $inlineContext): bool argument 30 $cursor = $inlineContext->getCursor(); 52 $inlineContext->getContainer()->appendChild(new Code($c)); 60 $inlineContext->getContainer()->appendChild(new Text($ticks));
|
H A D | CloseBracketParser.php | 45 public function parse(InlineParserContext $inlineContext): bool argument 48 $opener = $inlineContext->getDelimiterStack()->searchByCharacter(['[', '!']); 55 $inlineContext->getDelimiterStack()->removeDelimiter($opener); 60 $cursor = $inlineContext->getCursor(); 68 …if (!($link = $this->tryParseLink($cursor, $inlineContext->getReferenceMap(), $opener, $startPos))… 70 … $inlineContext->getDelimiterStack()->removeDelimiter($opener); // Remove this opener from stack 92 $delimiterStack = $inlineContext->getDelimiterStack(); 103 $inlineContext->getDelimiterStack()->removeEarlierMatches('[');
|
H A D | HtmlInlineParser.php | 28 public function parse(InlineParserContext $inlineContext): bool argument 30 if ($m = $inlineContext->getCursor()->match('/^' . RegexHelper::PARTIAL_HTMLTAG . '/i')) { 31 $inlineContext->getContainer()->appendChild(new HtmlInline($m));
|
H A D | EntityParser.php | 29 public function parse(InlineParserContext $inlineContext): bool argument 31 if ($m = $inlineContext->getCursor()->match('/^' . RegexHelper::PARTIAL_ENTITY . '/i')) { 32 $inlineContext->getContainer()->appendChild(new Text(Html5EntityDecoder::decode($m)));
|
H A D | InlineParserInterface.php | 24 * @param InlineParserContext $inlineContext 28 public function parse(InlineParserContext $inlineContext): bool; argument
|
/plugin/commonmark/vendor/league/commonmark/src/Extension/Attributes/Parser/ |
H A D | AttributesInlineParser.php | 33 public function parse(InlineParserContext $inlineContext): bool argument 35 $cursor = $inlineContext->getCursor(); 44 …if ($char === ' ' && ($previousInline = $inlineContext->getContainer()->lastChild()) instanceof Te… 53 $inlineContext->getContainer()->appendChild($node);
|
/plugin/commonmark/vendor/league/commonmark/src/Extension/SmartPunct/ |
H A D | PunctuationParser.php | 31 public function parse(InlineParserContext $inlineContext): bool argument 33 $cursor = $inlineContext->getCursor(); 38 $inlineContext->getContainer()->appendChild(new Text('…')); 61 $inlineContext->getContainer()->appendChild(new Text(
|
H A D | QuoteParser.php | 38 public function parse(InlineParserContext $inlineContext): bool argument 40 $cursor = $inlineContext->getCursor(); 60 $inlineContext->getContainer()->appendChild($node); 63 …$inlineContext->getDelimiterStack()->push(new Delimiter($normalizedCharacter, 1, $node, $canOpen, …
|
/plugin/commonmark/vendor/league/commonmark/src/Extension/TaskList/ |
H A D | TaskListItemMarkerParser.php | 26 public function parse(InlineParserContext $inlineContext): bool argument 28 $container = $inlineContext->getContainer(); 35 $cursor = $inlineContext->getCursor();
|
/plugin/commonmark/vendor/league/commonmark/src/Extension/Autolink/ |
H A D | InlineMentionParser.php | 47 public function parse(InlineParserContext $inlineContext): bool argument 49 $cursor = $inlineContext->getCursor(); 75 $inlineContext->getContainer()->appendChild(new Link($url, '@' . $handle));
|
/plugin/commonmark/vendor/league/commonmark/src/Extension/Footnote/Parser/ |
H A D | FootnoteRefParser.php | 34 public function parse(InlineParserContext $inlineContext): bool argument 36 $container = $inlineContext->getContainer(); 37 $cursor = $inlineContext->getCursor();
|
H A D | AnonymousFootnoteRefParser.php | 44 public function parse(InlineParserContext $inlineContext): bool argument 46 $container = $inlineContext->getContainer(); 47 $cursor = $inlineContext->getCursor();
|
/plugin/commonmark/vendor/league/commonmark/src/Extension/Mention/ |
H A D | MentionParser.php | 43 public function parse(InlineParserContext $inlineContext): bool argument 45 $cursor = $inlineContext->getCursor(); 77 $inlineContext->getContainer()->appendChild($mention);
|
/plugin/commonmark/vendor/league/commonmark/src/ |
H A D | InlineParserEngine.php | 81 …limiters(DelimiterProcessorInterface $delimiterProcessor, InlineParserContext $inlineContext): bool argument 83 $cursor = $inlineContext->getCursor(); 112 $inlineContext->getContainer()->appendChild($node); 117 $inlineContext->getDelimiterStack()->push($delimiter);
|
/plugin/commonmark/vendor/league/commonmark/ |
H A D | CHANGELOG-0.x.md | 552 …- Add parsed inlines using `$inlineContext->getContainer()->appendChild()` instead of `$inlineCont…
|