summaryrefslogtreecommitdiff
path: root/vendor/league/commonmark/src/Extension/TableOfContents/Node/TableOfContentsPlaceholder.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/league/commonmark/src/Extension/TableOfContents/Node/TableOfContentsPlaceholder.php')
-rw-r--r--vendor/league/commonmark/src/Extension/TableOfContents/Node/TableOfContentsPlaceholder.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/vendor/league/commonmark/src/Extension/TableOfContents/Node/TableOfContentsPlaceholder.php b/vendor/league/commonmark/src/Extension/TableOfContents/Node/TableOfContentsPlaceholder.php
new file mode 100644
index 0000000000..7edafe779b
--- /dev/null
+++ b/vendor/league/commonmark/src/Extension/TableOfContents/Node/TableOfContentsPlaceholder.php
@@ -0,0 +1,33 @@
+<?php
+
+/*
+ * This file is part of the league/commonmark package.
+ *
+ * (c) Colin O'Dell <colinodell@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace League\CommonMark\Extension\TableOfContents\Node;
+
+use League\CommonMark\Block\Element\AbstractBlock;
+use League\CommonMark\Cursor;
+
+final class TableOfContentsPlaceholder extends AbstractBlock
+{
+ public function canContain(AbstractBlock $block): bool
+ {
+ return false;
+ }
+
+ public function isCode(): bool
+ {
+ return false;
+ }
+
+ public function matchesNextLine(Cursor $cursor): bool
+ {
+ return false;
+ }
+}