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\Inline\Parser;
13
14use League\CommonMark\InlineParserContext;
15
16interface InlineParserInterface
17{
18    /**
19     * @return string[]
20     */
21    public function getCharacters(): array;
22
23    /**
24     * @param InlineParserContext $inlineContext
25     *
26     * @return bool
27     */
28    public function parse(InlineParserContext $inlineContext): bool;
29}
30