1<?php
2
3/*
4 * This file is part of the league/commonmark package.
5 *
6 * (c) Colin O'Dell <colinodell@gmail.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12namespace League\CommonMark\Extension\TableOfContents\Node;
13
14use League\CommonMark\Block\Element\AbstractBlock;
15use League\CommonMark\Cursor;
16
17final class TableOfContentsPlaceholder extends AbstractBlock
18{
19    public function canContain(AbstractBlock $block): bool
20    {
21        return false;
22    }
23
24    public function isCode(): bool
25    {
26        return false;
27    }
28
29    public function matchesNextLine(Cursor $cursor): bool
30    {
31        return false;
32    }
33}
34