* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace AlpacaBot\Vendor\League\CommonMark\Environment; use AlpacaBot\Vendor\League\CommonMark\Delimiter\Processor\DelimiterProcessorCollection; use AlpacaBot\Vendor\League\CommonMark\Extension\ExtensionInterface; use AlpacaBot\Vendor\League\CommonMark\Node\Node; use AlpacaBot\Vendor\League\CommonMark\Normalizer\TextNormalizerInterface; use AlpacaBot\Vendor\League\CommonMark\Parser\Block\BlockStartParserInterface; use AlpacaBot\Vendor\League\CommonMark\Parser\Inline\InlineParserInterface; use AlpacaBot\Vendor\League\CommonMark\Renderer\NodeRendererInterface; use AlpacaBot\Vendor\League\Config\ConfigurationProviderInterface; use AlpacaBot\Vendor\Psr\EventDispatcher\EventDispatcherInterface; interface EnvironmentInterface extends ConfigurationProviderInterface, EventDispatcherInterface { /** * Get all registered extensions * * @return ExtensionInterface[] */ public function getExtensions(): iterable; /** * @return iterable */ public function getBlockStartParsers(): iterable; /** * @return iterable */ public function getInlineParsers(): iterable; public function getDelimiterProcessors(): DelimiterProcessorCollection; /** * @psalm-param class-string $nodeClass * * @return iterable */ public function getRenderersForClass(string $nodeClass): iterable; public function getSlugNormalizer(): TextNormalizerInterface; }